metanorma-cli 1.3.3.1 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +62 -69
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/Gemfile +4 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/LICENSE.txt +26 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/README.md +179 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/Rakefile +6 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/bin/console +11 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/bin/rspec +29 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/bin/setup +7 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/fontist.gemspec +32 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist.rb +48 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/errors.rb +10 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/font.rb +78 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/font_formula.rb +123 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formula.rb +90 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas.rb +15 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/andale_font.rb +79 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/arial_black_font.rb +78 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/cleartype_fonts.rb +226 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/comic_font.rb +77 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/courier_font.rb +80 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/euphemia_font.rb +85 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/georgia_font.rb +79 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/impact_font.rb +77 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/montserrat_font.rb +132 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/ms_truetype_fonts.rb +124 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/open_sans_fonts.rb +263 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/overpass_font.rb +73 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/source_fonts.rb +109 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/stix_fonts.rb +108 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/tahoma_font.rb +146 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/webding_font.rb +77 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/registry.rb +42 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/system.yml +17 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/system_font.rb +72 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/utils.rb +9 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/utils/downloader.rb +74 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/utils/dsl.rb +77 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/utils/exe_extractor.rb +72 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/utils/zip_extractor.rb +38 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/version.rb +3 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fixtures/fonts/DejaVuSerif.ttf +0 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/font_formula_spec.rb +67 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/font_spec.rb +87 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formula_spec.rb +67 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/andale_font_spec.rb +29 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/arial_black_font_spec.rb +29 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/cleartype_fonts_spec.rb +38 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/comic_font_spec.rb +29 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/courier_font_spec.rb +29 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/euphemia_font_spec.rb +29 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/georgia_font_spec.rb +29 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/impact_font_spec.rb +29 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/montserrat_font_spec.rb +29 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/ms_truetype_fonts_spec.rb +29 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/open_sans_fonts_spec.rb +29 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/overpass_font_spec.rb +29 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/source_fonts_spec.rb +31 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/stix_fonts_spec.rb +29 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/tahoma_font_spec.rb +29 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/webding_font_spec.rb +29 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/registry_spec.rb +47 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/system_font_spec.rb +44 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/utils/downloader_spec.rb +35 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist_spec.rb +5 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/spec_helper.rb +22 -0
- data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/support/fontist_helper.rb +10 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/CODE_OF_CONDUCT.md +46 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/Gemfile +11 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/LICENSE +25 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/Rakefile +8 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/bin/rspec +18 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/isodoc.gemspec +51 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc-yaml/i18n-en.yaml +98 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc-yaml/i18n-fr.yaml +91 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc-yaml/i18n-zh-Hans.yaml +92 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc.rb +30 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/all.css +207 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/all.scss +6 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/bands.scss +79 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/blocks.css +0 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/blocks.scss +128 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/coverpage.css +0 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/coverpage.scss +7 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/defaults.css +0 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/defaults.scss +26 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/metanorma_word.css +34 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/metanorma_word.scss +30 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/nav.css +0 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/nav.scss +180 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/reset.css +105 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/reset.scss +129 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/typography.css +0 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/typography.scss +67 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/class_utils.rb +30 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/common.rb +29 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/convert.rb +250 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function.rb +4 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/blocks.rb +208 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/blocks_example_note.rb +107 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/cleanup.rb +218 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/inline.rb +155 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/inline_simple.rb +72 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/lists.rb +94 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/references.rb +214 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/reqt.rb +115 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/section.rb +228 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/table.rb +108 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/terms.rb +78 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/to_word_html.rb +230 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/utils.rb +190 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/gem_tasks.rb +133 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/headlesshtml_convert.rb +45 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/html_convert.rb +30 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/html_function.rb +4 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/html_function/comments.rb +144 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/html_function/footnotes.rb +83 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/html_function/html.rb +115 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/html_function/postprocess.rb +243 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/i18n.rb +122 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/metadata.rb +235 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/metadata_date.rb +39 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/pdf_convert.rb +50 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/presentation_function/block.rb +138 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/presentation_function/inline.rb +131 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/presentation_function/section.rb +46 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/presentation_xml_convert.rb +62 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/sassc_importer.rb +11 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/version.rb +3 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/word_convert.rb +45 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/word_function.rb +4 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/word_function/body.rb +214 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/word_function/comments.rb +145 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/word_function/footnotes.rb +105 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/word_function/inline.rb +77 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/word_function/postprocess.rb +247 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/word_function/postprocess_cover.rb +79 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/word_function/table.rb +60 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/xref.rb +61 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/xref/xref_anchor.rb +56 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/xref/xref_counter.rb +74 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/xref/xref_gen.rb +117 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/xref/xref_gen_seq.rb +163 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/xref/xref_sect_gen.rb +151 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/xslfo_convert.rb +46 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/assets/html.scss +6 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/assets/i18n.yaml +16 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/assets/odf.emf +0 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/assets/odf.svg +4 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/assets/odf1.svg +4 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/assets/rice_image1 +0 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/assets/std.css +2 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/assets/word.css +2 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/blocks_spec.rb +2643 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/cleanup_spec.rb +1188 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/footnotes_spec.rb +280 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/i18n_spec.rb +1131 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/inline_spec.rb +995 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/lists_spec.rb +346 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/metadata_spec.rb +342 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/postproc_spec.rb +1536 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/presentation_xml_spec.rb +20 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/ref_spec.rb +427 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/section_spec.rb +993 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/table_spec.rb +454 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/terms_spec.rb +268 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/xref_spec.rb +2764 -0
- data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/spec_helper.rb +74 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/CODE_OF_CONDUCT.md +74 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/Gemfile +11 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/LICENSE +25 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/Rakefile +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/bin/console +14 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/bin/rspec +18 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/bin/setup +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/asciidoctor/cc.rb +5 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/asciidoctor/cc/basicdoc.rng +1059 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/asciidoctor/cc/biblio.rng +1237 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/asciidoctor/cc/cc.rng +116 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/asciidoctor/cc/converter.rb +72 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/asciidoctor/cc/front.rb +93 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/asciidoctor/cc/isodoc.rng +1510 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/asciidoctor/cc/reqt.rng +194 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/asciidoctor/cc/validate.rb +29 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/asciidoctor/cc/validate_section.rb +124 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/base_convert.rb +21 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/csd.standard.xsl +3371 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/html/_coverpage.css +307 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/html/_coverpage.scss +130 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/html/cc.css +801 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/html/cc.scss +763 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/html/htmlstyle.css +1013 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/html/htmlstyle.scss +409 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/html/wordstyle.css +1253 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/html/wordstyle.scss +1156 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/html_convert.rb +53 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/i18n-en.yaml +2 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/i18n.rb +10 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/init.rb +23 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/metadata.rb +61 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/pdf_convert.rb +21 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/presentation_xml_convert.rb +19 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/word_convert.rb +40 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/xref.rb +6 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/metanorma-cc.rb +11 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/metanorma/cc.rb +29 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/metanorma/cc/processor.rb +49 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/metanorma/cc/version.rb +5 -0
- data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/metanorma-cc.gemspec +44 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/CODE_OF_CONDUCT.md +74 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/Gemfile +11 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/LICENSE +25 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/Rakefile +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/bin/console +14 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/bin/rspec +18 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/bin/setup +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/asciidoctor/csa.rb +5 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/asciidoctor/csa/basicdoc.rng +1059 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/asciidoctor/csa/biblio.rng +1237 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/asciidoctor/csa/converter.rb +139 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/asciidoctor/csa/csa.rng +115 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/asciidoctor/csa/isodoc.rng +1510 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/asciidoctor/csa/reqt.rng +194 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/asciidoctor/csa/validate.rb +22 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/base_convert.rb +23 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/csa.standard.xsl +3387 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/html/csa.css +801 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/html/csa.scss +763 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/html/htmlstyle.css +1070 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/html/htmlstyle.scss +806 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/html/wordstyle.css +1253 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/html/wordstyle.scss +1157 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/html_convert.rb +60 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/i18n-en.yaml +2 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/i18n.rb +10 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/init.rb +24 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/metadata.rb +51 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/pdf_convert.rb +22 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/presentation_xml_convert.rb +19 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/word_convert.rb +42 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/xref.rb +6 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/metanorma-csa.rb +11 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/metanorma/csa.rb +7 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/metanorma/csa/processor.rb +52 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/metanorma/csa/version.rb +7 -0
- data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/metanorma-csa.gemspec +52 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/CODE_OF_CONDUCT.md +74 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/Gemfile +10 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/LICENSE +25 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/Rakefile +23 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/asciidoctor-gb.gemspec.old +47 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/bin/console +14 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/bin/rspec +18 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/bin/setup +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb.rb +5 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/basicdoc.rng +1059 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/biblio.rng +1237 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/cleanup.rb +130 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/converter.rb +146 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/front.rb +242 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/front_id.rb +57 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/gbstandard.rng +300 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/isodoc.rng +1510 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/isostandard.rng +533 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/reqt.rng +194 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/section_input.rb +42 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/validate.rb +132 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/base_convert.rb +211 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/cleanup.rb +79 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/common.rb +72 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/gb.recommendation.xsl +3739 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/_coverpage.css +193 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/_coverpage.scss +249 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/gb-logos/gb-issuer-default.svg +980 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/gb-logos/gb-standard-db.svg +1 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/gb-logos/gb-standard-gb.svg +1 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/gb-logos/gb-standard-gjb.svg +1 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/gb-logos/gb-standard-gm.svg +1 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/gb-logos/gb-standard-jjf.svg +1 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/gb-logos/gb-standard-zb.svg +13 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/gb.css +657 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/gb.scss +617 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/htmlcompliantstyle.css +1303 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/htmlcompliantstyle.scss +1004 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/htmlstyle.css +844 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/htmlstyle.scss +414 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/wordstyle.css +2932 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/wordstyle.scss +2750 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html_convert.rb +70 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/i18n-en.yaml +11 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/i18n-zh-Hans.yaml +11 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/i18n.rb +16 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/init.rb +29 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/metadata.rb +225 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/pdf_convert.rb +21 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/presentation_xml_convert.rb +26 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/word_convert.rb +126 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/xref.rb +6 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/metanorma-gb.rb +12 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/metanorma/gb.rb +7 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/metanorma/gb/processor.rb +73 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/metanorma/gb/version.rb +5 -0
- data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/metanorma-gb.gemspec +49 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/CODE_OF_CONDUCT.md +74 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/Gemfile +11 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/LICENSE +25 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/Rakefile +6 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/bin/console +14 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/bin/rspec +17 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/bin/setup +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/asciidoctor/generic.rb +7 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/asciidoctor/generic/basicdoc.rng +1059 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/asciidoctor/generic/biblio.rng +1237 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/asciidoctor/generic/converter.rb +219 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/asciidoctor/generic/generic.rng +79 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/asciidoctor/generic/isodoc.rng +1510 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/asciidoctor/generic/reqt.rng +194 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/asciidoctor/generic/rsd.rng +225 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic.rb +11 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/base_convert.rb +43 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/html/generic.scss +766 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/html/htmlstyle.scss +710 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/html/wordstyle.scss +1157 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/html_convert.rb +65 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/init.rb +27 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/metadata.rb +59 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/pdf_convert.rb +66 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/presentation_xml_convert.rb +19 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/word_convert.rb +60 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/xref.rb +6 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/metanorma-generic.rb +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/metanorma/generic.rb +108 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/metanorma/generic/processor.rb +88 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/metanorma/generic/version.rb +5 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/metanorma-generic.gemspec +44 -0
- data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/metanorma.yml.example +61 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/CODE_OF_CONDUCT.md +74 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/Gemfile +7 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/LICENSE +25 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/Rakefile +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/bin/rspec +18 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/asciidoctor/iec/basicdoc.rng +1059 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/asciidoctor/iec/biblio.rng +1237 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/asciidoctor/iec/converter.rb +80 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/asciidoctor/iec/front.rb +220 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/asciidoctor/iec/iec.rng +43 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/asciidoctor/iec/isodoc.rng +1510 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/asciidoctor/iec/isostandard.rng +533 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/asciidoctor/iec/reqt.rng +194 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/base_convert.rb +147 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/html/htmlstyle.css +962 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/html/htmlstyle.scss +703 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/html/isodoc.css +845 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/html/isodoc.scss +836 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/html/wordstyle.css +2013 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/html/wordstyle.scss +1854 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/html_convert.rb +43 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/i18n-en.yaml +18 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/i18n-fr.yaml +18 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/i18n-zh-Hans.yaml +14 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/i18n.rb +19 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/iec.international-standard.xsl +4782 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/init.rb +29 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/metadata.rb +28 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/pdf_convert.rb +21 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/presentation_xml_convert.rb +35 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/word_convert.rb +188 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/xref.rb +45 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/metanorma-iec.rb +15 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/metanorma/iec.rb +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/metanorma/iec/processor.rb +49 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/metanorma/iec/version.rb +6 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/metanorma-iec.gemspec +45 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/asciidoctor-iec/base_spec.rb +602 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/asciidoctor-iec/blocks_spec.rb +481 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/asciidoctor-iec/cleanup_spec.rb +440 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/asciidoctor-iec/iev_spec.rb +234 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/asciidoctor-iec/inline_spec.rb +164 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/asciidoctor-iec/lists_spec.rb +190 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/asciidoctor-iec/section_spec.rb +369 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/asciidoctor-iec/validate_spec.rb +20 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/assets/html.css +2 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/assets/word.css +2 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/isodoc/blocks_spec.rb +219 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/isodoc/i18n_spec.rb +648 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/isodoc/iev_spec.rb +564 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/isodoc/inline_spec.rb +287 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/isodoc/iso_spec.rb +217 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/isodoc/metadata_spec.rb +242 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/isodoc/postproc_spec.rb +299 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/isodoc/ref_spec.rb +376 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/isodoc/section_spec.rb +541 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/isodoc/terms_spec.rb +193 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/metanorma/processor_spec.rb +76 -0
- data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/spec_helper.rb +296 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/CODE_OF_CONDUCT.md +74 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/Gemfile +13 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/Guardfile +22 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/LICENSE +25 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/Rakefile +6 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/bin/asciidoctor-rfc2 +14 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/bin/asciidoctor-rfc2.bat +2 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/bin/asciidoctor-rfc3 +14 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/bin/console +14 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/bin/rspec +17 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/bin/setup +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/docs/installation.md +21 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/docs/navigation.md +7 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/docs/overview.md +5 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/asciidoctor/ietf/basicdoc.rng +1059 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/asciidoctor/ietf/biblio.rng +1237 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/asciidoctor/ietf/blocks.rb +78 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/asciidoctor/ietf/converter.rb +201 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/asciidoctor/ietf/front.rb +144 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/asciidoctor/ietf/ietf.rng +888 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/asciidoctor/ietf/isodoc.rng +1510 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/asciidoctor/ietf/reqt.rng +194 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/asciidoctor/ietf/validate.rb +84 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/blocks.rb +227 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/cleanup.rb +230 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/footnotes.rb +70 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/front.rb +236 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/inline.rb +167 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/metadata.rb +54 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/references.rb +148 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/reqt.rb +79 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/rfc_convert.rb +82 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/section.rb +175 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/table.rb +43 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/terms.rb +52 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/xref.rb +20 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/metanorma-ietf.rb +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/metanorma/ietf.rb +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/metanorma/ietf/processor.rb +103 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/metanorma/ietf/version.rb +5 -0
- data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/metanorma-ietf.gemspec +53 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/CODE_OF_CONDUCT.md +74 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/Gemfile +11 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/LICENSE +25 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/Rakefile +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/bin/console +14 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/bin/rspec +18 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/bin/setup +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/asciidoctor/iho.rb +4 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/asciidoctor/iho/basicdoc.rng +1059 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/asciidoctor/iho/biblio.rng +1237 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/asciidoctor/iho/converter.rb +105 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/asciidoctor/iho/iho.rng +144 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/asciidoctor/iho/isodoc.rng +1510 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/asciidoctor/iho/reqt.rng +194 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/base_convert.rb +20 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/html/htmlstyle.css +1007 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/html/htmlstyle.scss +757 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/html/iho.css +798 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/html/iho.scss +759 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/html/logo.svg +555 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/html/wordstyle.css +1252 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/html/wordstyle.scss +1155 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/html_convert.rb +34 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/iho.specification.xsl +3501 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/iho.standard.xsl +3501 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/init.rb +23 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/metadata.rb +26 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/pdf_convert.rb +23 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/presentation_xml_convert.rb +12 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/word_convert.rb +47 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/xref.rb +64 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/metanorma-iho.rb +13 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/metanorma/iho.rb +32 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/metanorma/iho/processor.rb +46 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/metanorma/iho/version.rb +5 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/metanorma-iho.gemspec +44 -0
- data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/metanorma.yml +56 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/CODE_OF_CONDUCT.md +46 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/Gemfile +14 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/LICENSE +25 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/Makefile +39 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/Rakefile +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/bin/rspec +18 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/base.rb +67 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/basicdoc.rng +1059 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/biblio.rng +1237 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/cleanup.rb +129 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/converter.rb +18 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/front.rb +138 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/front_id.rb +196 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/isodoc.rng +1510 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/isostandard-amd.rng +98 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/isostandard.rnc +176 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/isostandard.rng +533 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/macros.rb +21 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/reqt.rng +194 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/section.rb +46 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/term_lookup_cleanup.rb +86 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/validate.rb +194 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/validate_requirements.rb +105 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/validate_section.rb +185 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/validate_style.rb +150 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/validate_title.rb +99 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/base_convert.rb +156 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html/htmlstyle.css +47 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html/htmlstyle.scss +45 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html/isodoc.css +862 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html/isodoc.scss +851 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html/style-human.css +968 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html/style-human.scss +695 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html/style-iso.css +996 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html/style-iso.scss +712 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html/wordstyle.css +1515 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html/wordstyle.scss +1393 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html_convert.rb +55 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/i18n-en.yaml +11 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/i18n-fr.yaml +10 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/i18n-zh-Hans.yaml +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/i18n.rb +19 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/init.rb +33 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/iso.amendment.xsl +4638 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/iso.international-standard.xsl +4638 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/metadata.rb +217 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/pdf_convert.rb +26 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/presentation_xml_convert.rb +111 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/sections.rb +61 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/sts_convert.rb +31 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/word_convert.rb +127 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/xref.rb +113 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/metanorma-iso.rb +14 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/metanorma/iso.rb +7 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/metanorma/iso/processor.rb +62 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/metanorma/iso/version.rb +5 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/metanorma-iso.gemspec +50 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/amd_spec.rb +726 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/base_spec.rb +593 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/blocks_spec.rb +482 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/cleanup_spec.rb +995 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/inline_spec.rb +164 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/lists_spec.rb +190 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/macros_spec.rb +310 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/refs_spec.rb +286 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/section_spec.rb +357 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/table_spec.rb +307 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/validate_spec.rb +1127 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/assets/html.css +2 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/assets/i18n.yaml +2 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/assets/std.css +2 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/assets/word.css +2 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/examples/english.yaml +69 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/examples/rice.sh +4 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/amd_spec.rb +808 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/blocks_spec.rb +534 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/i18n_spec.rb +954 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/inline_spec.rb +331 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/iso_spec.rb +384 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/metadata_spec.rb +248 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/postproc_spec.rb +708 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/ref_spec.rb +346 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/section_spec.rb +555 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/table_spec.rb +426 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/terms_spec.rb +202 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/xref_spec.rb +1477 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/metanorma/processor_spec.rb +61 -0
- data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/spec_helper.rb +267 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/CODE_OF_CONDUCT.md +74 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/Gemfile +11 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/LICENSE +25 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/Rakefile +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/bin/console +14 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/bin/rspec +18 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/bin/setup +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu.rb +7 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu/basicdoc.rng +1059 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu/biblio.rng +1237 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu/cleanup.rb +205 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu/converter.rb +143 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu/front.rb +216 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu/isodoc.rng +1510 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu/itu.rng +264 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu/macros.rb +27 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu/reqt.rng +194 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu/validate.rb +145 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu.rb +12 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/base_convert.rb +196 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/html/International_Telecommunication_Union_Logo.svg +1 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/html/_coverpage.css +349 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/html/_coverpage.scss +183 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/html/htmlstyle.css +1159 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/html/htmlstyle.scss +601 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/html/itu.css +1138 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/html/itu.scss +1097 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/html/wordstyle.css +1808 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/html/wordstyle.scss +1679 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/html_convert.rb +73 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/i18n-en.yaml +41 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/i18n.rb +14 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/init.rb +29 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/itu.recommendation-annex.xsl +3798 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/itu.recommendation.xsl +3798 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/itu.resolution.xsl +3798 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/metadata.rb +96 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/pdf_convert.rb +25 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/presentation_xml_convert.rb +55 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/ref.rb +130 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/terms.rb +64 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/word_convert.rb +238 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/xref.rb +175 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/metanorma-itu.rb +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/metanorma/itu.rb +9 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/metanorma/itu/processor.rb +53 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/metanorma/itu/version.rb +5 -0
- data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/metanorma-itu.gemspec +44 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/CODE_OF_CONDUCT.md +74 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/Gemfile +11 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/LICENSE +25 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/Rakefile +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/bin/console +14 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/bin/rspec +18 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/bin/setup +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/asciidoctor/m3aawg.rb +5 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/asciidoctor/m3aawg/basicdoc.rng +1059 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/asciidoctor/m3aawg/biblio.rng +1237 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/asciidoctor/m3aawg/converter.rb +142 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/asciidoctor/m3aawg/isodoc.rng +1510 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/asciidoctor/m3aawg/m3d.rng +109 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/asciidoctor/m3aawg/reqt.rng +194 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/asciidoctor/m3aawg/validate.rb +22 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/base_convert.rb +22 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/html/htmlstyle.css +1030 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/html/htmlstyle.scss +733 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/html/m3d.css +758 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/html/m3d.scss +742 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/html/wordstyle.css +1278 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/html/wordstyle.scss +1174 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/html_convert.rb +65 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/i18n-en.yaml +1 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/i18n.rb +10 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/init.rb +27 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/m3d.report.xsl +3408 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/metadata.rb +53 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/pdf_convert.rb +22 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/presentation_xml_convert.rb +19 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/word_convert.rb +63 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/xref.rb +6 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/metanorma-m3aawg.rb +12 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/metanorma/m3aawg.rb +7 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/metanorma/m3aawg/processor.rb +50 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/metanorma/m3aawg/version.rb +5 -0
- data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/metanorma-m3d.gemspec +47 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/CODE_OF_CONDUCT.md +74 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/Gemfile +11 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/LICENSE +25 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/Rakefile +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/bin/console +14 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/bin/rspec +18 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/bin/setup +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist.rb +5 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/basicdoc.rng +1059 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/biblio.rng +1237 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/boilerplate.rb +107 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/cleanup.rb +206 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/converter.rb +218 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/front.rb +259 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/front_id.rb +124 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/isodoc.rng +1510 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/nist.rng +186 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/reqt.rng +194 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/validate.rb +95 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/base_convert.rb +185 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/common.xsl +1246 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/_coverpage.css +243 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/_coverpage.scss +328 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/htmlstyle.css +955 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/htmlstyle.scss +463 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/nist.css +1055 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/nist.scss +1010 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/nist_cswp.css +996 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/nist_cswp.scss +955 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/wordstyle.css +1440 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/wordstyle.scss +1348 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/wordstyle_cswp.css +1119 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/wordstyle_cswp.scss +1026 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html_convert.rb +137 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/i18n-en.yaml +13 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/i18n.rb +10 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/init.rb +37 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/metadata.rb +236 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/metadata_id.rb +125 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/nist.cswp.xsl +3645 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/nist.sp.xsl +4726 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/pdf_convert.rb +22 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/presentation_xml_convert.rb +80 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/refs.rb +89 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/render.rb +255 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/render_contributors.rb +80 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/render_dates.rb +42 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/section.rb +58 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/word_convert.rb +173 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/word_convert_toc.rb +86 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/xref.rb +61 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/metanorma-nist.rb +14 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/metanorma/nist.rb +7 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/metanorma/nist/processor.rb +48 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/metanorma/nist/version.rb +5 -0
- data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/metanorma-nist.gemspec +47 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/CODE_OF_CONDUCT.md +74 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/Gemfile +11 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/LICENSE +25 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/README.adoc.old +187 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/Rakefile +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/bin/console +14 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/bin/rspec +17 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/bin/setup +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/asciidoctor/ogc.rb +7 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/asciidoctor/ogc/basicdoc.rng +1059 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/asciidoctor/ogc/biblio.rng +1237 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/asciidoctor/ogc/converter.rb +134 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/asciidoctor/ogc/front.rb +195 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/asciidoctor/ogc/isodoc.rng +1510 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/asciidoctor/ogc/ogc.rng +124 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/asciidoctor/ogc/reqt.rng +194 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/asciidoctor/ogc/validate.rb +108 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc.rb +12 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/base_convert.rb +79 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/biblio.rb +120 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/html/_coverpage.css +195 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/html/_coverpage.scss +247 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/html/htmlstyle.css +1084 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/html/htmlstyle.scss +599 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/html/ogc.css +835 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/html/ogc.scss +792 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/html/wordstyle.css +1253 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/html/wordstyle.scss +1155 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/html_convert.rb +89 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/i18n-en.yaml +11 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/i18n.rb +10 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/init.rb +32 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/metadata.rb +111 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +3802 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.best-practice.xsl +3802 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +3802 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.community-practice.xsl +3802 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.community-standard.xsl +3802 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.discussion-paper.xsl +3802 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.engineering-report.xsl +3802 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.other.xsl +3802 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.policy.xsl +3802 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.reference-model.xsl +3802 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.release-notes.xsl +3802 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.standard.xsl +3802 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.test-suite.xsl +3802 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.user-guide.xsl +3802 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.white-paper.xsl +3554 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/pdf_convert.rb +24 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/presentation_xml_convert.rb +137 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/reqt.rb +168 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/sections.rb +66 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/word_convert.rb +189 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/xref.rb +156 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/metanorma-ogc.rb +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/metanorma/ogc.rb +12 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/metanorma/ogc/processor.rb +49 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/metanorma/ogc/version.rb +5 -0
- data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/metanorma-ogc.gemspec +41 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/CODE_OF_CONDUCT.md +46 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/Gemfile +11 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/LICENSE +25 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/Makefile +39 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/Rakefile +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/bin/rspec +18 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/base.rb +242 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/basicdoc.rng +1059 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/biblio.rng +1237 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/blocks.rb +191 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/blocks_notes.rb +89 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/cleanup.rb +177 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/cleanup_block.rb +183 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/cleanup_boilerplate.rb +100 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/cleanup_footnotes.rb +87 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/cleanup_inline.rb +134 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/cleanup_ref.rb +247 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/cleanup_section.rb +221 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/cleanup_terms.rb +144 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/converter.rb +86 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/datamodel/attributes_table_preprocessor.rb +57 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/datamodel/diagram_preprocessor.rb +102 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/datamodel/plantuml_renderer.rb +408 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/front.rb +210 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/front_contributor.rb +99 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/inline.rb +233 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/isodoc.rng +1510 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/lists.rb +115 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/log.rb +50 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/macros.rb +179 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/macros_plantuml.rb +100 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/macros_yaml2text.rb +165 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/ref.rb +257 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/ref_sect.rb +124 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/reqt.rb +73 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/reqt.rng +194 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/section.rb +244 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/table.rb +70 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/utils.rb +194 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/validate.rb +97 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/validate_section.rb +51 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/views/datamodel/model_representation.adoc.erb +30 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/views/datamodel/plantuml_representation.adoc.erb +20 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/metanorma-standoc.rb +10 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/metanorma/standoc.rb +11 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/metanorma/standoc/latexml_requirement.rb +62 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/metanorma/standoc/processor.rb +38 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/metanorma/standoc/requirement.rb +13 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/metanorma/standoc/version.rb +5 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/metanorma-standoc.gemspec +56 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/base_spec.rb +519 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/blocks_spec.rb +1271 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/cleanup_spec.rb +3224 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/datamodel/attributes_table_preprocessor_spec.rb +111 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/datamodel/diagram_preprocessor_spec.rb +72 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/inline_spec.rb +308 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/isobib_cache_spec.rb +705 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/lists_spec.rb +205 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/macros_spec.rb +538 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/macros_yaml2text_spec.rb +565 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/refs_dl_spec.rb +850 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/refs_spec.rb +1648 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/section_spec.rb +983 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/table_spec.rb +307 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/validate_spec.rb +328 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/assets/codes.yml +695 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/assets/html.scss +13 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/assets/i18n.yaml +17 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/assets/iso123.rxl +107 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/assets/std.css +2 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/assets/word.scss +13 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/AddressClassProfile.yml +90 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/AddressComponentProfile.yml +63 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/AddressComponentSpecification.yml +15 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/AddressProfile.yml +36 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/AttributeProfile.yml +32 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/InterchangeAddressClassProfile.yml +79 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/Localization copy.yml +23 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/Localization.yml +23 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/ProfileCompliantAddress.yml +36 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/ProfileCompliantAddressComponent.yml +15 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/Signature.yml +20 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/SignatureBlankDefinition.yml +20 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/TextDirectionCode copy.yml +16 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/TextDirectionCode.yml +16 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/Validity.yml +14 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/iso19160-1/Address.yml +22 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/iso19160-1/AddressComponent.yml +2 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/style.uml.inc +37 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/views/CommonModels.yml +9 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/views/TopDown.yml +62 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/english.yaml +69 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/rice.sh +4 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/metanorma/processor_spec.rb +92 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/spec_helper.rb +249 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +719 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/vcr_cassettes/isobib_get_123.yml +182 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/vcr_cassettes/isobib_get_123_1.yml +361 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/vcr_cassettes/isobib_get_123_2001.yml +182 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/vcr_cassettes/isobib_get_124.yml +182 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +109 -0
- data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +436 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/CODE_OF_CONDUCT.md +74 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/Gemfile +11 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/LICENSE +25 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/Rakefile +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/bin/console +14 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/bin/rspec +17 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/bin/setup +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/asciidoctor/un.rb +7 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/asciidoctor/un/basicdoc.rng +1059 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/asciidoctor/un/biblio.rng +1237 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/asciidoctor/un/converter.rb +253 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/asciidoctor/un/isodoc.rng +1510 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/asciidoctor/un/reqt.rng +194 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/asciidoctor/un/un.rng +356 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/asciidoctor/un/validate.rb +23 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un.rb +11 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/base_convert.rb +35 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/html/htmlstyle.css +1096 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/html/htmlstyle.scss +881 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/html/unece.css +818 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/html/unece.scss +801 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/html/wordstyle.css +1237 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/html/wordstyle.scss +1140 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/html_convert.rb +112 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/i18n-en.yaml +2 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/i18n.rb +11 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/init.rb +29 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/metadata.rb +102 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/pdf_convert.rb +28 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/presentation_xml_convert.rb +53 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/un.plenary-attachment.xsl +3618 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/un.plenary.xsl +3618 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/un.recommendation.xsl +3605 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/word_convert.rb +174 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/xref.rb +185 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/metanorma-un.rb +8 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/metanorma/un.rb +12 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/metanorma/un/UN_emblem_blue.svg +193 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/metanorma/un/input.rb +18 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/metanorma/un/processor.rb +49 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/metanorma/un/version.rb +5 -0
- data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/metanorma-unece.gemspec +46 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/CHANGELOG.md +6 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/Gemfile +8 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/LICENSE +25 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/Rakefile +6 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/bin/console +11 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/bin/rspec +29 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/bin/setup +8 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/exe/relaton +21 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/i18n.yaml +1 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton-cli.rb +10 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/bibcollection.rb +120 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/bibdata.rb +90 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/cli.rb +55 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/cli/base_convertor.rb +141 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/cli/command.rb +115 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/cli/relaton_file.rb +276 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/cli/version.rb +5 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/cli/xml_convertor.rb +47 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/cli/xml_to_html_renderer.rb +116 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/cli/yaml_convertor.rb +99 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/element_finder.rb +25 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/relaton-cli.gemspec +40 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/templates/_document.liquid +92 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/templates/_index.liquid +53 -0
- data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/templates/index-style.css +1017 -0
- data/gems/ruby/2.6.0/specifications/fontist-1.2.0.gemspec +51 -0
- data/gems/ruby/2.6.0/specifications/isodoc-1.2.1.gemspec +87 -0
- data/gems/ruby/2.6.0/specifications/metanorma-cc-1.5.0.gemspec +67 -0
- data/gems/ruby/2.6.0/specifications/metanorma-csa-1.6.0.gemspec +85 -0
- data/gems/ruby/2.6.0/specifications/metanorma-gb-1.5.1.gemspec +79 -0
- data/gems/ruby/2.6.0/specifications/metanorma-generic-1.6.0.gemspec +73 -0
- data/gems/ruby/2.6.0/specifications/metanorma-iec-1.2.1.gemspec +72 -0
- data/gems/ruby/2.6.0/specifications/metanorma-ietf-2.2.0.gemspec +73 -0
- data/gems/ruby/2.6.0/specifications/metanorma-iho-0.2.0.gemspec +73 -0
- data/gems/ruby/2.6.0/specifications/metanorma-iso-1.5.1.gemspec +81 -0
- data/gems/ruby/2.6.0/specifications/metanorma-itu-1.2.0.gemspec +79 -0
- data/gems/ruby/2.6.0/specifications/metanorma-m3aawg-1.5.0.gemspec +73 -0
- data/gems/ruby/2.6.0/specifications/metanorma-nist-1.2.0.gemspec +82 -0
- data/gems/ruby/2.6.0/specifications/metanorma-ogc-1.2.0.gemspec +70 -0
- data/gems/ruby/2.6.0/specifications/metanorma-standoc-1.5.0.gemspec +99 -0
- data/gems/ruby/2.6.0/specifications/metanorma-un-0.5.0.gemspec +76 -0
- data/gems/ruby/2.6.0/specifications/relaton-cli-1.2.1.gemspec +73 -0
- data/lib/metanorma/cli/version.rb +1 -1
- data/metanorma-cli.gemspec +18 -18
- metadata +981 -34
@@ -0,0 +1,307 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
RSpec.describe Asciidoctor::ISO do
|
4
|
+
it "processes basic tables" do
|
5
|
+
expect(xmlpp(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
6
|
+
#{ASCIIDOC_BLANK_HDR}
|
7
|
+
.Table Name
|
8
|
+
|===
|
9
|
+
|A |B |C
|
10
|
+
|
11
|
+
h|1 |2 |3
|
12
|
+
|===
|
13
|
+
INPUT
|
14
|
+
#{BLANK_HDR}
|
15
|
+
<sections>
|
16
|
+
<table id="_">
|
17
|
+
<name>Table Name</name>
|
18
|
+
<thead>
|
19
|
+
<tr>
|
20
|
+
<th align="left">A</th>
|
21
|
+
<th align="left">B</th>
|
22
|
+
<th align="left">C</th>
|
23
|
+
</tr>
|
24
|
+
</thead>
|
25
|
+
<tbody>
|
26
|
+
<tr>
|
27
|
+
<th align="left">1</th>
|
28
|
+
<td align="left">2</td>
|
29
|
+
<td align="left">3</td>
|
30
|
+
</tr>
|
31
|
+
</tbody>
|
32
|
+
</table>
|
33
|
+
</sections>
|
34
|
+
</iso-standard>
|
35
|
+
OUTPUT
|
36
|
+
end
|
37
|
+
|
38
|
+
it "inserts header rows in a table with a name and no header" do
|
39
|
+
expect(xmlpp(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
40
|
+
#{ASCIIDOC_BLANK_HDR}
|
41
|
+
[headerrows=2]
|
42
|
+
.Table Name
|
43
|
+
|===
|
44
|
+
|A |B |C
|
45
|
+
h|1 |2 |3
|
46
|
+
h|1 |2 |3
|
47
|
+
|===
|
48
|
+
INPUT
|
49
|
+
#{BLANK_HDR}
|
50
|
+
<sections>
|
51
|
+
<table id="_">
|
52
|
+
<name>Table Name</name>
|
53
|
+
<thead><tr>
|
54
|
+
<th align="left">A</th>
|
55
|
+
<th align="left">B</th>
|
56
|
+
<th align="left">C</th>
|
57
|
+
</tr><tr>
|
58
|
+
<th align="left">1</th>
|
59
|
+
<th align="left">2</th>
|
60
|
+
<th align="left">3</th>
|
61
|
+
</tr></thead>
|
62
|
+
<tbody>
|
63
|
+
|
64
|
+
|
65
|
+
<tr>
|
66
|
+
<th align="left">1</th>
|
67
|
+
<td align="left">2</td>
|
68
|
+
<td align="left">3</td>
|
69
|
+
</tr>
|
70
|
+
</tbody>
|
71
|
+
</table>
|
72
|
+
</sections>
|
73
|
+
</iso-standard>
|
74
|
+
OUTPUT
|
75
|
+
end
|
76
|
+
|
77
|
+
|
78
|
+
it "inserts header rows in a table without a name and no header" do
|
79
|
+
expect(xmlpp(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
80
|
+
#{ASCIIDOC_BLANK_HDR}
|
81
|
+
[headerrows=2]
|
82
|
+
|===
|
83
|
+
|A |B |C
|
84
|
+
h|1 |2 |3
|
85
|
+
h|1 |2 |3
|
86
|
+
|===
|
87
|
+
INPUT
|
88
|
+
#{BLANK_HDR}
|
89
|
+
<sections>
|
90
|
+
<table id="_"><thead><tr>
|
91
|
+
<th align="left">A</th>
|
92
|
+
<th align="left">B</th>
|
93
|
+
<th align="left">C</th>
|
94
|
+
</tr><tr>
|
95
|
+
<th align="left">1</th>
|
96
|
+
<th align="left">2</th>
|
97
|
+
<th align="left">3</th>
|
98
|
+
</tr></thead>
|
99
|
+
<tbody>
|
100
|
+
|
101
|
+
|
102
|
+
<tr>
|
103
|
+
<th align="left">1</th>
|
104
|
+
<td align="left">2</td>
|
105
|
+
<td align="left">3</td>
|
106
|
+
</tr>
|
107
|
+
</tbody>
|
108
|
+
</table>
|
109
|
+
</sections>
|
110
|
+
</iso-standard>
|
111
|
+
OUTPUT
|
112
|
+
end
|
113
|
+
|
114
|
+
it "processes complex tables" do
|
115
|
+
expect(xmlpp(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
116
|
+
#{ASCIIDOC_BLANK_HDR}
|
117
|
+
[cols="<,^,^,^,^",options="header,footer",headerrows=2]
|
118
|
+
.Maximum permissible mass fraction of defects
|
119
|
+
|===
|
120
|
+
.2+|Defect 4+^| Maximum permissible mass fraction of defects in husked rice +
|
121
|
+
stem:[w_max]
|
122
|
+
| in husked rice | in milled rice (non-glutinous) | in husked parboiled rice | in milled parboiled rice
|
123
|
+
|
124
|
+
| Extraneous matter: organic footnote:[Organic extraneous matter includes foreign seeds, husks, bran, parts of straw, etc.] | 1,0 | 0,5 | 1,0 | 0,5
|
125
|
+
// not rendered list here
|
126
|
+
| Extraneous matter: inorganic footnote:[Inorganic extraneous matter includes stones, sand, dust, etc.] | 0,5 | 0,5 | 0,5 | 0,5
|
127
|
+
| Paddy | 2,5 | 0,3 | 2,5 | 0,3
|
128
|
+
| Husked rice, non-parboiled | Not applicable | 1,0 | 1,0 | 1,0
|
129
|
+
| Milled rice, non-parboiled | 1,0 | Not applicable | 1,0 | 1,0
|
130
|
+
| Husked rice, parboiled | 1,0 | 1,0 | Not applicable | 1,0
|
131
|
+
| Milled rice, parboiled | 1,0 | 1,0 | 1,0 | Not applicable
|
132
|
+
| Chips | 0,1 | 0,1 | 0,1 | 0,1
|
133
|
+
| HDK | 2,0 footnote:defectsmass[The maximum permissible mass fraction of defects shall be determined with respect to the mass fraction obtained after milling.] | 2,0 | 2,0 footnote:defectsmass[] | 2,0
|
134
|
+
| Damaged kernels | 4,0 | 3,0 | 4,0 | 3,0
|
135
|
+
| Immature and/or malformed kernels | 8,0 | 2,0 | 8,0 | 2,0
|
136
|
+
| Chalky kernels | 5,0 footnote:defectsmass[] | 5,0 | Not applicable | Not applicable
|
137
|
+
| Red kernels and red-streaked kernels | 12,0 | 12,0 | 12,0 footnote:defectsmass[] | 12,0
|
138
|
+
| Partly gelatinized kernels | Not applicable | Not applicable | 11,0 footnote:defectsmass[] | 11,0
|
139
|
+
| Pecks | Not applicable | Not applicable | 4,0 | 2,0
|
140
|
+
| Waxy rice | 1,0 footnote:defectsmass[] | 1,0 | 1,0 footnote:defectsmass[] | 1,0
|
141
|
+
|
142
|
+
5+a| Live insects shall not be present. Dead insects shall be included in extraneous matter.
|
143
|
+
|===
|
144
|
+
INPUT
|
145
|
+
#{BLANK_HDR}
|
146
|
+
<sections>
|
147
|
+
<table id="_">
|
148
|
+
<name>Maximum permissible mass fraction of defects</name>
|
149
|
+
<thead>
|
150
|
+
<tr>
|
151
|
+
<th rowspan="2" align="left">Defect</th>
|
152
|
+
<th colspan="4" align="center">Maximum permissible mass fraction of defects in husked rice<br/>
|
153
|
+
<stem type="MathML"><math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>w</mi><mo>max</mo></msub></math></stem></th>
|
154
|
+
</tr>
|
155
|
+
<tr>
|
156
|
+
<th align="left">in husked rice</th>
|
157
|
+
<th align="center">in milled rice (non-glutinous)</th>
|
158
|
+
<th align="center">in husked parboiled rice</th>
|
159
|
+
<th align="center">in milled parboiled rice</th>
|
160
|
+
</tr></thead>
|
161
|
+
<tbody>
|
162
|
+
|
163
|
+
<tr>
|
164
|
+
<td align="left">Extraneous matter: organic<fn reference="a">
|
165
|
+
<p id="_">Organic extraneous matter includes foreign seeds, husks, bran, parts of straw, etc.</p>
|
166
|
+
</fn></td>
|
167
|
+
<td align="center">1,0</td>
|
168
|
+
<td align="center">0,5</td>
|
169
|
+
<td align="center">1,0</td>
|
170
|
+
<td align="center">0,5</td>
|
171
|
+
</tr>
|
172
|
+
<tr>
|
173
|
+
<td align="left">Extraneous matter: inorganic<fn reference="b">
|
174
|
+
<p id="_">Inorganic extraneous matter includes stones, sand, dust, etc.</p>
|
175
|
+
</fn></td>
|
176
|
+
<td align="center">0,5</td>
|
177
|
+
<td align="center">0,5</td>
|
178
|
+
<td align="center">0,5</td>
|
179
|
+
<td align="center">0,5</td>
|
180
|
+
</tr>
|
181
|
+
<tr>
|
182
|
+
<td align="left">Paddy</td>
|
183
|
+
<td align="center">2,5</td>
|
184
|
+
<td align="center">0,3</td>
|
185
|
+
<td align="center">2,5</td>
|
186
|
+
<td align="center">0,3</td>
|
187
|
+
</tr>
|
188
|
+
<tr>
|
189
|
+
<td align="left">Husked rice, non-parboiled</td>
|
190
|
+
<td align="center">Not applicable</td>
|
191
|
+
<td align="center">1,0</td>
|
192
|
+
<td align="center">1,0</td>
|
193
|
+
<td align="center">1,0</td>
|
194
|
+
</tr>
|
195
|
+
<tr>
|
196
|
+
<td align="left">Milled rice, non-parboiled</td>
|
197
|
+
<td align="center">1,0</td>
|
198
|
+
<td align="center">Not applicable</td>
|
199
|
+
<td align="center">1,0</td>
|
200
|
+
<td align="center">1,0</td>
|
201
|
+
</tr>
|
202
|
+
<tr>
|
203
|
+
<td align="left">Husked rice, parboiled</td>
|
204
|
+
<td align="center">1,0</td>
|
205
|
+
<td align="center">1,0</td>
|
206
|
+
<td align="center">Not applicable</td>
|
207
|
+
<td align="center">1,0</td>
|
208
|
+
</tr>
|
209
|
+
<tr>
|
210
|
+
<td align="left">Milled rice, parboiled</td>
|
211
|
+
<td align="center">1,0</td>
|
212
|
+
<td align="center">1,0</td>
|
213
|
+
<td align="center">1,0</td>
|
214
|
+
<td align="center">Not applicable</td>
|
215
|
+
</tr>
|
216
|
+
<tr>
|
217
|
+
<td align="left">Chips</td>
|
218
|
+
<td align="center">0,1</td>
|
219
|
+
<td align="center">0,1</td>
|
220
|
+
<td align="center">0,1</td>
|
221
|
+
<td align="center">0,1</td>
|
222
|
+
</tr>
|
223
|
+
<tr>
|
224
|
+
<td align="left">HDK</td>
|
225
|
+
<td align="center">2,0<fn reference="c">
|
226
|
+
<p id="_">The maximum permissible mass fraction of defects shall be determined with respect to the mass fraction obtained after milling.</p>
|
227
|
+
</fn></td>
|
228
|
+
<td align="center">2,0</td>
|
229
|
+
<td align="center">2,0<fn reference="c">
|
230
|
+
<p id="_">The maximum permissible mass fraction of defects shall be determined with respect to the mass fraction obtained after milling.</p>
|
231
|
+
</fn></td>
|
232
|
+
<td align="center">2,0</td>
|
233
|
+
</tr>
|
234
|
+
<tr>
|
235
|
+
<td align="left">Damaged kernels</td>
|
236
|
+
<td align="center">4,0</td>
|
237
|
+
<td align="center">3,0</td>
|
238
|
+
<td align="center">4,0</td>
|
239
|
+
<td align="center">3,0</td>
|
240
|
+
</tr>
|
241
|
+
<tr>
|
242
|
+
<td align="left">Immature and/or malformed kernels</td>
|
243
|
+
<td align="center">8,0</td>
|
244
|
+
<td align="center">2,0</td>
|
245
|
+
<td align="center">8,0</td>
|
246
|
+
<td align="center">2,0</td>
|
247
|
+
</tr>
|
248
|
+
<tr>
|
249
|
+
<td align="left">Chalky kernels</td>
|
250
|
+
<td align="center">5,0<fn reference="c">
|
251
|
+
<p id="_">The maximum permissible mass fraction of defects shall be determined with respect to the mass fraction obtained after milling.</p>
|
252
|
+
</fn></td>
|
253
|
+
<td align="center">5,0</td>
|
254
|
+
<td align="center">Not applicable</td>
|
255
|
+
<td align="center">Not applicable</td>
|
256
|
+
</tr>
|
257
|
+
<tr>
|
258
|
+
<td align="left">Red kernels and red-streaked kernels</td>
|
259
|
+
<td align="center">12,0</td>
|
260
|
+
<td align="center">12,0</td>
|
261
|
+
<td align="center">12,0<fn reference="c">
|
262
|
+
<p id="_">The maximum permissible mass fraction of defects shall be determined with respect to the mass fraction obtained after milling.</p>
|
263
|
+
</fn></td>
|
264
|
+
<td align="center">12,0</td>
|
265
|
+
</tr>
|
266
|
+
<tr>
|
267
|
+
<td align="left">Partly gelatinized kernels</td>
|
268
|
+
<td align="center">Not applicable</td>
|
269
|
+
<td align="center">Not applicable</td>
|
270
|
+
<td align="center">11,0<fn reference="c">
|
271
|
+
<p id="_">The maximum permissible mass fraction of defects shall be determined with respect to the mass fraction obtained after milling.</p>
|
272
|
+
</fn></td>
|
273
|
+
<td align="center">11,0</td>
|
274
|
+
</tr>
|
275
|
+
<tr>
|
276
|
+
<td align="left">Pecks</td>
|
277
|
+
<td align="center">Not applicable</td>
|
278
|
+
<td align="center">Not applicable</td>
|
279
|
+
<td align="center">4,0</td>
|
280
|
+
<td align="center">2,0</td>
|
281
|
+
</tr>
|
282
|
+
<tr>
|
283
|
+
<td align="left">Waxy rice</td>
|
284
|
+
<td align="center">1,0<fn reference="c">
|
285
|
+
<p id="_">The maximum permissible mass fraction of defects shall be determined with respect to the mass fraction obtained after milling.</p>
|
286
|
+
</fn></td>
|
287
|
+
<td align="center">1,0</td>
|
288
|
+
<td align="center">1,0<fn reference="c">
|
289
|
+
<p id="_">The maximum permissible mass fraction of defects shall be determined with respect to the mass fraction obtained after milling.</p>
|
290
|
+
</fn></td>
|
291
|
+
<td align="center">1,0</td>
|
292
|
+
</tr>
|
293
|
+
</tbody>
|
294
|
+
<tfoot>
|
295
|
+
<tr>
|
296
|
+
<td colspan="5" align="left">
|
297
|
+
<p id="_">Live insects shall not be present. Dead insects shall be included in extraneous matter.</p>
|
298
|
+
</td>
|
299
|
+
</tr>
|
300
|
+
</tfoot>
|
301
|
+
</table>
|
302
|
+
</sections>
|
303
|
+
</iso-standard>
|
304
|
+
OUTPUT
|
305
|
+
end
|
306
|
+
end
|
307
|
+
|
@@ -0,0 +1,1127 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
require "fileutils"
|
3
|
+
|
4
|
+
RSpec.describe Asciidoctor::ISO do
|
5
|
+
|
6
|
+
it "Warns of illegal doctype" do
|
7
|
+
FileUtils.rm_f "test.err"
|
8
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
9
|
+
= Document title
|
10
|
+
Author
|
11
|
+
:docfile: test.adoc
|
12
|
+
:nodoc:
|
13
|
+
:no-isobib:
|
14
|
+
:doctype: pizza
|
15
|
+
|
16
|
+
text
|
17
|
+
INPUT
|
18
|
+
expect(File.read("test.err")).to include "pizza is not a recognised document type"
|
19
|
+
end
|
20
|
+
|
21
|
+
it "Warns of illegal script" do
|
22
|
+
FileUtils.rm_f "test.err"
|
23
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
24
|
+
= Document title
|
25
|
+
Author
|
26
|
+
:docfile: test.adoc
|
27
|
+
:nodoc:
|
28
|
+
:no-isobib:
|
29
|
+
:script: pizza
|
30
|
+
|
31
|
+
text
|
32
|
+
INPUT
|
33
|
+
expect(File.read("test.err")).to include "pizza is not a recognised script"
|
34
|
+
end
|
35
|
+
|
36
|
+
it "Warns of illegal stage" do
|
37
|
+
FileUtils.rm_f "test.err"
|
38
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
39
|
+
= Document title
|
40
|
+
Author
|
41
|
+
:docfile: test.adoc
|
42
|
+
:nodoc:
|
43
|
+
:no-isobib:
|
44
|
+
:status: pizza
|
45
|
+
|
46
|
+
text
|
47
|
+
INPUT
|
48
|
+
expect(File.read("test.err")).to include "pizza is not a recognised stage"
|
49
|
+
end
|
50
|
+
|
51
|
+
it "Warns of illegal substage" do
|
52
|
+
FileUtils.rm_f "test.err"
|
53
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
54
|
+
= Document title
|
55
|
+
Author
|
56
|
+
:docfile: test.adoc
|
57
|
+
:nodoc:
|
58
|
+
:no-isobib:
|
59
|
+
:status: 60
|
60
|
+
:docsubstage: pizza
|
61
|
+
|
62
|
+
text
|
63
|
+
INPUT
|
64
|
+
expect(File.read("test.err")).to include "pizza is not a recognised substage"
|
65
|
+
end
|
66
|
+
|
67
|
+
it "Warns of illegal iteration" do
|
68
|
+
FileUtils.rm_f "test.err"
|
69
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
70
|
+
= Document title
|
71
|
+
Author
|
72
|
+
:docfile: test.adoc
|
73
|
+
:nodoc:
|
74
|
+
:no-isobib:
|
75
|
+
:status: 60
|
76
|
+
:iteration: pizza
|
77
|
+
|
78
|
+
text
|
79
|
+
INPUT
|
80
|
+
expect(File.read("test.err")).to include "pizza is not a recognised iteration"
|
81
|
+
end
|
82
|
+
|
83
|
+
it "Warns of illegal script" do
|
84
|
+
FileUtils.rm_f "test.err"
|
85
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
86
|
+
= Document title
|
87
|
+
Author
|
88
|
+
:docfile: test.adoc
|
89
|
+
:nodoc:
|
90
|
+
:no-isobib:
|
91
|
+
:script: pizza
|
92
|
+
|
93
|
+
text
|
94
|
+
INPUT
|
95
|
+
expect(File.read("test.err")).to include "pizza is not a recognised script"
|
96
|
+
end
|
97
|
+
|
98
|
+
|
99
|
+
it "warns that introduction may contain requirement" do
|
100
|
+
FileUtils.rm_f "test.err"
|
101
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
102
|
+
#{VALIDATING_BLANK_HDR}
|
103
|
+
== Introduction
|
104
|
+
|
105
|
+
The widget is required not to be larger than 15 cm.
|
106
|
+
INPUT
|
107
|
+
expect(File.read("test.err")).to include "Introduction may contain requirement"
|
108
|
+
end
|
109
|
+
|
110
|
+
it "warns that foreword may contain recommendation" do
|
111
|
+
FileUtils.rm_f "test.err"
|
112
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
113
|
+
#{VALIDATING_BLANK_HDR}
|
114
|
+
|
115
|
+
It is not recommended that widgets should be larger than 15 cm.
|
116
|
+
|
117
|
+
== Clause
|
118
|
+
INPUT
|
119
|
+
expect(File.read("test.err")).to include "Foreword may contain recommendation"
|
120
|
+
end
|
121
|
+
|
122
|
+
it "warns that foreword may contain permission" do
|
123
|
+
FileUtils.rm_f "test.err"
|
124
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
125
|
+
#{VALIDATING_BLANK_HDR}
|
126
|
+
|
127
|
+
No widget is required to be larger than 15 cm.
|
128
|
+
|
129
|
+
== Clause
|
130
|
+
INPUT
|
131
|
+
expect(File.read("test.err")).to include "Foreword may contain permission"
|
132
|
+
end
|
133
|
+
|
134
|
+
it "warns that scope may contain recommendation" do
|
135
|
+
FileUtils.rm_f "test.err"
|
136
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
137
|
+
#{VALIDATING_BLANK_HDR}
|
138
|
+
|
139
|
+
== Scope
|
140
|
+
It is not recommended that widgets should be larger than 15 cm.
|
141
|
+
INPUT
|
142
|
+
expect(File.read("test.err")).to include "Scope may contain recommendation"
|
143
|
+
end
|
144
|
+
|
145
|
+
it "warns that definition may contain requirement" do
|
146
|
+
FileUtils.rm_f "test.err"
|
147
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
148
|
+
#{VALIDATING_BLANK_HDR}
|
149
|
+
|
150
|
+
== Terms and Definitions
|
151
|
+
|
152
|
+
=== Term1
|
153
|
+
|
154
|
+
It is required that there is a definition.
|
155
|
+
|
156
|
+
INPUT
|
157
|
+
expect(File.read("test.err")).to include "Definition may contain requirement"
|
158
|
+
end
|
159
|
+
|
160
|
+
it "warns that term example may contain recommendation" do
|
161
|
+
FileUtils.rm_f "test.err"
|
162
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
163
|
+
#{VALIDATING_BLANK_HDR}
|
164
|
+
|
165
|
+
== Terms and Definitions
|
166
|
+
|
167
|
+
=== Term
|
168
|
+
|
169
|
+
[example]
|
170
|
+
It is not recommended that widgets should be larger than 15 cm.
|
171
|
+
INPUT
|
172
|
+
expect(File.read("test.err")).to include "Example may contain recommendation"
|
173
|
+
end
|
174
|
+
|
175
|
+
it "warns that note may contain recommendation" do
|
176
|
+
FileUtils.rm_f "test.err"
|
177
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
178
|
+
#{VALIDATING_BLANK_HDR}
|
179
|
+
|
180
|
+
NOTE: It is not recommended that widgets should be larger than 15 cm.
|
181
|
+
INPUT
|
182
|
+
expect(File.read("test.err")).to include "Note may contain recommendation"
|
183
|
+
end
|
184
|
+
|
185
|
+
it "warns that footnote may contain recommendation" do
|
186
|
+
FileUtils.rm_f "test.err"
|
187
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
188
|
+
#{VALIDATING_BLANK_HDR}
|
189
|
+
|
190
|
+
footnote:[It is not recommended that widgets should be larger than 15 cm.]
|
191
|
+
INPUT
|
192
|
+
expect(File.read("test.err")).to include "Footnote may contain recommendation"
|
193
|
+
end
|
194
|
+
|
195
|
+
it "warns that term source is not in expected format" do
|
196
|
+
FileUtils.rm_f "test.err"
|
197
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
198
|
+
#{VALIDATING_BLANK_HDR}
|
199
|
+
|
200
|
+
[.source]
|
201
|
+
I am a generic paragraph
|
202
|
+
INPUT
|
203
|
+
expect(File.read("test.err")).to include "term reference not in expected format"
|
204
|
+
end
|
205
|
+
|
206
|
+
it "warns that figure does not have title" do
|
207
|
+
FileUtils.rm_f "test.err"
|
208
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
209
|
+
#{VALIDATING_BLANK_HDR}
|
210
|
+
|
211
|
+
image::spec/examples/rice_images/rice_image1.png[]
|
212
|
+
INPUT
|
213
|
+
expect(File.read("test.err")).to include "Figure should have title"
|
214
|
+
end
|
215
|
+
|
216
|
+
it "warns that callouts do not match annotations" do
|
217
|
+
FileUtils.rm_f "test.err"
|
218
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
219
|
+
#{VALIDATING_BLANK_HDR}
|
220
|
+
[source,ruby]
|
221
|
+
--
|
222
|
+
puts "Hello, world." <1>
|
223
|
+
%w{a b c}.each do |x|
|
224
|
+
puts x
|
225
|
+
end
|
226
|
+
--
|
227
|
+
<1> This is one callout
|
228
|
+
<2> This is another callout
|
229
|
+
INPUT
|
230
|
+
expect(File.read("test.err")).to include "mismatch of callouts and annotations"
|
231
|
+
end
|
232
|
+
|
233
|
+
it "warns that term source is not a real reference" do
|
234
|
+
FileUtils.rm_f "test.err"
|
235
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
236
|
+
#{VALIDATING_BLANK_HDR}
|
237
|
+
|
238
|
+
[.source]
|
239
|
+
<<iso123>>
|
240
|
+
INPUT
|
241
|
+
expect(File.read("test.err")).to include "iso123 does not have a corresponding anchor ID in the bibliography"
|
242
|
+
end
|
243
|
+
|
244
|
+
it "warns that undated reference has locality" do
|
245
|
+
FileUtils.rm_f "test.err"
|
246
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
247
|
+
#{VALIDATING_BLANK_HDR}
|
248
|
+
|
249
|
+
== Scope
|
250
|
+
<<iso123,clause=1>>
|
251
|
+
|
252
|
+
[bibliography]
|
253
|
+
== Normative References
|
254
|
+
* [[[iso123,ISO 123]]] _Standard_
|
255
|
+
INPUT
|
256
|
+
expect(File.read("test.err")).to include "undated reference ISO 123 should not contain specific elements"
|
257
|
+
end
|
258
|
+
|
259
|
+
it "do not warn that undated reference which is a bibliographic reference has locality" do
|
260
|
+
FileUtils.rm_f "test.err"
|
261
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
262
|
+
#{VALIDATING_BLANK_HDR}
|
263
|
+
|
264
|
+
== Scope
|
265
|
+
<<iso123,clause=1>>
|
266
|
+
|
267
|
+
[bibliography]
|
268
|
+
== Bibliography
|
269
|
+
* [[[iso123,1]]] _Standard_
|
270
|
+
INPUT
|
271
|
+
expect(File.read("test.err")).not_to include "undated reference [1] should not contain specific elements"
|
272
|
+
end
|
273
|
+
|
274
|
+
it "do not warn that undated IEV reference has locality" do
|
275
|
+
FileUtils.rm_f "test.err"
|
276
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
277
|
+
#{VALIDATING_BLANK_HDR}
|
278
|
+
|
279
|
+
== Scope
|
280
|
+
<<iev,clause=1>>
|
281
|
+
|
282
|
+
[bibliography]
|
283
|
+
== Normative References
|
284
|
+
* [[[iev,IEV]]] _Standard_
|
285
|
+
INPUT
|
286
|
+
expect(File.read("test.err")).not_to include "undated reference IEV should not contain specific elements"
|
287
|
+
end
|
288
|
+
|
289
|
+
it "do not warn that in print has locality" do
|
290
|
+
FileUtils.rm_f "test.err"
|
291
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
292
|
+
#{VALIDATING_BLANK_HDR}
|
293
|
+
|
294
|
+
== Scope
|
295
|
+
<<iev,clause=1>>
|
296
|
+
|
297
|
+
[bibliography]
|
298
|
+
== Normative References
|
299
|
+
* [[[iev,ISO 123:--]]] _Standard_
|
300
|
+
INPUT
|
301
|
+
expect(File.read("test.err")).not_to include "undated reference ISO 123 should not contain specific elements"
|
302
|
+
end
|
303
|
+
|
304
|
+
it "warns of Non-reference in bibliography" do
|
305
|
+
FileUtils.rm_f "test.err"
|
306
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
307
|
+
#{VALIDATING_BLANK_HDR}
|
308
|
+
|
309
|
+
== Normative References
|
310
|
+
* I am not a reference
|
311
|
+
INPUT
|
312
|
+
expect(File.read("test.err")).to include "no anchor on reference"
|
313
|
+
end
|
314
|
+
|
315
|
+
it "warns of Non-ISO reference in Normative References" do
|
316
|
+
FileUtils.rm_f "test.err"
|
317
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
318
|
+
#{VALIDATING_BLANK_HDR}
|
319
|
+
|
320
|
+
[bibliography]
|
321
|
+
== Normative References
|
322
|
+
* [[[XYZ,IESO 121]]] _Standard_
|
323
|
+
INPUT
|
324
|
+
expect(File.read("test.err")).to include "non-ISO/IEC reference not expected as normative"
|
325
|
+
end
|
326
|
+
|
327
|
+
it "warns that Scope contains subclauses" do
|
328
|
+
FileUtils.rm_f "test.err"
|
329
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
330
|
+
#{VALIDATING_BLANK_HDR}
|
331
|
+
|
332
|
+
== Scope
|
333
|
+
|
334
|
+
=== Scope subclause
|
335
|
+
INPUT
|
336
|
+
expect(File.read("test.err")).to include "Scope contains subclauses: should be succinct"
|
337
|
+
end
|
338
|
+
|
339
|
+
|
340
|
+
it "warns that Table should have title" do
|
341
|
+
FileUtils.rm_f "test.err"
|
342
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
343
|
+
#{VALIDATING_BLANK_HDR}
|
344
|
+
|
345
|
+
|===
|
346
|
+
|a |b |c
|
347
|
+
|===
|
348
|
+
INPUT
|
349
|
+
expect(File.read("test.err")).to include "Table should have title"
|
350
|
+
end
|
351
|
+
|
352
|
+
it "gives Style warning if number not broken up in threes" do
|
353
|
+
FileUtils.rm_f "test.err"
|
354
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
355
|
+
#{VALIDATING_BLANK_HDR}
|
356
|
+
|
357
|
+
== Clause
|
358
|
+
12121
|
359
|
+
INPUT
|
360
|
+
expect(File.read("test.err")).to include "number not broken up in threes"
|
361
|
+
end
|
362
|
+
|
363
|
+
it "gives No style warning if number not broken up in threes is ISO reference" do
|
364
|
+
FileUtils.rm_f "test.err"
|
365
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
366
|
+
#{VALIDATING_BLANK_HDR}
|
367
|
+
|
368
|
+
== Clause
|
369
|
+
ISO 12121
|
370
|
+
INPUT
|
371
|
+
expect(File.read("test.err")).not_to include "number not broken up in threes"
|
372
|
+
end
|
373
|
+
|
374
|
+
it "Style warning if decimal point" do
|
375
|
+
FileUtils.rm_f "test.err"
|
376
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
377
|
+
#{VALIDATING_BLANK_HDR}
|
378
|
+
|
379
|
+
== Clause
|
380
|
+
8.1
|
381
|
+
INPUT
|
382
|
+
expect(File.read("test.err")).to include "possible decimal point"
|
383
|
+
end
|
384
|
+
|
385
|
+
it "Style warning if billion used" do
|
386
|
+
FileUtils.rm_f "test.err"
|
387
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
388
|
+
#{VALIDATING_BLANK_HDR}
|
389
|
+
|
390
|
+
== Clause
|
391
|
+
"Billions" are a term of art.
|
392
|
+
INPUT
|
393
|
+
expect(File.read("test.err")).to include "ambiguous number"
|
394
|
+
end
|
395
|
+
|
396
|
+
it "Style warning if no space before percent sign" do
|
397
|
+
FileUtils.rm_f "test.err"
|
398
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
399
|
+
#{VALIDATING_BLANK_HDR}
|
400
|
+
|
401
|
+
== Clause
|
402
|
+
95%
|
403
|
+
INPUT
|
404
|
+
expect(File.read("test.err")).to include "no space before percent sign"
|
405
|
+
end
|
406
|
+
|
407
|
+
it "Style warning if unbracketed tolerance before percent sign" do
|
408
|
+
FileUtils.rm_f "test.err"
|
409
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
410
|
+
#{VALIDATING_BLANK_HDR}
|
411
|
+
|
412
|
+
== Clause
|
413
|
+
95 ± 5 %
|
414
|
+
INPUT
|
415
|
+
expect(File.read("test.err")).to include "unbracketed tolerance before percent sign"
|
416
|
+
end
|
417
|
+
|
418
|
+
it "Style warning if dots in abbreviation" do
|
419
|
+
FileUtils.rm_f "test.err"
|
420
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
421
|
+
#{VALIDATING_BLANK_HDR}
|
422
|
+
|
423
|
+
== Clause
|
424
|
+
r.p.m.
|
425
|
+
INPUT
|
426
|
+
expect(File.read("test.err")).to include "no dots in abbreviation"
|
427
|
+
end
|
428
|
+
|
429
|
+
it "No Style warning if dots in abbreviation are e.g." do
|
430
|
+
FileUtils.rm_f "test.err"
|
431
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
432
|
+
#{VALIDATING_BLANK_HDR}
|
433
|
+
|
434
|
+
== Clause
|
435
|
+
e.g. 5
|
436
|
+
INPUT
|
437
|
+
expect(File.read("test.err")).not_to include "no dots in abbreviation"
|
438
|
+
end
|
439
|
+
|
440
|
+
it "Style warning if ppm used" do
|
441
|
+
FileUtils.rm_f "test.err"
|
442
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
443
|
+
#{VALIDATING_BLANK_HDR}
|
444
|
+
|
445
|
+
== Clause
|
446
|
+
5 ppm
|
447
|
+
INPUT
|
448
|
+
expect(File.read("test.err")).to include "language-specific abbreviation"
|
449
|
+
end
|
450
|
+
|
451
|
+
it "Style warning if space between number and degree" do
|
452
|
+
FileUtils.rm_f "test.err"
|
453
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
454
|
+
#{VALIDATING_BLANK_HDR}
|
455
|
+
|
456
|
+
== Clause
|
457
|
+
5 °
|
458
|
+
INPUT
|
459
|
+
expect(File.read("test.err")).to include "space between number and degrees/minutes/seconds"
|
460
|
+
end
|
461
|
+
|
462
|
+
it "Style warning if no space between number and SI unit" do
|
463
|
+
FileUtils.rm_f "test.err"
|
464
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
465
|
+
#{VALIDATING_BLANK_HDR}
|
466
|
+
|
467
|
+
== Clause
|
468
|
+
A measurement of 5Bq was taken.
|
469
|
+
INPUT
|
470
|
+
expect(File.read("test.err")).to include "no space between number and SI unit"
|
471
|
+
end
|
472
|
+
|
473
|
+
it "Style warning if mins used" do
|
474
|
+
FileUtils.rm_f "test.err"
|
475
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
476
|
+
#{VALIDATING_BLANK_HDR}
|
477
|
+
|
478
|
+
== Clause
|
479
|
+
5 mins
|
480
|
+
INPUT
|
481
|
+
expect(File.read("test.err")).to include "non-standard unit"
|
482
|
+
end
|
483
|
+
|
484
|
+
# can't test: our asciidoc template won't allow this to be generated
|
485
|
+
# it "Style warning if foreword contains subclauses" do
|
486
|
+
# expect { Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true) }.to output(%r{non-standard unit}).to_stderr
|
487
|
+
# #{VALIDATING_BLANK_HDR}
|
488
|
+
#
|
489
|
+
# INPUT
|
490
|
+
# end
|
491
|
+
|
492
|
+
# can't test: we strip out any such content from Normative references preemptively
|
493
|
+
#it "Style warning if Normative References contains subclauses" do
|
494
|
+
#expect { Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true) }.to output(%r{normative references contains subclauses}).to_stderr
|
495
|
+
##{VALIDATING_BLANK_HDR}
|
496
|
+
#
|
497
|
+
#[bibliography]
|
498
|
+
#== Normative References
|
499
|
+
#
|
500
|
+
#=== Subsection
|
501
|
+
#INPUT
|
502
|
+
#end
|
503
|
+
|
504
|
+
it "Style warning if two Symbols and Abbreviated Terms sections" do
|
505
|
+
FileUtils.rm_f "test.err"
|
506
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
507
|
+
#{VALIDATING_BLANK_HDR}
|
508
|
+
|
509
|
+
== Terms and Abbreviations
|
510
|
+
|
511
|
+
=== Symbols and Abbreviated Terms
|
512
|
+
|
513
|
+
== Symbols and Abbreviated Terms
|
514
|
+
INPUT
|
515
|
+
expect(File.read("test.err")).to include "Only one Symbols and Abbreviated Terms section in the standard"
|
516
|
+
end
|
517
|
+
|
518
|
+
it "Style warning if Symbols and Abbreviated Terms contains extraneous matter" do
|
519
|
+
FileUtils.rm_f "test.err"
|
520
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
521
|
+
#{VALIDATING_BLANK_HDR}
|
522
|
+
|
523
|
+
== Symbols and Abbreviated Terms
|
524
|
+
|
525
|
+
Paragraph
|
526
|
+
INPUT
|
527
|
+
expect(File.read("test.err")).to include "Symbols and Abbreviated Terms can only contain a definition list"
|
528
|
+
end
|
529
|
+
|
530
|
+
it "Warning if missing foreword" do
|
531
|
+
FileUtils.rm_f "test.err"
|
532
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
533
|
+
#{VALIDATING_BLANK_HDR}
|
534
|
+
|
535
|
+
== Symbols and Abbreviated Terms
|
536
|
+
|
537
|
+
Paragraph
|
538
|
+
INPUT
|
539
|
+
expect(File.read("test.err")).to include "Initial section must be (content) Foreword"
|
540
|
+
end
|
541
|
+
|
542
|
+
it "Warning if do not start with scope or introduction" do
|
543
|
+
FileUtils.rm_f "test.err"
|
544
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
545
|
+
#{VALIDATING_BLANK_HDR}
|
546
|
+
Foreword
|
547
|
+
|
548
|
+
== Symbols and Abbreviated Terms
|
549
|
+
|
550
|
+
Paragraph
|
551
|
+
INPUT
|
552
|
+
expect(File.read("test.err")).to include "Prefatory material must be followed by (clause) Scope"
|
553
|
+
end
|
554
|
+
|
555
|
+
it "Warning if introduction not followed by scope" do
|
556
|
+
FileUtils.rm_f "test.err"
|
557
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
558
|
+
#{VALIDATING_BLANK_HDR}
|
559
|
+
|
560
|
+
.Foreword
|
561
|
+
Foreword
|
562
|
+
|
563
|
+
== Introduction
|
564
|
+
|
565
|
+
== Symbols and Abbreviated Terms
|
566
|
+
|
567
|
+
Paragraph
|
568
|
+
INPUT
|
569
|
+
expect(File.read("test.err")).to include "Prefatory material must be followed by (clause) Scope"
|
570
|
+
end
|
571
|
+
|
572
|
+
it "Warning if normative references not followed by terms and definitions" do
|
573
|
+
FileUtils.rm_f "test.err"
|
574
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
575
|
+
#{VALIDATING_BLANK_HDR}
|
576
|
+
|
577
|
+
.Foreword
|
578
|
+
Foreword
|
579
|
+
|
580
|
+
== Scope
|
581
|
+
|
582
|
+
[bibliography]
|
583
|
+
== Normative References
|
584
|
+
|
585
|
+
== Symbols and Abbreviated Terms
|
586
|
+
|
587
|
+
Paragraph
|
588
|
+
INPUT
|
589
|
+
expect(File.read("test.err")).to include "Normative References must be followed by Terms and Definitions"
|
590
|
+
end
|
591
|
+
|
592
|
+
it "Warning if there are no clauses in the document" do
|
593
|
+
FileUtils.rm_f "test.err"
|
594
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
595
|
+
#{VALIDATING_BLANK_HDR}
|
596
|
+
|
597
|
+
.Foreword
|
598
|
+
Foreword
|
599
|
+
|
600
|
+
== Scope
|
601
|
+
|
602
|
+
[bibliography]
|
603
|
+
== Normative References
|
604
|
+
|
605
|
+
== Terms and Definitions
|
606
|
+
|
607
|
+
== Symbols and Abbreviated Terms
|
608
|
+
|
609
|
+
INPUT
|
610
|
+
expect(File.read("test.err")).to include "Document must contain at least one clause"
|
611
|
+
end
|
612
|
+
|
613
|
+
it "Warning if scope occurs after Terms and Definitions" do
|
614
|
+
FileUtils.rm_f "test.err"
|
615
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
616
|
+
#{VALIDATING_BLANK_HDR}
|
617
|
+
|
618
|
+
.Foreword
|
619
|
+
Foreword
|
620
|
+
|
621
|
+
== Scope
|
622
|
+
|
623
|
+
[bibliography]
|
624
|
+
== Normative References
|
625
|
+
|
626
|
+
== Terms and Definitions
|
627
|
+
|
628
|
+
== Clause
|
629
|
+
|
630
|
+
== Scope
|
631
|
+
|
632
|
+
INPUT
|
633
|
+
expect(File.read("test.err")).to include "Scope must occur before Terms and Definitions"
|
634
|
+
end
|
635
|
+
|
636
|
+
it "Warning if Symbols and Abbreviated Terms does not occur immediately after Terms and Definitions" do
|
637
|
+
FileUtils.rm_f "test.err"
|
638
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
639
|
+
#{VALIDATING_BLANK_HDR}
|
640
|
+
|
641
|
+
.Foreword
|
642
|
+
Foreword
|
643
|
+
|
644
|
+
== Scope
|
645
|
+
|
646
|
+
[bibliography]
|
647
|
+
== Normative References
|
648
|
+
|
649
|
+
== Terms and Definitions
|
650
|
+
|
651
|
+
== Clause
|
652
|
+
|
653
|
+
== Symbols and Abbreviated Terms
|
654
|
+
|
655
|
+
INPUT
|
656
|
+
expect(File.read("test.err")).to include "Only annexes and references can follow clauses"
|
657
|
+
end
|
658
|
+
|
659
|
+
it "Warning if no normative references" do
|
660
|
+
FileUtils.rm_f "test.err"
|
661
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
662
|
+
#{VALIDATING_BLANK_HDR}
|
663
|
+
|
664
|
+
.Foreword
|
665
|
+
Foreword
|
666
|
+
|
667
|
+
== Scope
|
668
|
+
|
669
|
+
== Terms and Definitions
|
670
|
+
|
671
|
+
== Clause
|
672
|
+
|
673
|
+
[appendix]
|
674
|
+
== Appendix A
|
675
|
+
|
676
|
+
[appendix]
|
677
|
+
== Appendix B
|
678
|
+
|
679
|
+
[appendix]
|
680
|
+
== Appendix C
|
681
|
+
|
682
|
+
INPUT
|
683
|
+
expect(File.read("test.err")).to include "Document must include (references) Normative References"
|
684
|
+
end
|
685
|
+
|
686
|
+
it "Warning if final section is not named Bibliography" do
|
687
|
+
FileUtils.rm_f "test.err"
|
688
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
689
|
+
#{VALIDATING_BLANK_HDR}
|
690
|
+
|
691
|
+
.Foreword
|
692
|
+
Foreword
|
693
|
+
|
694
|
+
== Scope
|
695
|
+
|
696
|
+
[bibliography]
|
697
|
+
== Normative References
|
698
|
+
|
699
|
+
== Terms and Definitions
|
700
|
+
|
701
|
+
== Clause
|
702
|
+
|
703
|
+
[appendix]
|
704
|
+
== Appendix A
|
705
|
+
|
706
|
+
[appendix]
|
707
|
+
== Appendix B
|
708
|
+
|
709
|
+
[bibliography]
|
710
|
+
== Bibliography
|
711
|
+
|
712
|
+
[bibliography]
|
713
|
+
== Appendix C
|
714
|
+
|
715
|
+
INPUT
|
716
|
+
expect(File.read("test.err")).to include "There are sections after the final Bibliography"
|
717
|
+
end
|
718
|
+
|
719
|
+
it "Warning if final section is not styled Bibliography" do
|
720
|
+
FileUtils.rm_f "test.err"
|
721
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
722
|
+
#{VALIDATING_BLANK_HDR}
|
723
|
+
|
724
|
+
.Foreword
|
725
|
+
Foreword
|
726
|
+
|
727
|
+
== Scope
|
728
|
+
|
729
|
+
[bibliography]
|
730
|
+
== Normative References
|
731
|
+
|
732
|
+
== Terms and Definitions
|
733
|
+
|
734
|
+
== Clause
|
735
|
+
|
736
|
+
[appendix]
|
737
|
+
== Appendix A
|
738
|
+
|
739
|
+
[appendix]
|
740
|
+
== Appendix B
|
741
|
+
|
742
|
+
== Bibliography
|
743
|
+
|
744
|
+
INPUT
|
745
|
+
expect(File.read("test.err")).to include "Section not marked up as [bibliography]"
|
746
|
+
end
|
747
|
+
|
748
|
+
it "Warning if English title intro and no French title intro" do
|
749
|
+
FileUtils.rm_f "test.err"
|
750
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
751
|
+
= Document title
|
752
|
+
Author
|
753
|
+
:docfile: test.adoc
|
754
|
+
:nodoc:
|
755
|
+
:title-intro-en: Title
|
756
|
+
:no-isobib:
|
757
|
+
|
758
|
+
INPUT
|
759
|
+
expect(File.read("test.err")).to include "No French Title Intro"
|
760
|
+
end
|
761
|
+
|
762
|
+
it "Warning if French title intro and no English title intro" do
|
763
|
+
FileUtils.rm_f "test.err"
|
764
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
765
|
+
= Document title
|
766
|
+
Author
|
767
|
+
:docfile: test.adoc
|
768
|
+
:nodoc:
|
769
|
+
:title-intro-fr: Title
|
770
|
+
:no-isobib:
|
771
|
+
|
772
|
+
INPUT
|
773
|
+
expect(File.read("test.err")).to include "No English Title Intro"
|
774
|
+
end
|
775
|
+
|
776
|
+
|
777
|
+
it "Warning if English title and no French intro" do
|
778
|
+
FileUtils.rm_f "test.err"
|
779
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
780
|
+
= Document title
|
781
|
+
Author
|
782
|
+
:docfile: test.adoc
|
783
|
+
:nodoc:
|
784
|
+
:title-main-en: Title
|
785
|
+
:no-isobib:
|
786
|
+
|
787
|
+
INPUT
|
788
|
+
expect(File.read("test.err")).to include "No French Title"
|
789
|
+
end
|
790
|
+
|
791
|
+
it "Warning if French title and no English title" do
|
792
|
+
FileUtils.rm_f "test.err"
|
793
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
794
|
+
= Document title
|
795
|
+
Author
|
796
|
+
:docfile: test.adoc
|
797
|
+
:nodoc:
|
798
|
+
:title-main-fr: Title
|
799
|
+
:no-isobib:
|
800
|
+
|
801
|
+
INPUT
|
802
|
+
expect(File.read("test.err")).to include "No English Title"
|
803
|
+
end
|
804
|
+
|
805
|
+
it "Warning if English title part and no French title part" do
|
806
|
+
FileUtils.rm_f "test.err"
|
807
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
808
|
+
= Document title
|
809
|
+
Author
|
810
|
+
:docfile: test.adoc
|
811
|
+
:nodoc:
|
812
|
+
:title-part-en: Title
|
813
|
+
:no-isobib:
|
814
|
+
|
815
|
+
INPUT
|
816
|
+
expect(File.read("test.err")).to include "No French Title Part"
|
817
|
+
end
|
818
|
+
|
819
|
+
it "Warning if French title part and no English title part" do
|
820
|
+
FileUtils.rm_f "test.err"
|
821
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
822
|
+
= Document title
|
823
|
+
Author
|
824
|
+
:docfile: test.adoc
|
825
|
+
:nodoc:
|
826
|
+
:title-part-fr: Title
|
827
|
+
:no-isobib:
|
828
|
+
|
829
|
+
INPUT
|
830
|
+
expect(File.read("test.err")).to include "No English Title Part"
|
831
|
+
end
|
832
|
+
|
833
|
+
it "Warning if non-IEC document with subpart" do
|
834
|
+
FileUtils.rm_f "test.err"
|
835
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
836
|
+
= Document title
|
837
|
+
Author
|
838
|
+
:docfile: test.adoc
|
839
|
+
:nodoc:
|
840
|
+
:docnumber: 10
|
841
|
+
:partnumber: 1-1
|
842
|
+
:publisher: ISO
|
843
|
+
:no-isobib:
|
844
|
+
|
845
|
+
INPUT
|
846
|
+
expect(File.read("test.err")).to include "Subpart defined on non-IEC document"
|
847
|
+
end
|
848
|
+
|
849
|
+
it "No warning if joint IEC/non-IEC document with subpart" do
|
850
|
+
FileUtils.rm_f "test.err"
|
851
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
852
|
+
= Document title
|
853
|
+
Author
|
854
|
+
:docfile: test.adoc
|
855
|
+
:nodoc:
|
856
|
+
:docnumber: 10
|
857
|
+
:partnumber: 1-1
|
858
|
+
:publisher: ISO,IEC
|
859
|
+
:no-isobib:
|
860
|
+
|
861
|
+
INPUT
|
862
|
+
expect(File.read("test.err")).not_to include "Subpart defined on non-IEC document"
|
863
|
+
end
|
864
|
+
|
865
|
+
it "Warning if main title contains document type" do
|
866
|
+
FileUtils.rm_f "test.err"
|
867
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
868
|
+
= Document title
|
869
|
+
Author
|
870
|
+
:docfile: test.adoc
|
871
|
+
:nodoc:
|
872
|
+
:title-main-en: A Technical Specification on Widgets
|
873
|
+
:no-isobib:
|
874
|
+
|
875
|
+
INPUT
|
876
|
+
expect(File.read("test.err")).to include "Main Title may name document type"
|
877
|
+
end
|
878
|
+
|
879
|
+
it "Warning if intro title contains document type" do
|
880
|
+
FileUtils.rm_f "test.err"
|
881
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
882
|
+
= Document title
|
883
|
+
Author
|
884
|
+
:docfile: test.adoc
|
885
|
+
:nodoc:
|
886
|
+
:title-intro-en: A Technical Specification on Widgets
|
887
|
+
:no-isobib:
|
888
|
+
|
889
|
+
INPUT
|
890
|
+
expect(File.read("test.err")).to include "Title Intro may name document type"
|
891
|
+
end
|
892
|
+
|
893
|
+
it "Each first-level subclause must have a title" do
|
894
|
+
FileUtils.rm_f "test.err"
|
895
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
896
|
+
#{VALIDATING_BLANK_HDR}
|
897
|
+
== Clause
|
898
|
+
|
899
|
+
=== {blank}
|
900
|
+
INPUT
|
901
|
+
expect(File.read("test.err")).to include "each first-level subclause must have a title"
|
902
|
+
end
|
903
|
+
|
904
|
+
it "All subclauses must have a title, or none" do
|
905
|
+
FileUtils.rm_f "test.err"
|
906
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
907
|
+
#{VALIDATING_BLANK_HDR}
|
908
|
+
== Clause
|
909
|
+
|
910
|
+
=== Subclause
|
911
|
+
|
912
|
+
==== {blank}
|
913
|
+
|
914
|
+
==== Subsubclause
|
915
|
+
INPUT
|
916
|
+
expect(File.read("test.err")).to include "all subclauses must have a title, or none"
|
917
|
+
end
|
918
|
+
|
919
|
+
it "Warning if subclause is only child of its parent, or none" do
|
920
|
+
FileUtils.rm_f "test.err"
|
921
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
922
|
+
#{VALIDATING_BLANK_HDR}
|
923
|
+
== Clause
|
924
|
+
|
925
|
+
=== Subclause
|
926
|
+
|
927
|
+
INPUT
|
928
|
+
expect(File.read("test.err")).to include "subclause is only child"
|
929
|
+
end
|
930
|
+
|
931
|
+
it "Warning if invalid technical committee type" do
|
932
|
+
FileUtils.rm_f "test.err"
|
933
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
934
|
+
= Document title
|
935
|
+
Author
|
936
|
+
:docfile: test.adoc
|
937
|
+
:nodoc:
|
938
|
+
:technical-committee-type: X
|
939
|
+
:no-isobib:
|
940
|
+
|
941
|
+
INPUT
|
942
|
+
expect(File.read("test.err")).to include "invalid technical committee type"
|
943
|
+
end
|
944
|
+
|
945
|
+
it "Warning if invalid subcommittee type" do
|
946
|
+
FileUtils.rm_f "test.err"
|
947
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
948
|
+
= Document title
|
949
|
+
Author
|
950
|
+
:docfile: test.adoc
|
951
|
+
:nodoc:
|
952
|
+
:subcommittee-type: X
|
953
|
+
:no-isobib:
|
954
|
+
|
955
|
+
INPUT
|
956
|
+
expect(File.read("test.err")).to include "invalid subcommittee type"
|
957
|
+
end
|
958
|
+
|
959
|
+
it "Warning if invalid subcommittee type" do
|
960
|
+
FileUtils.rm_f "test.err"
|
961
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
962
|
+
= Document title
|
963
|
+
Author
|
964
|
+
:docfile: test.adoc
|
965
|
+
:nodoc:
|
966
|
+
:subcommittee-type: X
|
967
|
+
:no-isobib:
|
968
|
+
|
969
|
+
INPUT
|
970
|
+
expect(File.read("test.err")).to include "invalid subcommittee type"
|
971
|
+
end
|
972
|
+
|
973
|
+
it "Warning if 'see' crossreference points to normative section" do
|
974
|
+
FileUtils.rm_f "test.err"
|
975
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
976
|
+
#{VALIDATING_BLANK_HDR}
|
977
|
+
[[terms]]
|
978
|
+
== Terms and Definitions
|
979
|
+
|
980
|
+
== Clause
|
981
|
+
See <<terms>>
|
982
|
+
INPUT
|
983
|
+
expect(File.read("test.err")).to include "'see terms' is pointing to a normative section"
|
984
|
+
end
|
985
|
+
|
986
|
+
it "Warning if 'see' reference points to normative reference" do
|
987
|
+
FileUtils.rm_f "test.err"
|
988
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
989
|
+
#{VALIDATING_BLANK_HDR}
|
990
|
+
[bibliography]
|
991
|
+
== Normative References
|
992
|
+
* [[[terms,ISO 1]]] _References_
|
993
|
+
|
994
|
+
== Clause
|
995
|
+
See <<terms>>
|
996
|
+
INPUT
|
997
|
+
expect(File.read("test.err")).to include "is pointing to a normative reference"
|
998
|
+
end
|
999
|
+
|
1000
|
+
it "Warning if term definition starts with article" do
|
1001
|
+
FileUtils.rm_f "test.err"
|
1002
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
1003
|
+
#{VALIDATING_BLANK_HDR}
|
1004
|
+
== Terms and Definitions
|
1005
|
+
|
1006
|
+
=== Term
|
1007
|
+
|
1008
|
+
The definition of a term is a part of the specialized vocabulary of a particular field
|
1009
|
+
INPUT
|
1010
|
+
expect(File.read("test.err")).to include "term definition starts with article"
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
it "Warning if term definition ends with period" do
|
1014
|
+
FileUtils.rm_f "test.err"
|
1015
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
1016
|
+
#{VALIDATING_BLANK_HDR}
|
1017
|
+
== Terms and Definitions
|
1018
|
+
|
1019
|
+
=== Term
|
1020
|
+
|
1021
|
+
Part of the specialized vocabulary of a particular field.
|
1022
|
+
INPUT
|
1023
|
+
expect(File.read("test.err")).to include "term definition ends with period"
|
1024
|
+
end
|
1025
|
+
|
1026
|
+
it "validates document against ISO XML schema" do
|
1027
|
+
FileUtils.rm_f "test.err"
|
1028
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
1029
|
+
#{VALIDATING_BLANK_HDR}
|
1030
|
+
|
1031
|
+
[align=mid-air]
|
1032
|
+
Para
|
1033
|
+
INPUT
|
1034
|
+
expect(File.read("test.err")).to include 'value of attribute "align" is invalid; must be equal to'
|
1035
|
+
end
|
1036
|
+
|
1037
|
+
it "Warn if more than 7 levels of subclause" do
|
1038
|
+
FileUtils.rm_f "test.err"
|
1039
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
1040
|
+
= Document title
|
1041
|
+
Author
|
1042
|
+
:docfile: test.adoc
|
1043
|
+
:nodoc:
|
1044
|
+
:no-isobib:
|
1045
|
+
:language: fr
|
1046
|
+
|
1047
|
+
== Clause
|
1048
|
+
|
1049
|
+
=== Clause
|
1050
|
+
|
1051
|
+
==== Clause
|
1052
|
+
|
1053
|
+
===== Clause
|
1054
|
+
|
1055
|
+
====== Clause
|
1056
|
+
|
1057
|
+
[level=6]
|
1058
|
+
====== Clause
|
1059
|
+
|
1060
|
+
[level=7]
|
1061
|
+
====== Clause
|
1062
|
+
|
1063
|
+
[level=8]
|
1064
|
+
====== Clause
|
1065
|
+
|
1066
|
+
INPUT
|
1067
|
+
expect(File.read("test.err")).to include "Exceeds the maximum clause depth of 7"
|
1068
|
+
end
|
1069
|
+
|
1070
|
+
it "Do not warn if not more than 7 levels of subclause" do
|
1071
|
+
FileUtils.rm_f "test.err"
|
1072
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
1073
|
+
= Document title
|
1074
|
+
Author
|
1075
|
+
:docfile: test.adoc
|
1076
|
+
:nodoc:
|
1077
|
+
:no-isobib:
|
1078
|
+
:language: fr
|
1079
|
+
|
1080
|
+
== Clause
|
1081
|
+
|
1082
|
+
=== Clause
|
1083
|
+
|
1084
|
+
==== Clause
|
1085
|
+
|
1086
|
+
===== Clause
|
1087
|
+
|
1088
|
+
====== Clause
|
1089
|
+
|
1090
|
+
[level=6]
|
1091
|
+
====== Clause
|
1092
|
+
|
1093
|
+
[level=7]
|
1094
|
+
====== Clause
|
1095
|
+
|
1096
|
+
INPUT
|
1097
|
+
expect(File.read("test.err")).not_to include "exceeds the maximum clause depth of 7"
|
1098
|
+
end
|
1099
|
+
|
1100
|
+
it "Warn if term citation in Terms & Definitions not preceded with italicised term" do
|
1101
|
+
FileUtils.rm_f "test.err"
|
1102
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
1103
|
+
#{VALIDATING_BLANK_HDR}
|
1104
|
+
== Terms and Definitions
|
1105
|
+
|
1106
|
+
[[term]]
|
1107
|
+
=== Term
|
1108
|
+
|
1109
|
+
The definition of a term (<<term>>) is a part of the specialized vocabulary of a particular field
|
1110
|
+
INPUT
|
1111
|
+
expect(File.read("test.err")).to include "term citation not preceded with italicised term"
|
1112
|
+
end
|
1113
|
+
|
1114
|
+
it "Warn if an undated reference has no associated footnote" do
|
1115
|
+
FileUtils.rm_f "test.err"
|
1116
|
+
Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
|
1117
|
+
#{VALIDATING_BLANK_HDR}
|
1118
|
+
|
1119
|
+
[bibliography]
|
1120
|
+
== Bibliography
|
1121
|
+
* [[[ISO8,ISO 8:--]]], _Title_
|
1122
|
+
INPUT
|
1123
|
+
expect(File.read("test.err")).to include "Reference ISO8 does not have an associated footnote indicating unpublished status"
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
|
1127
|
+
end
|