To check out Metanorma capabilities for UN, take a look at a sample Metanorma project written in Metanorma for UN.
You can use the sample as a starting point for authoring your own UN documents with Metanorma. Refer to the repository for an overview of how the source is structured.
Building the sample
Clone the repository:
git clone https://github.com/metanorma/mn-samples-un/
Build the documents via the provided Makefile from within repository root:
cd mn-samples-un make clean all
If you are using Docker-based distribution of Metanorma,
The following outputs will be built:
UN Metanorma XML (UnDocument model spec) (
Word DOC (
[filename].pdf) [added in https://github.com/metanorma/metanorma-un/releases/tag/v0.3.0]
If you’re using macOS, the following sequence will rebuild the documents and open the HTML deliverable showing your changes:
This is handy if you’re using the sample as a starting point to write your own document.