From 2b1bc0ef2e71d3eef5966c21f259c8da6b34cd8b Mon Sep 17 00:00:00 2001 From: Nick Nicholas Date: Fri, 23 Aug 2024 12:16:05 +1000 Subject: [PATCH] formats in metanorma-generic: https://github.com/metanorma/metanorma-generic/issues/77 --- develop/topics/simple-adoption.adoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/develop/topics/simple-adoption.adoc b/develop/topics/simple-adoption.adoc index cfe7912b..4bc87abc 100644 --- a/develop/topics/simple-adoption.adoc +++ b/develop/topics/simple-adoption.adoc @@ -56,6 +56,10 @@ xml_root_tag: 'generic-standard' logo_path: lib/isodoc/generic/html/logo.jpg logo_paths: [] validate_rng_file: lib/metanorma/generic/generic.rng +formats: + - html + - doc + - pdf htmlcoverpage: lib/isodoc/generic/html/html_generic_titlepage.html htmlintropage: lib/isodoc/generic/html/html_generic_intro.html htmlstylesheet: lib/isodoc/generic/html/htmlstyle.css @@ -215,6 +219,8 @@ doctypes: `default_doctype`:: default doctype [added in https://github.com/metanorma/metanorma-generic/releases/tag/v1.4.8]. if not supplied, the first element of doctypes is used; if that is not supplied either, "standard" is used. +`formats`:: output formats supported [added in https://github.com/metanorma/metanorma-generic/releases/tag/v2.7.1], specified as an array. If not supplied, the default is `["html", "doc"]`. Every format specified needs to be supported with stylesheets and font settings appropriate for the format, as specified below. + `html_bodyfont`:: The default font to use in HTML output for body text [added in https://github.com/metanorma/metanorma-generic/releases/tag/v1.4.4]. `html_headerfont`:: The default font to use in HTML output for headers [added in https://github.com/metanorma/metanorma-generic/releases/tag/v1.4.4].