diff --git a/author/topics/blocks/requirements-modspec.adoc b/author/topics/blocks/requirements-modspec.adoc index 4fcfc273..4da4c7cd 100644 --- a/author/topics/blocks/requirements-modspec.adoc +++ b/author/topics/blocks/requirements-modspec.adoc @@ -344,6 +344,45 @@ requirement class that is being tested. // * `model` (optional when using Metanorma OGC). Type of model. The value of `ogc` // means using OGC ModSpec models. +`class`:: +Declares a custom category of provisions labelled and numbered separately to +"requirements", "recommendations" and +"permissions" [added in https://github.com/metanorma/mn-requirements/releases/tag/v0.4.1]. ++ +.Rendering of a custom category called "Provision" +[example] +==== +[source,adoc] +---- +[requirement] +-- +[%metadata] +class:: Provision +-- + +[requirement] +-- +-- + +[requirement] +-- +[%metadata] +class:: Provision +-- +---- + +Rendered as: + +____ +*Provision 1* + +*Requirement 1* + +*Provision 2* +____ +==== + + `id`:: + -- diff --git a/author/topics/blocks/requirements-mrr.adoc b/author/topics/blocks/requirements-mrr.adoc index c0444596..ce93074b 100644 --- a/author/topics/blocks/requirements-mrr.adoc +++ b/author/topics/blocks/requirements-mrr.adoc @@ -164,6 +164,44 @@ inherit:[<>] ---- ==== +`class`:: +Declares a custom category of provisions labelled and numbered separately to +"requirements", "recommendations" and +"permissions" [added in https://github.com/metanorma/mn-requirements/releases/tag/v0.4.1]. ++ +.Rendering of a custom category called "Provision" +[example] +==== +[source,adoc] +---- +[requirement] +-- +[%metadata] +class:: Provision +-- + +[requirement] +-- +-- + +[requirement] +-- +[%metadata] +class:: Provision +-- +---- + +Rendered as: + +____ +*Provision 1* + +*Requirement 1* + +*Provision 2* +____ +==== + Any attributes that are not included in the list of requirement attributes above are treated as "classification tags". [added in https://github.com/metanorma/metanorma-standoc/releases/tag/v2.2.0] diff --git a/develop/topics/simple-adoption.adoc b/develop/topics/simple-adoption.adoc index 0358de03..1e73dde3 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 @@ -230,7 +234,9 @@ 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. +`default_doctype`:: default doctype [added in https://github.com/metanorma/metanorma-generic/releases/tag/v1.4.8]. If not supplied, the first element of ``doctype``s 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].