Metanorma OGC samples
To check out Metanorma capabilities for OGC, take a look at the OGC sample documents in Metanorma sample Metanorma project written in Metanorma for OGC.
Obtain sample source for the document(s) here, and see the rendered form here.
You can use the sample as a starting point for authoring your own OGC documents with Metanorma. Refer to the repository for an overview of how the source is structured.
Building the sample
Cloning the sample repository
Clone the sample repository for Metanorma OGC and change into the directory:
git clone https://github.com/metanorma/ogc-wfs
cd /sources/core/standard/
Running Metanorma
If you have Metanorma installed on your machine (via one of the package manager), the command is simpler:
metanorma --type ogc --extensions pdf,html 17-069.adoc
If you’re using the Metanorma Docker container, run Metanorma like this:
docker run \
-v "$(pwd)":/metanorma/ \
-w /metanorma metanorma/metanorma \
metanorma --type ogc --extensions pdf,html 17-069.adoc
Note
|
See the Metanorma Installation page for the various ways Metanorma can be set up. |