metanorma / mn-samples-iso

The ISO Rice model in IsoDoc (in the format of Metanorma-ISO)
https://www.metanorma.com
2 stars 1 forks source link

= ISO Rice document in Metanorma (Metanorma-ISO)

image:https://github.com/metanorma/mn-samples-iso/workflows/generate/badge.svg["Build Status", link="https://github.com/metanorma/mn-samples-iso/actions?query=workflow%3Agenerate"] image:https://github.com/metanorma/mn-samples-iso/workflows/docker/badge.svg["Docker Build Status", link="https://github.com/metanorma/mn-samples-iso/actions?query=workflow%3Adocker"]

This document is available in its rendered forms here:

== Introduction

This repository provides a readily usable https://github.com/metanorma/metanorma-iso[Metanorma-ISO] source document based on the https://www.iso.org/publication/PUB100407.html["`Rice document`"], the ISO's model document of an international standard.

Refer to the https://www.metanorma.com/overview/getting-started/[Metanorma quickstart] for a primer on creating Metanorma-ISO documents.

== Fetching the document

[source,sh]

git clone https://github.com/metanorma/mn-samples-iso/

== Installing Build Tools

See https://www.metanorma.com/overview/getting-started/

== Running via Docker or locally

If you have installed the build tools locally, and wish to run the locally-installed compilation tools, there is nothing further to set.

If you don't want to deal with local dependencies, use the docker:

[source,sh]

docker run -v "$(pwd)":/metanorma -w /metanorma -it metanorma/mn metanorma site generate

== Building The Document

[source,sh]

metanorma site generate

== Source files provided in this repo

== Description of generated artifacts

== Managing an IsoDoc

=== General

The Rice document is given here both as a single source document and broken up into separate files, to illustrate both ways of managing Metanorma content.

=== Single file

There are two document examples provided here:

For each language:

=== Multiple files

The document iso-rice-en-sections.adoc includes the document header and the following files.

The section files are listed in order of appearance in the document, and each corresponds to a first-level clause of the Rice document: