-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JIS flavour: metanorma/metanorma-jis#124; debugging of other files
- Loading branch information
Showing
14 changed files
with
266 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
--- | ||
layout: flavor | ||
|
||
docs_title: Metanorma for JIS | ||
title: Author JIS documents using Metanorma | ||
|
||
ieee_flavor: | ||
implemented_by: metanorma-jis | ||
data_models: metanorma-model-jis | ||
title: JIS | ||
title_org: JIS | ||
title_org_full: Japanese Industrial Standards | ||
markup_name: Metanorma for JIS | ||
experimental: yes | ||
build: | ||
cli_flags: "--type jis -x html" | ||
sample: | ||
repo_url: https://github.com/metanorma/mn-samples-jis | ||
rendered_url: https://metanorma.github.io/mn-samples-jis/ | ||
docs_entry_points: | ||
- path: ./topics/markup/ | ||
title: General guide | ||
|
||
base_url: /author/jis | ||
|
||
navigation: | ||
items: | ||
- title: Get started | ||
path: / | ||
- title: Authoring guide | ||
path: /authoring-guide/ | ||
items: | ||
- title: Terms used in this guide | ||
path: /authoring-guide/terms/ | ||
- title: Development process | ||
path: /authoring-guide/process/ | ||
- title: Metanorma AsciiDoc | ||
path: /authoring-guide/metanorma-adoc/ | ||
- title: New document | ||
path: /authoring-guide/new-doc-template/ | ||
- title: Setting metadata | ||
path: /authoring-guide/metadata/ | ||
- title: Sections | ||
path: /authoring-guide/sections/ | ||
- title: Block syntax | ||
path: /authoring-guide/block-syntax/ | ||
- title: Text formatting | ||
path: /authoring-guide/text-formatting/ | ||
- title: Cross references | ||
path: /authoring-guide/cross-references/ | ||
- title: Terms and definitions | ||
path: /authoring-guide/terms-definitions/ | ||
- title: Bibliographic references | ||
path: /authoring-guide/bibliographic-references/ | ||
- title: Samples | ||
path: /sample/ | ||
- title: Usage | ||
path: /topics/ | ||
items: | ||
- title: Markup | ||
path: /topics/markup/ | ||
- title: Output formats | ||
path: /topics/formats/ | ||
- title: Reference guides | ||
path: /ref/ | ||
items: | ||
- title: Document attributes | ||
path: /ref/document-attributes/ | ||
--- | ||
|
||
{{ content }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
layout: jis-flavor | ||
title: Write JIS documents with Metanorma | ||
--- | ||
:page-liquid: | ||
|
||
{% include flavor-quickstart-steps.adoc flavor=layout.jis_flavor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
layout: jis-flavor | ||
title: Metanorma-JIS reference guides | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
--- | ||
layout: jis-flavor | ||
--- | ||
|
||
= Metanorma JIS document attributes | ||
|
||
[[note_general_doc_ref_doc_attrib_jis]] | ||
[NOTE] | ||
==== | ||
Document attributes listed below are unique to the processing of JIS documents in Metanorma. | ||
For _common document attributes_, see link:/author/ref/document-attributes/[Document attributes reference] in general Metanorma author's documentation. That page describes attributes that apply to all Metanorma flavors, not just JIS. | ||
For an _introduction to Metanorma AsciiDoc document attributes_ and how Metanorma uses them, see link:/author/topics/document-format/meta-attributes/[the corresponding topic]. | ||
==== | ||
|
||
== Document information | ||
|
||
`:doctype`:: | ||
Document type. The default is `japanese-industrial-standard`. Supported: | ||
+ | ||
-- | ||
* `japanese-industrial-standard` | ||
* `technical-report` | ||
* `technical-specification` | ||
* `amendment` | ||
* `expert-commentary`. Personal authors are supported for this document type. | ||
-- | ||
|
||
`:title-main-ja:`, `:title-main-en:`:: | ||
Main title of the document, in Japanese or English | ||
|
||
`:title-intro-ja:`, `:title-intro-en:`:: | ||
Introduction to title of the document, in Japanese or English | ||
|
||
`:title-part-ja:`, `:title-part-en:`:: | ||
Part title of the document, in Japanese or English | ||
|
||
`:title-amendment-ja:`, `:title-amendment-en:`:: | ||
Amendment title of the document, in Japanese or English | ||
|
||
`:docnumber:`:: | ||
The number for the document. | ||
|
||
`:partnumber:`:: | ||
The part number for the document. | ||
|
||
`:docseries:`:: | ||
The series for the document. | ||
|
||
`:amendment-number:`:: | ||
The amendment number for the document. | ||
|
||
`:updates:`:: | ||
Identifier of document that this document is an update of. | ||
|
||
`:language:` :: The language of the document (support `en`, `ja`) (default: `ja`) | ||
|
||
`:copyright-year:`:: The year associated with the copyright for the document. | ||
|
||
== Contributor Information | ||
|
||
All the following attributes can be specified multilingually, by adding `-ja` or `-en` after each attribute name | ||
(e.g. `:fullname-en:`, `:investigative-organization-ja_2`) | ||
|
||
`:fullname_{i}:`:: | ||
Name of personal author for this document (for expert commentary) | ||
|
||
`:givenname_{i}:`:: | ||
Given Name of personal author for this document (for expert commentary) | ||
|
||
`:surname_{i}:`:: | ||
Surname of personal author for this document (for expert commentary) | ||
|
||
`:affiliation_{i}:`:: | ||
Name of organization or company for personal author for this document (for expert commentary) | ||
|
||
`:address_{i}:`:: | ||
Address of personal author for this document (for expert commentary) | ||
|
||
`:email_{i}:`:: | ||
Email of personal author for this document (for expert commentary) | ||
|
||
`:role_{i}:`:: | ||
Role of personal author for this document (for expert commentary) (default: `author`) | ||
|
||
`:publisher_{i}:`:: | ||
Publisher for this document (default: `JIS`) | ||
|
||
`:copyright-holder_{i}:`:: | ||
Copyright holder for this document (default: `JIS`) | ||
|
||
`:investigative-organization_{i}`:: | ||
Investigative organization for this document | ||
|
||
`:investigative-committee{i}`:: | ||
Investigative committee for this document | ||
|
||
`:publisher-abbr_{i}:`:: | ||
Abbreviation of publisher for this document | ||
|
||
`:publisher-logo_{i}:`:: | ||
Logo of publisher for this document (image file) | ||
|
||
`:subdivision_{i}:`` | ||
Subdivision of organization responsible for this document as author and publisher | ||
|
||
`:subdivision-abbr_{i}:`` | ||
Abbreviation of subdivision of organization responsible for this document as author and publisher | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
layout: jis-flavor | ||
title: "Metanorma JIS samples" | ||
--- | ||
:page-liquid: | ||
|
||
{% include flavor-sample-summary.html flavor=layout.jis_flavor | ||
markup_link="../authoring/" %} | ||
|
||
== Building the sample | ||
|
||
Clone the repository: | ||
|
||
[source,console] | ||
-- | ||
git clone https://github.com/metanorma/mn-samples-jis/ | ||
-- | ||
|
||
Install required gems and build the documents via the provided Makefile from within repository root: | ||
|
||
[source,console] | ||
-- | ||
bundle | ||
make | ||
-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
layout: jis-flavor | ||
title: Using Metanorma-JIS | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
layout: jis-flavor | ||
title: Metanorma for JIS markup | ||
--- | ||
|
||
== Sections | ||
|
||
=== Commentary | ||
|
||
Commentary clauses are marked up as annexes with a `commentary` option attribute: | ||
|
||
[source,asciidoc] | ||
---- | ||
[appendix%commentary] | ||
== Commentary | ||
... | ||
---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.