Skip to content

metanorma/metanorma-standoc

Metanorma-standoc

Gem Version Build Status Code Climate Pull Requests Commits since latest

Gem for serialising the Metanorma Standoc model.

Functionality

This gem processes Metanorma AsciiDoc input into the Metanorma document model. This gem provides underlying generic functionality; behaviour specific to each standards class is refined in the gem specific to that standards class (e.g. Metanorma ISO).

The following outputs are generated:

  • Metanorma semantic XML

  • Metanorma presentation XML

These Metanorma XML representations are processed downstream by the isodoc gem to generate other end deliverables, depending on each standards class.

The following input formats are supported:

  • Metanorma AsciiDoc

See the Metanorma website for more information.

Note
AsciiMathML is used for mathematical formatting. The gem uses the Ruby AsciiMath parser, which is syntactically stricter than the common MathJax processor; if you do not get expected results, try bracketting terms your in AsciiMathML expressions.

Installation

See the Metanorma website for instructions.

In the terminal:

$ gem install metanorma-standoc
$ gem install metanorma-cli

metanorma-cli is the command-line interface for the Metanorma suite (incorporating the metanorma executable seen above).

Documentation

See the Metanorma website for details.