Skip to content

Commit

Permalink
include fonts manifest in config: metanorma/metanorma-generic#77
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Aug 11, 2024
1 parent baaa269 commit 277a523
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 19 deletions.
19 changes: 0 additions & 19 deletions lib/metanorma/bipm/processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,6 @@ def output_formats
).tap { |hs| hs.delete(:doc) }
end

def fonts_manifest
{
"Arial" => nil,
"Times New Roman" => nil,
"Work Sans" => nil,
"Work Sans Black" => nil,
"Work Sans ExtraBold" => nil,
"Work Sans ExtraLight" => nil,
"Work Sans Light" => nil,
"Work Sans Medium" => nil,
"Work Sans SemiBold" => nil,
"Work Sans Thin" => nil,
"STIX Two Math" => nil,
"Source Han Sans" => nil,
"Source Han Sans Normal" => nil,
"TeXGyreChorus" => nil,
}
end

def version
"Metanorma::BIPM #{Metanorma::BIPM::VERSION}"
end
Expand Down
15 changes: 15 additions & 0 deletions metanorma.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,18 @@ metadata_extensions:
relations:
- supersedes
- superseded-by
fonts_manifest:
Arial:
Times New Roman:
Work Sans:
Work Sans Black:
Work Sans ExtraBold:
Work Sans ExtraLight:
Work Sans Light:
Work Sans Medium:
Work Sans SemiBold:
Work Sans Thin:
STIX Two Math:
Source Han Sans:
Source Han Sans Normal:
TeXGyreChorus:

0 comments on commit 277a523

Please sign in to comment.