metanorma / metanorma-jis

Metanorma for JIS
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

= metanorma-JIS: Metanorma processor for Japanese Industrial Standards

image:https://img.shields.io/gem/v/metanorma-jis.svg["Gem Version", link="https://rubygems.org/gems/metanorma-jis"] image:https://github.com/metanorma/metanorma-jis/workflows/rake/badge.svg["Build Status", link="https://github.com/metanorma/metanorma-jis/actions?workflow=rake"] image:https://codeclimate.com/github/metanorma/metanorma-jis/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-jis"] image:https://img.shields.io/github/issues-pr-raw/metanorma/metanorma-jis.svg["Pull Requests", link="https://github.com/metanorma/metanorma-jis/pulls"] image:https://img.shields.io/github/commits-since/metanorma/metanorma-jis/latest.svg["Commits since latest",link="https://github.com/metanorma/metanorma-jis/releases"]

== Functionality

This gem processes https://www.metanorma.com[Metanorma documents] following the Metanorma model for generating JIS standards.

The gem is basically the https://github.com/metanorma/metanorma-iso gem, with some tweaking of rendering to meet the particular requirements of the JIS.

It provides the following functions:

. Compiles Metanorma input into the Metanorma-JIS XML format (which is identical to Metanorma-ISO, since the two standards share the same document model) . Validates XML output against the Metanorma-JIS 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-JIS XML is then converted into desired output formats.

The following outputs are supported:

== Structure

This gem inherits from the https://github.com/metanorma/metanorma-iso gem, and aligns closely to it.

=== Quickstart

Please see https://www.metanorma.com 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:

[source,console]

$ metanorma --type jis a.adoc # output HTML $ metanorma --type jis --extensions html a.adoc # output just HTML $ metanorma --type jis --extensions xml a.adoc # output Metanorma XML

== Authoring

Please refer to the Metanorma-ISO documentation for general documentation.

== Documentation

See https://www.metanorma.com/author/iso/[Write ISO documents with Metanorma]

== Examples