From b9a2ddf9b2f5257e00c079f0c53c768dd5da2ca5 Mon Sep 17 00:00:00 2001 From: Nick Nicholas Date: Sun, 11 Aug 2024 18:58:51 +1000 Subject: [PATCH] include fonts manifest in config: https://github.com/metanorma/metanorma-generic/issues/77 --- lib/metanorma/ribose/processor.rb | 9 --------- metanorma.yml | 5 +++++ 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/lib/metanorma/ribose/processor.rb b/lib/metanorma/ribose/processor.rb index 498eac7..202f4ed 100644 --- a/lib/metanorma/ribose/processor.rb +++ b/lib/metanorma/ribose/processor.rb @@ -15,15 +15,6 @@ def output_formats ) end - def fonts_manifest - { - "Source Sans Pro" => nil, - "STIX Two Math" => nil, - "Source Serif Pro" => nil, - "Source Code Pro" => nil, - } - end - def version "Metanorma::Ribose #{Metanorma::Ribose::VERSION}" end diff --git a/metanorma.yml b/metanorma.yml index cbc89a5..45b29f3 100644 --- a/metanorma.yml +++ b/metanorma.yml @@ -49,3 +49,8 @@ metadata_extensions: webfont: - "https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,600,600i&display=swap" - "https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,300;0,600;1,300;1,600&display=swap" +fonts_manifest: + Source Sans Pro: + STIX Two Math: + Source Serif Pro: + Source Code Pro: