Functionality
This gem processes Metanorma documents following the Metanorma model for generating MLIT Project PLATEAU documents.
Project PLATEAU documents are found at:
The gem is built on top of metanorma-jis with customized rendering to meet requirements of MLIT’s Project PLATEAU.
It provides the following functions:
-
Compiles Metanorma input into the Metanorma-PLATEAU XML format
-
Validates XML output against the Metanorma-Plateau document model
-
Errors are reported to console against the XML, and are intended for users to check that they have provided all necessary components of the document.
-
-
Metanorma-Plateau XML is then converted into desired output formats.
The following outputs are supported:
-
Primary: the canonical Metanorma-PLATEAU XML representation (
.xml
). -
Secondary: the Metanorma-PLATEAU XML representation is processed to generate the following outputs as end deliverable PLATEAU documents.
-
HTML (
.html
) -
PDF (
.pdf
)
-
Structure
This gem inherits from the metanorma-jis gem, and aligns closely to it.
Quickstart
Please see https://www.metanorma.org for instructions to get started.
You will need to setup your Git credentials for bundler or for HTTPS in order to fetch the software. Please refer to the following articles for details:
Usage
Using the metanorma
CLI:
$ metanorma --type plateau a.adoc # output HTML
$ metanorma --type plateau --extensions html a.adoc # output just HTML
$ metanorma --type plateau --extensions xml a.adoc # output Metanorma XML
Authoring
Please refer to Metanorma for ISO documentation for general information.
Documentation
Examples
-
Example documents: mn-samples-plateau.
-
Document templates: mn-templates-plateau.