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,268 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
RSpec.describe IsoDoc do
|
4
|
+
it "processes IsoXML terms" do
|
5
|
+
input = <<~"INPUT"
|
6
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
7
|
+
<sections>
|
8
|
+
<terms id="_terms_and_definitions" obligation="normative"><title>Terms and Definitions</title>
|
9
|
+
<p>For the purposes of this document, the following terms and definitions apply.</p>
|
10
|
+
|
11
|
+
<term id="paddy1"><preferred>paddy</preferred>
|
12
|
+
<domain>rice</domain>
|
13
|
+
<definition><p id="_eb29b35e-123e-4d1c-b50b-2714d41e747f">rice retaining its husk after threshing</p></definition>
|
14
|
+
<termexample id="_bd57bbf1-f948-4bae-b0ce-73c00431f892" keep-with-next="true" keep-lines-together="true">
|
15
|
+
<p id="_65c9a509-9a89-4b54-a890-274126aeb55c">Foreign seeds, husks, bran, sand, dust.</p>
|
16
|
+
<ul>
|
17
|
+
<li>A</li>
|
18
|
+
</ul>
|
19
|
+
</termexample>
|
20
|
+
<termexample id="_bd57bbf1-f948-4bae-b0ce-73c00431f894">
|
21
|
+
<ul>
|
22
|
+
<li>A</li>
|
23
|
+
</ul>
|
24
|
+
</termexample>
|
25
|
+
|
26
|
+
<termsource status="modified">
|
27
|
+
<origin bibitemid="ISO7301" type="inline" citeas="ISO 7301:2011"><locality type="clause"><referenceFrom>3.1</referenceFrom></locality></origin>
|
28
|
+
<modification>
|
29
|
+
<p id="_e73a417d-ad39-417d-a4c8-20e4e2529489">The term "cargo rice" is shown as deprecated, and Note 1 to entry is not included here</p>
|
30
|
+
</modification>
|
31
|
+
</termsource>
|
32
|
+
|
33
|
+
<termsource status='identical'>
|
34
|
+
<origin citeas=''>
|
35
|
+
<termref base='IEV' target='xyz'>t1</termref>
|
36
|
+
</origin>
|
37
|
+
</termsource>
|
38
|
+
|
39
|
+
<termsource status='modified'>
|
40
|
+
<origin citeas=''>
|
41
|
+
<termref base='IEV' target='xyz'/>
|
42
|
+
</origin>
|
43
|
+
<modification>
|
44
|
+
<p id='_'>with adjustments</p>
|
45
|
+
</modification>
|
46
|
+
</termsource>
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
</term>
|
51
|
+
|
52
|
+
<term id="paddy"><preferred>paddy</preferred><admitted>paddy rice</admitted>
|
53
|
+
<admitted>rough rice</admitted>
|
54
|
+
<deprecates>cargo rice</deprecates>
|
55
|
+
<definition><p id="_eb29b35e-123e-4d1c-b50b-2714d41e747f">rice retaining its husk after threshing</p></definition>
|
56
|
+
<termexample id="_bd57bbf1-f948-4bae-b0ce-73c00431f893">
|
57
|
+
<ul>
|
58
|
+
<li>A</li>
|
59
|
+
</ul>
|
60
|
+
</termexample>
|
61
|
+
<termnote id="_671a1994-4783-40d0-bc81-987d06ffb74e" keep-with-next="true" keep-lines-together="true">
|
62
|
+
<p id="_19830f33-e46c-42cc-94ca-a5ef101132d5">The starch of waxy rice consists almost entirely of amylopectin. The kernels have a tendency to stick together after cooking.</p>
|
63
|
+
</termnote>
|
64
|
+
<termnote id="_671a1994-4783-40d0-bc81-987d06ffb74f">
|
65
|
+
<ul><li>A</li></ul>
|
66
|
+
<p id="_19830f33-e46c-42cc-94ca-a5ef101132d5">The starch of waxy rice consists almost entirely of amylopectin. The kernels have a tendency to stick together after cooking.</p>
|
67
|
+
</termnote>
|
68
|
+
<termsource status="identical">
|
69
|
+
<origin bibitemid="ISO7301" type="inline" citeas="ISO 7301:2011"><locality type="clause"><referenceFrom>3.1</referenceFrom></locality></origin>
|
70
|
+
</termsource></term>
|
71
|
+
</terms>
|
72
|
+
</sections>
|
73
|
+
</iso-standard>
|
74
|
+
INPUT
|
75
|
+
|
76
|
+
presxml = <<~"PRESXML"
|
77
|
+
<iso-standard xmlns='http://riboseinc.com/isoxml'>
|
78
|
+
<sections>
|
79
|
+
<terms id='_terms_and_definitions' obligation='normative'>
|
80
|
+
<title depth='1'>
|
81
|
+
1.
|
82
|
+
<tab/>
|
83
|
+
Terms and Definitions
|
84
|
+
</title>
|
85
|
+
<p>For the purposes of this document, the following terms and definitions apply.</p>
|
86
|
+
<term id='paddy1'><name>1.1.</name>
|
87
|
+
<preferred>paddy</preferred>
|
88
|
+
<domain>rice</domain>
|
89
|
+
<definition>
|
90
|
+
<p id='_eb29b35e-123e-4d1c-b50b-2714d41e747f'>rice retaining its husk after threshing</p>
|
91
|
+
</definition>
|
92
|
+
<termexample id='_bd57bbf1-f948-4bae-b0ce-73c00431f892' keep-with-next='true' keep-lines-together='true'>
|
93
|
+
<name>EXAMPLE 1</name>
|
94
|
+
<p id='_65c9a509-9a89-4b54-a890-274126aeb55c'>Foreign seeds, husks, bran, sand, dust.</p>
|
95
|
+
<ul>
|
96
|
+
<li>A</li>
|
97
|
+
</ul>
|
98
|
+
</termexample>
|
99
|
+
<termexample id='_bd57bbf1-f948-4bae-b0ce-73c00431f894'>
|
100
|
+
<name>EXAMPLE 2</name>
|
101
|
+
<ul>
|
102
|
+
<li>A</li>
|
103
|
+
</ul>
|
104
|
+
</termexample>
|
105
|
+
<termsource status='modified'>
|
106
|
+
<origin bibitemid='ISO7301' type='inline' citeas='ISO 7301:2011'><locality type='clause'>
|
107
|
+
<referenceFrom>3.1</referenceFrom>
|
108
|
+
</locality>ISO 7301:2011, Clause 3.1</origin>
|
109
|
+
<modification>
|
110
|
+
<p id='_e73a417d-ad39-417d-a4c8-20e4e2529489'>
|
111
|
+
The term "cargo rice" is shown as deprecated, and Note 1 to entry
|
112
|
+
is not included here
|
113
|
+
</p>
|
114
|
+
</modification>
|
115
|
+
</termsource>
|
116
|
+
<termsource status='identical'>
|
117
|
+
<origin citeas=''>
|
118
|
+
<termref base='IEV' target='xyz'>t1</termref>
|
119
|
+
</origin>
|
120
|
+
</termsource>
|
121
|
+
<termsource status='modified'>
|
122
|
+
<origin citeas=''>
|
123
|
+
<termref base='IEV' target='xyz'/>
|
124
|
+
</origin>
|
125
|
+
<modification>
|
126
|
+
<p id='_'>with adjustments</p>
|
127
|
+
</modification>
|
128
|
+
</termsource>
|
129
|
+
</term>
|
130
|
+
<term id='paddy'><name>1.2.</name>
|
131
|
+
<preferred>paddy</preferred>
|
132
|
+
<admitted>paddy rice</admitted>
|
133
|
+
<admitted>rough rice</admitted>
|
134
|
+
<deprecates>cargo rice</deprecates>
|
135
|
+
<definition>
|
136
|
+
<p id='_eb29b35e-123e-4d1c-b50b-2714d41e747f'>rice retaining its husk after threshing</p>
|
137
|
+
</definition>
|
138
|
+
<termexample id='_bd57bbf1-f948-4bae-b0ce-73c00431f893'>
|
139
|
+
<name>EXAMPLE</name>
|
140
|
+
<ul>
|
141
|
+
<li>A</li>
|
142
|
+
</ul>
|
143
|
+
</termexample>
|
144
|
+
<termnote id='_671a1994-4783-40d0-bc81-987d06ffb74e' keep-with-next='true' keep-lines-together='true'>
|
145
|
+
<name>Note 1 to entry</name>
|
146
|
+
<p id='_19830f33-e46c-42cc-94ca-a5ef101132d5'>
|
147
|
+
The starch of waxy rice consists almost entirely of amylopectin. The
|
148
|
+
kernels have a tendency to stick together after cooking.
|
149
|
+
</p>
|
150
|
+
</termnote>
|
151
|
+
<termnote id='_671a1994-4783-40d0-bc81-987d06ffb74f'>
|
152
|
+
<name>Note 2 to entry</name>
|
153
|
+
<ul>
|
154
|
+
<li>A</li>
|
155
|
+
</ul>
|
156
|
+
<p id='_19830f33-e46c-42cc-94ca-a5ef101132d5'>
|
157
|
+
The starch of waxy rice consists almost entirely of amylopectin. The
|
158
|
+
kernels have a tendency to stick together after cooking.
|
159
|
+
</p>
|
160
|
+
</termnote>
|
161
|
+
<termsource status='identical'>
|
162
|
+
<origin bibitemid='ISO7301' type='inline' citeas='ISO 7301:2011'><locality type='clause'>
|
163
|
+
<referenceFrom>3.1</referenceFrom>
|
164
|
+
</locality>ISO 7301:2011, Clause 3.1</origin>
|
165
|
+
</termsource>
|
166
|
+
</term>
|
167
|
+
</terms>
|
168
|
+
</sections>
|
169
|
+
</iso-standard>
|
170
|
+
PRESXML
|
171
|
+
|
172
|
+
html = <<~"OUTPUT"
|
173
|
+
#{HTML_HDR}
|
174
|
+
<p class="zzSTDTitle1"/>
|
175
|
+
<div id="_terms_and_definitions">
|
176
|
+
<h1> 1.   Terms and Definitions </h1>
|
177
|
+
<p>For the purposes of this document,
|
178
|
+
the following terms and definitions apply.</p>
|
179
|
+
<p class="TermNum" id="paddy1">1.1.</p><p class="Terms" style="text-align:left;">paddy</p>
|
180
|
+
|
181
|
+
<p id="_eb29b35e-123e-4d1c-b50b-2714d41e747f"><rice> rice retaining its husk after threshing</p>
|
182
|
+
<div id="_bd57bbf1-f948-4bae-b0ce-73c00431f892" class="example" style='page-break-after: avoid;page-break-inside: avoid;'><p class="example-title">EXAMPLE 1</p>
|
183
|
+
<p id="_65c9a509-9a89-4b54-a890-274126aeb55c">Foreign seeds, husks, bran, sand, dust.</p>
|
184
|
+
<ul>
|
185
|
+
<li>A</li>
|
186
|
+
</ul>
|
187
|
+
</div>
|
188
|
+
<div id="_bd57bbf1-f948-4bae-b0ce-73c00431f894" class="example"><p class="example-title">EXAMPLE 2</p>
|
189
|
+
<ul>
|
190
|
+
<li>A</li>
|
191
|
+
</ul>
|
192
|
+
</div>
|
193
|
+
|
194
|
+
<p>[TERMREF]
|
195
|
+
<a href="#ISO7301">ISO 7301:2011, Clause 3.1</a>
|
196
|
+
[MODIFICATION] The term "cargo rice" is shown as deprecated, and Note 1 to entry is not included here
|
197
|
+
[/TERMREF]</p>
|
198
|
+
<p>[TERMREF] Termbase IEV, term ID xyz [/TERMREF]</p>
|
199
|
+
<p>[TERMREF] Termbase IEV, term ID xyz [MODIFICATION]with adjustments [/TERMREF]</p>
|
200
|
+
<p class="TermNum" id="paddy">1.2.</p><p class="Terms" style="text-align:left;">paddy</p><p class="AltTerms" style="text-align:left;">paddy rice</p>
|
201
|
+
<p class="AltTerms" style="text-align:left;">rough rice</p>
|
202
|
+
<p class="DeprecatedTerms" style="text-align:left;">DEPRECATED: cargo rice</p>
|
203
|
+
<p id="_eb29b35e-123e-4d1c-b50b-2714d41e747f">rice retaining its husk after threshing</p>
|
204
|
+
<div id="_bd57bbf1-f948-4bae-b0ce-73c00431f893" class="example"><p class="example-title">EXAMPLE</p>
|
205
|
+
<ul>
|
206
|
+
<li>A</li>
|
207
|
+
</ul>
|
208
|
+
</div>
|
209
|
+
<div class="Note" id='_671a1994-4783-40d0-bc81-987d06ffb74e' style='page-break-after: avoid;page-break-inside: avoid;'><p>Note 1 to entry: The starch of waxy rice consists almost entirely of amylopectin. The kernels have a tendency to stick together after cooking.</p></div>
|
210
|
+
<div class="Note" id='_671a1994-4783-40d0-bc81-987d06ffb74f'><p>Note 2 to entry: <ul><li>A</li></ul><p id="_19830f33-e46c-42cc-94ca-a5ef101132d5">The starch of waxy rice consists almost entirely of amylopectin. The kernels have a tendency to stick together after cooking.</p></p></div>
|
211
|
+
<p>[TERMREF]
|
212
|
+
<a href="#ISO7301">ISO 7301:2011, Clause 3.1</a>
|
213
|
+
[/TERMREF]</p></div>
|
214
|
+
</div>
|
215
|
+
</body>
|
216
|
+
</html>
|
217
|
+
OUTPUT
|
218
|
+
|
219
|
+
word = <<~"WORD"
|
220
|
+
#{WORD_HDR}
|
221
|
+
<p class="zzSTDTitle1"/>
|
222
|
+
<div id="_terms_and_definitions"><h1>1.<span style="mso-tab-count:1">  </span>Terms and Definitions</h1><p>For the purposes of this document,
|
223
|
+
the following terms and definitions apply.</p>
|
224
|
+
<p class="TermNum" id="paddy1">1.1.</p><p class="Terms" style="text-align:left;">paddy</p>
|
225
|
+
|
226
|
+
<p id="_eb29b35e-123e-4d1c-b50b-2714d41e747f"><rice> rice retaining its husk after threshing</p>
|
227
|
+
<div id="_bd57bbf1-f948-4bae-b0ce-73c00431f892" class="example" style='page-break-after: avoid;page-break-inside: avoid;'><p class="example-title">EXAMPLE 1</p>
|
228
|
+
<p id="_65c9a509-9a89-4b54-a890-274126aeb55c">Foreign seeds, husks, bran, sand, dust.</p>
|
229
|
+
<ul>
|
230
|
+
<li>A</li>
|
231
|
+
</ul>
|
232
|
+
</div>
|
233
|
+
<div id="_bd57bbf1-f948-4bae-b0ce-73c00431f894" class="example"><p class="example-title">EXAMPLE 2</p>
|
234
|
+
<ul>
|
235
|
+
<li>A</li>
|
236
|
+
</ul>
|
237
|
+
</div>
|
238
|
+
|
239
|
+
<p>[TERMREF]
|
240
|
+
<a href="#ISO7301">ISO 7301:2011, Clause 3.1</a>
|
241
|
+
[MODIFICATION] The term "cargo rice" is shown as deprecated, and Note 1 to entry is not included here
|
242
|
+
[/TERMREF]</p>
|
243
|
+
<p>[TERMREF] Termbase IEV, term ID xyz [/TERMREF]</p>
|
244
|
+
<p>[TERMREF] Termbase IEV, term ID xyz [MODIFICATION]with adjustments [/TERMREF]</p>
|
245
|
+
<p class="TermNum" id="paddy">1.2.</p><p class="Terms" style="text-align:left;">paddy</p><p class="AltTerms" style="text-align:left;">paddy rice</p>
|
246
|
+
<p class="AltTerms" style="text-align:left;">rough rice</p>
|
247
|
+
<p class="DeprecatedTerms" style="text-align:left;">DEPRECATED: cargo rice</p>
|
248
|
+
<p id="_eb29b35e-123e-4d1c-b50b-2714d41e747f">rice retaining its husk after threshing</p>
|
249
|
+
<div id="_bd57bbf1-f948-4bae-b0ce-73c00431f893" class="example"><p class="example-title">EXAMPLE</p>
|
250
|
+
<ul>
|
251
|
+
<li>A</li>
|
252
|
+
</ul>
|
253
|
+
</div>
|
254
|
+
<div id='_671a1994-4783-40d0-bc81-987d06ffb74e' class="Note" style='page-break-after: avoid;page-break-inside: avoid;'><p class="Note">Note 1 to entry: The starch of waxy rice consists almost entirely of amylopectin. The kernels have a tendency to stick together after cooking.</p></div>
|
255
|
+
<div id='_671a1994-4783-40d0-bc81-987d06ffb74f' class="Note"><p class="Note">Note 2 to entry: <ul><li>A</li></ul><p id="_19830f33-e46c-42cc-94ca-a5ef101132d5">The starch of waxy rice consists almost entirely of amylopectin. The kernels have a tendency to stick together after cooking.</p></p></div>
|
256
|
+
<p>[TERMREF]
|
257
|
+
<a href="#ISO7301">ISO 7301:2011, Clause 3.1</a>
|
258
|
+
[/TERMREF]</p></div>
|
259
|
+
</div>
|
260
|
+
</body>
|
261
|
+
</html>
|
262
|
+
|
263
|
+
WORD
|
264
|
+
expect(xmlpp(IsoDoc::PresentationXMLConvert.new({}).convert("test", input, true))).to be_equivalent_to xmlpp(presxml)
|
265
|
+
expect(xmlpp(IsoDoc::HtmlConvert.new({}).convert("test", presxml, true))).to be_equivalent_to xmlpp(html)
|
266
|
+
expect(xmlpp(IsoDoc::WordConvert.new({}).convert("test", presxml, true))).to be_equivalent_to xmlpp(word)
|
267
|
+
end
|
268
|
+
end
|
@@ -0,0 +1,2764 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
RSpec.describe IsoDoc do
|
4
|
+
it "cross-references external documents in Presentation XML" do
|
5
|
+
expect(xmlpp(IsoDoc::PresentationXMLConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
6
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
7
|
+
<preface>
|
8
|
+
<foreword>
|
9
|
+
<p>
|
10
|
+
<xref target="a#b"/>
|
11
|
+
</p>
|
12
|
+
</foreword>
|
13
|
+
</preface>
|
14
|
+
</iso-standard
|
15
|
+
INPUT
|
16
|
+
<?xml version='1.0'?>
|
17
|
+
<iso-standard xmlns='http://riboseinc.com/isoxml'>
|
18
|
+
<preface>
|
19
|
+
<foreword>
|
20
|
+
<p>
|
21
|
+
<xref target='a#b'>a#b</xref>
|
22
|
+
</p>
|
23
|
+
</foreword>
|
24
|
+
</preface>
|
25
|
+
</iso-standard>
|
26
|
+
OUTPUT
|
27
|
+
end
|
28
|
+
|
29
|
+
it "cross-references external documents in HTML" do
|
30
|
+
expect(xmlpp(IsoDoc::HtmlConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
31
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
32
|
+
<preface>
|
33
|
+
<foreword>
|
34
|
+
<p>
|
35
|
+
<xref target='a#b'>a#b</xref>
|
36
|
+
</p>
|
37
|
+
</foreword>
|
38
|
+
</preface>
|
39
|
+
</iso-standard
|
40
|
+
INPUT
|
41
|
+
#{HTML_HDR}
|
42
|
+
<br/>
|
43
|
+
<div>
|
44
|
+
<h1 class="ForewordTitle">Foreword</h1>
|
45
|
+
<p>
|
46
|
+
<a href="a.html#b">a#b</a>
|
47
|
+
</p>
|
48
|
+
</div>
|
49
|
+
<p class="zzSTDTitle1"/>
|
50
|
+
</div>
|
51
|
+
</body>
|
52
|
+
</html>
|
53
|
+
OUTPUT
|
54
|
+
end
|
55
|
+
|
56
|
+
it "cross-references external documents in DOC" do
|
57
|
+
expect(xmlpp(IsoDoc::WordConvert.new({}).convert("test", <<~"INPUT", true).sub(/^.*<div class="WordSection2">/m, '<div class="WordSection2">').sub(%r{</div>.*$}m, "</div></div>"))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
58
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
59
|
+
<preface>
|
60
|
+
<foreword>
|
61
|
+
<p>
|
62
|
+
<xref target='a#b'>a#b</xref>
|
63
|
+
</p>
|
64
|
+
</foreword>
|
65
|
+
</preface>
|
66
|
+
</iso-standard>
|
67
|
+
INPUT
|
68
|
+
<div class="WordSection2">
|
69
|
+
<p><br clear="all" style="mso-special-character:line-break;page-break-before:always"/></p>
|
70
|
+
<div>
|
71
|
+
<h1 class="ForewordTitle">Foreword</h1>
|
72
|
+
<p>
|
73
|
+
<a href="a.doc#b">a#b</a>
|
74
|
+
</p>
|
75
|
+
</div></div>
|
76
|
+
OUTPUT
|
77
|
+
end
|
78
|
+
|
79
|
+
it "warns of missing crossreference" do
|
80
|
+
expect { IsoDoc::PresentationXMLConvert.new({}).convert("test", <<~"INPUT", true) }.to output(/No label has been processed for ID N1/).to_stderr
|
81
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
82
|
+
<preface>
|
83
|
+
<foreword>
|
84
|
+
<p>
|
85
|
+
<xref target="N1"/>
|
86
|
+
</preface>
|
87
|
+
</iso-standard>
|
88
|
+
INPUT
|
89
|
+
end
|
90
|
+
|
91
|
+
it "does not warn of missing crossreference if text is supplied" do
|
92
|
+
expect { IsoDoc::HtmlConvert.new({}).convert("test", <<~"INPUT", true) }.not_to output(/No label has been processed for ID N1/).to_stderr
|
93
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
94
|
+
<preface>
|
95
|
+
<foreword>
|
96
|
+
<p>
|
97
|
+
<xref target="N1">abc</xref>
|
98
|
+
</preface>
|
99
|
+
</iso-standard>
|
100
|
+
INPUT
|
101
|
+
end
|
102
|
+
|
103
|
+
it "cross-references notes" do
|
104
|
+
expect(xmlpp(IsoDoc::PresentationXMLConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
105
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
106
|
+
<preface>
|
107
|
+
<foreword>
|
108
|
+
<p>
|
109
|
+
<xref target="N1"/>
|
110
|
+
<xref target="N2"/>
|
111
|
+
<xref target="N"/>
|
112
|
+
<xref target="note1"/>
|
113
|
+
<xref target="note2"/>
|
114
|
+
<xref target="AN"/>
|
115
|
+
<xref target="Anote1"/>
|
116
|
+
<xref target="Anote2"/>
|
117
|
+
</p>
|
118
|
+
</foreword>
|
119
|
+
<introduction id="intro">
|
120
|
+
<note id="N1">
|
121
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83e">These results are based on a study carried out on three different types of kernel.</p>
|
122
|
+
</note>
|
123
|
+
<clause id="xyz"><title>Preparatory</title>
|
124
|
+
<note id="N2">
|
125
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83d">These results are based on a study carried out on three different types of kernel.</p>
|
126
|
+
</note>
|
127
|
+
</clause>
|
128
|
+
</introduction>
|
129
|
+
</preface>
|
130
|
+
<sections>
|
131
|
+
<clause id="scope" type="scope"><title>Scope</title>
|
132
|
+
<note id="N">
|
133
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
134
|
+
</note>
|
135
|
+
<p><xref target="N"/></p>
|
136
|
+
|
137
|
+
</clause>
|
138
|
+
<terms id="terms"/>
|
139
|
+
<clause id="widgets"><title>Widgets</title>
|
140
|
+
<clause id="widgets1">
|
141
|
+
<note id="note1">
|
142
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
143
|
+
</note>
|
144
|
+
<note id="note2">
|
145
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83a">These results are based on a study carried out on three different types of kernel.</p>
|
146
|
+
</note>
|
147
|
+
<p> <xref target="note1"/> <xref target="note2"/> </p>
|
148
|
+
|
149
|
+
</clause>
|
150
|
+
</clause>
|
151
|
+
</sections>
|
152
|
+
<annex id="annex1">
|
153
|
+
<clause id="annex1a">
|
154
|
+
<note id="AN">
|
155
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
156
|
+
</note>
|
157
|
+
</clause>
|
158
|
+
<clause id="annex1b">
|
159
|
+
<note id="Anote1">
|
160
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
161
|
+
</note>
|
162
|
+
<note id="Anote2">
|
163
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83a">These results are based on a study carried out on three different types of kernel.</p>
|
164
|
+
</note>
|
165
|
+
</clause>
|
166
|
+
</annex>
|
167
|
+
</iso-standard>
|
168
|
+
INPUT
|
169
|
+
<?xml version='1.0'?>
|
170
|
+
<iso-standard xmlns='http://riboseinc.com/isoxml'>
|
171
|
+
<preface>
|
172
|
+
<foreword>
|
173
|
+
<p>
|
174
|
+
<xref target='N1'>Introduction, Note</xref>
|
175
|
+
<xref target='N2'>Preparatory, Note</xref>
|
176
|
+
<xref target='N'>Clause 1, Note</xref>
|
177
|
+
<xref target='note1'>Clause 3.1, Note 1</xref>
|
178
|
+
<xref target='note2'>Clause 3.1, Note 2</xref>
|
179
|
+
<xref target='AN'>Annex A.1, Note</xref>
|
180
|
+
<xref target='Anote1'>Annex A.2, Note 1</xref>
|
181
|
+
<xref target='Anote2'>Annex A.2, Note 2</xref>
|
182
|
+
</p>
|
183
|
+
</foreword>
|
184
|
+
<introduction id='intro'>
|
185
|
+
<note id='N1'>
|
186
|
+
<name>NOTE</name>
|
187
|
+
<p id='_f06fd0d1-a203-4f3d-a515-0bdba0f8d83e'>
|
188
|
+
These results are based on a study carried out on three different
|
189
|
+
types of kernel.
|
190
|
+
</p>
|
191
|
+
</note>
|
192
|
+
<clause id='xyz'>
|
193
|
+
<title depth='2'>Preparatory</title>
|
194
|
+
<note id='N2'>
|
195
|
+
<name>NOTE</name>
|
196
|
+
<p id='_f06fd0d1-a203-4f3d-a515-0bdba0f8d83d'>
|
197
|
+
These results are based on a study carried out on three different
|
198
|
+
types of kernel.
|
199
|
+
</p>
|
200
|
+
</note>
|
201
|
+
</clause>
|
202
|
+
</introduction>
|
203
|
+
</preface>
|
204
|
+
<sections>
|
205
|
+
<clause id='scope' type="scope">
|
206
|
+
<title depth='1'>
|
207
|
+
1.
|
208
|
+
<tab/>
|
209
|
+
Scope
|
210
|
+
</title>
|
211
|
+
<note id='N'>
|
212
|
+
<name>NOTE</name>
|
213
|
+
<p id='_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f'>
|
214
|
+
These results are based on a study carried out on three different
|
215
|
+
types of kernel.
|
216
|
+
</p>
|
217
|
+
</note>
|
218
|
+
<p>
|
219
|
+
<xref target='N'>Note</xref>
|
220
|
+
</p>
|
221
|
+
</clause>
|
222
|
+
<terms id='terms'>
|
223
|
+
<title>2.</title>
|
224
|
+
</terms>
|
225
|
+
<clause id='widgets'>
|
226
|
+
<title depth='1'>
|
227
|
+
3.
|
228
|
+
<tab/>
|
229
|
+
Widgets
|
230
|
+
</title>
|
231
|
+
<clause id='widgets1'><title>3.1.</title>
|
232
|
+
<note id='note1'>
|
233
|
+
<name>NOTE 1</name>
|
234
|
+
<p id='_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f'>
|
235
|
+
These results are based on a study carried out on three different
|
236
|
+
types of kernel.
|
237
|
+
</p>
|
238
|
+
</note>
|
239
|
+
<note id='note2'>
|
240
|
+
<name>NOTE 2</name>
|
241
|
+
<p id='_f06fd0d1-a203-4f3d-a515-0bdba0f8d83a'>
|
242
|
+
These results are based on a study carried out on three different
|
243
|
+
types of kernel.
|
244
|
+
</p>
|
245
|
+
</note>
|
246
|
+
<p>
|
247
|
+
<xref target='note1'>Note 1</xref>
|
248
|
+
<xref target='note2'>Note 2</xref>
|
249
|
+
</p>
|
250
|
+
</clause>
|
251
|
+
</clause>
|
252
|
+
</sections>
|
253
|
+
<annex id='annex1'>
|
254
|
+
<title>
|
255
|
+
<strong>Annex A</strong>
|
256
|
+
<br/>
|
257
|
+
(informative)
|
258
|
+
</title>
|
259
|
+
<clause id='annex1a'><title>A.1.</title>
|
260
|
+
<note id='AN'>
|
261
|
+
<name>NOTE</name>
|
262
|
+
<p id='_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f'>
|
263
|
+
These results are based on a study carried out on three different
|
264
|
+
types of kernel.
|
265
|
+
</p>
|
266
|
+
</note>
|
267
|
+
</clause>
|
268
|
+
<clause id='annex1b'><title>A.2.</title>
|
269
|
+
<note id='Anote1'>
|
270
|
+
<name>NOTE 1</name>
|
271
|
+
<p id='_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f'>
|
272
|
+
These results are based on a study carried out on three different
|
273
|
+
types of kernel.
|
274
|
+
</p>
|
275
|
+
</note>
|
276
|
+
<note id='Anote2'>
|
277
|
+
<name>NOTE 2</name>
|
278
|
+
<p id='_f06fd0d1-a203-4f3d-a515-0bdba0f8d83a'>
|
279
|
+
These results are based on a study carried out on three different
|
280
|
+
types of kernel.
|
281
|
+
</p>
|
282
|
+
</note>
|
283
|
+
</clause>
|
284
|
+
</annex>
|
285
|
+
</iso-standard>
|
286
|
+
OUTPUT
|
287
|
+
end
|
288
|
+
|
289
|
+
it "cross-references figures" do
|
290
|
+
expect(xmlpp(IsoDoc::PresentationXMLConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
291
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
292
|
+
<preface>
|
293
|
+
<foreword id="fwd">
|
294
|
+
<p>
|
295
|
+
<xref target="N1"/>
|
296
|
+
<xref target="N2"/>
|
297
|
+
<xref target="N"/>
|
298
|
+
<xref target="note1"/>
|
299
|
+
<xref target="note3"/>
|
300
|
+
<xref target="note4"/>
|
301
|
+
<xref target="note2"/>
|
302
|
+
<xref target="note51"/>
|
303
|
+
<xref target="AN"/>
|
304
|
+
<xref target="Anote1"/>
|
305
|
+
<xref target="Anote2"/>
|
306
|
+
<xref target="Anote3"/>
|
307
|
+
</p>
|
308
|
+
</foreword>
|
309
|
+
<introduction id="intro">
|
310
|
+
<figure id="N1">
|
311
|
+
<name>Split-it-right sample divider</name>
|
312
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
313
|
+
</figure>
|
314
|
+
<clause id="xyz"><title>Preparatory</title>
|
315
|
+
<figure id="N2" unnumbered="true">
|
316
|
+
<name>Split-it-right sample divider</name>
|
317
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
318
|
+
</figure>
|
319
|
+
</clause>
|
320
|
+
</introduction>
|
321
|
+
</preface>
|
322
|
+
<sections>
|
323
|
+
<clause id="scope" type="scope"><title>Scope</title>
|
324
|
+
<figure id="N">
|
325
|
+
<name>Split-it-right sample divider</name>
|
326
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
327
|
+
</figure>
|
328
|
+
<p><xref target="N"/></p>
|
329
|
+
</clause>
|
330
|
+
<terms id="terms"/>
|
331
|
+
<clause id="widgets"><title>Widgets</title>
|
332
|
+
<clause id="widgets1">
|
333
|
+
<figure id="note1">
|
334
|
+
<name>Split-it-right sample divider</name>
|
335
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
336
|
+
</figure>
|
337
|
+
<figure id="note3" class="pseudocode">
|
338
|
+
<p>pseudocode</p>
|
339
|
+
</figure>
|
340
|
+
<sourcecode id="note4"><name>Source! Code!</name>
|
341
|
+
A B C
|
342
|
+
</sourcecode>
|
343
|
+
<example id="note5">
|
344
|
+
<sourcecode id="note51">
|
345
|
+
A B C
|
346
|
+
</sourcecode>
|
347
|
+
</example>
|
348
|
+
<figure id="note2">
|
349
|
+
<name>Split-it-right sample divider</name>
|
350
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
351
|
+
</figure>
|
352
|
+
<p> <xref target="note1"/> <xref target="note2"/> </p>
|
353
|
+
</clause>
|
354
|
+
</clause>
|
355
|
+
</sections>
|
356
|
+
<annex id="annex1">
|
357
|
+
<clause id="annex1a">
|
358
|
+
<figure id="AN">
|
359
|
+
<name>Split-it-right sample divider</name>
|
360
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
361
|
+
</figure>
|
362
|
+
</clause>
|
363
|
+
<clause id="annex1b">
|
364
|
+
<figure id="Anote1" unnumbered="true">
|
365
|
+
<name>Split-it-right sample divider</name>
|
366
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
367
|
+
</figure>
|
368
|
+
<figure id="Anote2">
|
369
|
+
<name>Split-it-right sample divider</name>
|
370
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
371
|
+
</figure>
|
372
|
+
<sourcecode id="Anote3"><name>Source! Code!</name>
|
373
|
+
A B C
|
374
|
+
</sourcecode>
|
375
|
+
</clause>
|
376
|
+
</annex>
|
377
|
+
</iso-standard>
|
378
|
+
INPUT
|
379
|
+
<?xml version='1.0'?>
|
380
|
+
<iso-standard xmlns='http://riboseinc.com/isoxml'>
|
381
|
+
<preface>
|
382
|
+
<foreword id='fwd'>
|
383
|
+
<p>
|
384
|
+
<xref target='N1'>Figure 1</xref>
|
385
|
+
<xref target='N2'>Figure (??)</xref>
|
386
|
+
<xref target='N'>Figure 2</xref>
|
387
|
+
<xref target='note1'>Figure 3</xref>
|
388
|
+
<xref target='note3'>Figure 4</xref>
|
389
|
+
<xref target='note4'>Figure 5</xref>
|
390
|
+
<xref target='note2'>Figure 6</xref>
|
391
|
+
<xref target='note51'>[note51]</xref>
|
392
|
+
<xref target='AN'>Figure A.1</xref>
|
393
|
+
<xref target='Anote1'>Figure (??)</xref>
|
394
|
+
<xref target='Anote2'>Figure A.2</xref>
|
395
|
+
<xref target='Anote3'>Figure A.3</xref>
|
396
|
+
</p>
|
397
|
+
</foreword>
|
398
|
+
<introduction id='intro'>
|
399
|
+
<figure id='N1'>
|
400
|
+
<name>Figure 1 — Split-it-right sample divider</name>
|
401
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
402
|
+
</figure>
|
403
|
+
<clause id='xyz'>
|
404
|
+
<title depth='2'>Preparatory</title>
|
405
|
+
<figure id='N2' unnumbered='true'>
|
406
|
+
<name>Split-it-right sample divider</name>
|
407
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
408
|
+
</figure>
|
409
|
+
</clause>
|
410
|
+
</introduction>
|
411
|
+
</preface>
|
412
|
+
<sections>
|
413
|
+
<clause id='scope' type="scope">
|
414
|
+
<title depth='1'>
|
415
|
+
1.
|
416
|
+
<tab/>
|
417
|
+
Scope
|
418
|
+
</title>
|
419
|
+
<figure id='N'>
|
420
|
+
<name>Figure 2 — Split-it-right sample divider</name>
|
421
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
422
|
+
</figure>
|
423
|
+
<p>
|
424
|
+
<xref target='N'>Figure 2</xref>
|
425
|
+
</p>
|
426
|
+
</clause>
|
427
|
+
<terms id='terms'>
|
428
|
+
<title>2.</title>
|
429
|
+
</terms>
|
430
|
+
<clause id='widgets'>
|
431
|
+
<title depth='1'>
|
432
|
+
3.
|
433
|
+
<tab/>
|
434
|
+
Widgets
|
435
|
+
</title>
|
436
|
+
<clause id='widgets1'><title>3.1.</title>
|
437
|
+
<figure id='note1'>
|
438
|
+
<name>Figure 3 — Split-it-right sample divider</name>
|
439
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
440
|
+
</figure>
|
441
|
+
<figure id='note3' class='pseudocode'>
|
442
|
+
<name>Figure 4</name>
|
443
|
+
<p>pseudocode</p>
|
444
|
+
</figure>
|
445
|
+
<sourcecode id='note4'>
|
446
|
+
<name>Figure 5 — Source! Code!</name>
|
447
|
+
A B C
|
448
|
+
</sourcecode>
|
449
|
+
<example id='note5'>
|
450
|
+
<name>EXAMPLE</name>
|
451
|
+
<sourcecode id='note51'> A B C </sourcecode>
|
452
|
+
</example>
|
453
|
+
<figure id='note2'>
|
454
|
+
<name>Figure 6 — Split-it-right sample divider</name>
|
455
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
456
|
+
</figure>
|
457
|
+
<p>
|
458
|
+
<xref target='note1'>Figure 3</xref>
|
459
|
+
<xref target='note2'>Figure 6</xref>
|
460
|
+
</p>
|
461
|
+
</clause>
|
462
|
+
</clause>
|
463
|
+
</sections>
|
464
|
+
<annex id='annex1'>
|
465
|
+
<title>
|
466
|
+
<strong>Annex A</strong>
|
467
|
+
<br/>
|
468
|
+
(informative)
|
469
|
+
</title>
|
470
|
+
<clause id='annex1a'><title>A.1.</title>
|
471
|
+
<figure id='AN'>
|
472
|
+
<name>Figure A.1 — Split-it-right sample divider</name>
|
473
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
474
|
+
</figure>
|
475
|
+
</clause>
|
476
|
+
<clause id='annex1b'><title>A.2.</title>
|
477
|
+
<figure id='Anote1' unnumbered='true'>
|
478
|
+
<name>Split-it-right sample divider</name>
|
479
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
480
|
+
</figure>
|
481
|
+
<figure id='Anote2'>
|
482
|
+
<name>Figure A.2 — Split-it-right sample divider</name>
|
483
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
484
|
+
</figure>
|
485
|
+
<sourcecode id='Anote3'>
|
486
|
+
<name>Figure A.3 — Source! Code!</name>
|
487
|
+
A B C
|
488
|
+
</sourcecode>
|
489
|
+
</clause>
|
490
|
+
</annex>
|
491
|
+
</iso-standard>
|
492
|
+
OUTPUT
|
493
|
+
end
|
494
|
+
|
495
|
+
it "cross-references subfigures" do
|
496
|
+
expect(xmlpp(IsoDoc::PresentationXMLConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
497
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
498
|
+
<preface>
|
499
|
+
<foreword id="fwd">
|
500
|
+
<p>
|
501
|
+
<xref target="N"/>
|
502
|
+
<xref target="note1"/>
|
503
|
+
<xref target="note2"/>
|
504
|
+
<xref target="AN"/>
|
505
|
+
<xref target="Anote1"/>
|
506
|
+
<xref target="Anote2"/>
|
507
|
+
</p>
|
508
|
+
</foreword>
|
509
|
+
</preface>
|
510
|
+
<sections>
|
511
|
+
<clause id="scope" type="scope"><title>Scope</title>
|
512
|
+
</clause>
|
513
|
+
<terms id="terms"/>
|
514
|
+
<clause id="widgets"><title>Widgets</title>
|
515
|
+
<clause id="widgets1">
|
516
|
+
<figure id="N">
|
517
|
+
<figure id="note1">
|
518
|
+
<name>Split-it-right sample divider</name>
|
519
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
520
|
+
</figure>
|
521
|
+
<figure id="note2">
|
522
|
+
<name>Split-it-right sample divider</name>
|
523
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
524
|
+
</figure>
|
525
|
+
</figure>
|
526
|
+
<p> <xref target="note1"/> <xref target="note2"/> </p>
|
527
|
+
</clause>
|
528
|
+
</clause>
|
529
|
+
</sections>
|
530
|
+
<annex id="annex1">
|
531
|
+
<clause id="annex1a">
|
532
|
+
</clause>
|
533
|
+
<clause id="annex1b">
|
534
|
+
<figure id="AN">
|
535
|
+
<figure id="Anote1">
|
536
|
+
<name>Split-it-right sample divider</name>
|
537
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
538
|
+
</figure>
|
539
|
+
<figure id="Anote2">
|
540
|
+
<name>Split-it-right sample divider</name>
|
541
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
542
|
+
</figure>
|
543
|
+
</figure>
|
544
|
+
</clause>
|
545
|
+
</annex>
|
546
|
+
</iso-standard>
|
547
|
+
INPUT
|
548
|
+
<?xml version='1.0'?>
|
549
|
+
<iso-standard xmlns='http://riboseinc.com/isoxml'>
|
550
|
+
<preface>
|
551
|
+
<foreword id='fwd'>
|
552
|
+
<p>
|
553
|
+
<xref target='N'>Figure 1</xref>
|
554
|
+
<xref target='note1'>Figure 1-1</xref>
|
555
|
+
<xref target='note2'>Figure 1-2</xref>
|
556
|
+
<xref target='AN'>Figure A.1</xref>
|
557
|
+
<xref target='Anote1'>Figure A.1-1</xref>
|
558
|
+
<xref target='Anote2'>Figure A.1-2</xref>
|
559
|
+
</p>
|
560
|
+
</foreword>
|
561
|
+
</preface>
|
562
|
+
<sections>
|
563
|
+
<clause id='scope' type="scope">
|
564
|
+
<title depth='1'>
|
565
|
+
1.
|
566
|
+
<tab/>
|
567
|
+
Scope
|
568
|
+
</title>
|
569
|
+
</clause>
|
570
|
+
<terms id='terms'>
|
571
|
+
<title>2.</title>
|
572
|
+
</terms>
|
573
|
+
<clause id='widgets'>
|
574
|
+
<title depth='1'>
|
575
|
+
3.
|
576
|
+
<tab/>
|
577
|
+
Widgets
|
578
|
+
</title>
|
579
|
+
<clause id='widgets1'><title>3.1.</title>
|
580
|
+
<figure id='N'>
|
581
|
+
<figure id='note1'>
|
582
|
+
<name>Figure 1-1 — Split-it-right sample divider</name>
|
583
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
584
|
+
</figure>
|
585
|
+
<figure id='note2'>
|
586
|
+
<name>Figure 1-2 — Split-it-right sample divider</name>
|
587
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
588
|
+
</figure>
|
589
|
+
</figure>
|
590
|
+
<p>
|
591
|
+
<xref target='note1'>Figure 1-1</xref>
|
592
|
+
<xref target='note2'>Figure 1-2</xref>
|
593
|
+
</p>
|
594
|
+
</clause>
|
595
|
+
</clause>
|
596
|
+
</sections>
|
597
|
+
<annex id='annex1'>
|
598
|
+
<title>
|
599
|
+
<strong>Annex A</strong>
|
600
|
+
<br/>
|
601
|
+
(informative)
|
602
|
+
</title>
|
603
|
+
<clause id='annex1a'> <title>A.1.</title>
|
604
|
+
</clause>
|
605
|
+
<clause id='annex1b'><title>A.2.</title>
|
606
|
+
<figure id='AN'>
|
607
|
+
<figure id='Anote1'>
|
608
|
+
<name>Figure A.1-1 — Split-it-right sample divider</name>
|
609
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
610
|
+
</figure>
|
611
|
+
<figure id='Anote2'>
|
612
|
+
<name>Figure A.1-2 — Split-it-right sample divider</name>
|
613
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
614
|
+
</figure>
|
615
|
+
</figure>
|
616
|
+
</clause>
|
617
|
+
</annex>
|
618
|
+
</iso-standard>
|
619
|
+
OUTPUT
|
620
|
+
end
|
621
|
+
|
622
|
+
it "cross-references examples" do
|
623
|
+
expect(xmlpp(IsoDoc::PresentationXMLConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
624
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
625
|
+
<preface>
|
626
|
+
<foreword>
|
627
|
+
<p>
|
628
|
+
<xref target="N1"/>
|
629
|
+
<xref target="N2"/>
|
630
|
+
<xref target="N"/>
|
631
|
+
<xref target="note1"/>
|
632
|
+
<xref target="note2"/>
|
633
|
+
<xref target="AN"/>
|
634
|
+
<xref target="Anote1"/>
|
635
|
+
<xref target="Anote2"/>
|
636
|
+
</p>
|
637
|
+
</foreword>
|
638
|
+
<introduction id="intro">
|
639
|
+
<example id="N1">
|
640
|
+
<p>Hello</p>
|
641
|
+
</example>
|
642
|
+
<clause id="xyz"><title>Preparatory</title>
|
643
|
+
<example id="N2" unnumbered="true">
|
644
|
+
<p>Hello</p>
|
645
|
+
</example>
|
646
|
+
</clause>
|
647
|
+
</introduction>
|
648
|
+
</preface>
|
649
|
+
<sections>
|
650
|
+
<clause id="scope" type="scope"><title>Scope</title>
|
651
|
+
<example id="N">
|
652
|
+
<p>Hello</p>
|
653
|
+
</example>
|
654
|
+
<p><xref target="N"/></p>
|
655
|
+
</clause>
|
656
|
+
<terms id="terms"/>
|
657
|
+
<clause id="widgets"><title>Widgets</title>
|
658
|
+
<clause id="widgets1">
|
659
|
+
<example id="note1">
|
660
|
+
<p>Hello</p>
|
661
|
+
</example>
|
662
|
+
<example id="note2" unnumbered="true">
|
663
|
+
<p>Hello</p>
|
664
|
+
</example>
|
665
|
+
<p> <xref target="note1"/> <xref target="note2"/> </p>
|
666
|
+
</clause>
|
667
|
+
</clause>
|
668
|
+
</sections>
|
669
|
+
<annex id="annex1">
|
670
|
+
<clause id="annex1a">
|
671
|
+
<example id="AN">
|
672
|
+
<p>Hello</p>
|
673
|
+
</example>
|
674
|
+
</clause>
|
675
|
+
<clause id="annex1b">
|
676
|
+
<example id="Anote1" unnumbered="true">
|
677
|
+
<p>Hello</p>
|
678
|
+
</example>
|
679
|
+
<example id="Anote2">
|
680
|
+
<p>Hello</p>
|
681
|
+
</example>
|
682
|
+
</clause>
|
683
|
+
</annex>
|
684
|
+
</iso-standard>
|
685
|
+
INPUT
|
686
|
+
<?xml version='1.0'?>
|
687
|
+
<iso-standard xmlns='http://riboseinc.com/isoxml'>
|
688
|
+
<preface>
|
689
|
+
<foreword>
|
690
|
+
<p>
|
691
|
+
<xref target='N1'>Introduction, Example</xref>
|
692
|
+
<xref target='N2'>Preparatory, Example (??)</xref>
|
693
|
+
<xref target='N'>Clause 1, Example</xref>
|
694
|
+
<xref target='note1'>Clause 3.1, Example 1</xref>
|
695
|
+
<xref target='note2'>Clause 3.1, Example (??)</xref>
|
696
|
+
<xref target='AN'>Annex A.1, Example</xref>
|
697
|
+
<xref target='Anote1'>Annex A.2, Example (??)</xref>
|
698
|
+
<xref target='Anote2'>Annex A.2, Example 1</xref>
|
699
|
+
</p>
|
700
|
+
</foreword>
|
701
|
+
<introduction id='intro'>
|
702
|
+
<example id='N1'>
|
703
|
+
<name>EXAMPLE</name>
|
704
|
+
<p>Hello</p>
|
705
|
+
</example>
|
706
|
+
<clause id='xyz'>
|
707
|
+
<title depth='2'>Preparatory</title>
|
708
|
+
<example id='N2' unnumbered='true'>
|
709
|
+
<name>EXAMPLE</name>
|
710
|
+
<p>Hello</p>
|
711
|
+
</example>
|
712
|
+
</clause>
|
713
|
+
</introduction>
|
714
|
+
</preface>
|
715
|
+
<sections>
|
716
|
+
<clause id='scope' type="scope">
|
717
|
+
<title depth='1'>
|
718
|
+
1.
|
719
|
+
<tab/>
|
720
|
+
Scope
|
721
|
+
</title>
|
722
|
+
<example id='N'>
|
723
|
+
<name>EXAMPLE</name>
|
724
|
+
<p>Hello</p>
|
725
|
+
</example>
|
726
|
+
<p>
|
727
|
+
<xref target='N'>Example</xref>
|
728
|
+
</p>
|
729
|
+
</clause>
|
730
|
+
<terms id='terms'>
|
731
|
+
<title>2.</title>
|
732
|
+
</terms>
|
733
|
+
<clause id='widgets'>
|
734
|
+
<title depth='1'>
|
735
|
+
3.
|
736
|
+
<tab/>
|
737
|
+
Widgets
|
738
|
+
</title>
|
739
|
+
<clause id='widgets1'><title>3.1.</title>
|
740
|
+
<example id='note1'>
|
741
|
+
<name>EXAMPLE 1</name>
|
742
|
+
<p>Hello</p>
|
743
|
+
</example>
|
744
|
+
<example id='note2' unnumbered='true'>
|
745
|
+
<name>EXAMPLE</name>
|
746
|
+
<p>Hello</p>
|
747
|
+
</example>
|
748
|
+
<p>
|
749
|
+
<xref target='note1'>Example 1</xref>
|
750
|
+
<xref target='note2'>Example (??)</xref>
|
751
|
+
</p>
|
752
|
+
</clause>
|
753
|
+
</clause>
|
754
|
+
</sections>
|
755
|
+
<annex id='annex1'>
|
756
|
+
<title>
|
757
|
+
<strong>Annex A</strong>
|
758
|
+
<br/>
|
759
|
+
(informative)
|
760
|
+
</title>
|
761
|
+
<clause id='annex1a'><title>A.1.</title>
|
762
|
+
<example id='AN'>
|
763
|
+
<name>EXAMPLE</name>
|
764
|
+
<p>Hello</p>
|
765
|
+
</example>
|
766
|
+
</clause>
|
767
|
+
<clause id='annex1b'><title>A.2.</title>
|
768
|
+
<example id='Anote1' unnumbered='true'>
|
769
|
+
<name>EXAMPLE</name>
|
770
|
+
<p>Hello</p>
|
771
|
+
</example>
|
772
|
+
<example id='Anote2'>
|
773
|
+
<name>EXAMPLE 1</name>
|
774
|
+
<p>Hello</p>
|
775
|
+
</example>
|
776
|
+
</clause>
|
777
|
+
</annex>
|
778
|
+
</iso-standard>
|
779
|
+
OUTPUT
|
780
|
+
end
|
781
|
+
|
782
|
+
it "cross-references formulae" do
|
783
|
+
expect(xmlpp(IsoDoc::PresentationXMLConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
784
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
785
|
+
<preface>
|
786
|
+
<foreword>
|
787
|
+
<p>
|
788
|
+
<xref target="N1"/>
|
789
|
+
<xref target="N2"/>
|
790
|
+
<xref target="N"/>
|
791
|
+
<xref target="note1"/>
|
792
|
+
<xref target="note2"/>
|
793
|
+
<xref target="AN"/>
|
794
|
+
<xref target="Anote1"/>
|
795
|
+
<xref target="Anote2"/>
|
796
|
+
</p>
|
797
|
+
</foreword>
|
798
|
+
<introduction id="intro">
|
799
|
+
<formula id="N1">
|
800
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
801
|
+
</formula>
|
802
|
+
<clause id="xyz"><title>Preparatory</title>
|
803
|
+
<formula id="N2" unnumbered="true">
|
804
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
805
|
+
</formula>
|
806
|
+
</clause>
|
807
|
+
</introduction>
|
808
|
+
</preface>
|
809
|
+
<sections>
|
810
|
+
<clause id="scope" type="scope"><title>Scope</title>
|
811
|
+
<formula id="N">
|
812
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
813
|
+
</formula>
|
814
|
+
<p><xref target="N"/></p>
|
815
|
+
</clause>
|
816
|
+
<terms id="terms"/>
|
817
|
+
<clause id="widgets"><title>Widgets</title>
|
818
|
+
<clause id="widgets1">
|
819
|
+
<formula id="note1">
|
820
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
821
|
+
</formula>
|
822
|
+
<formula id="note2">
|
823
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
824
|
+
</formula>
|
825
|
+
<p> <xref target="note1"/> <xref target="note2"/> </p>
|
826
|
+
</clause>
|
827
|
+
</clause>
|
828
|
+
</sections>
|
829
|
+
<annex id="annex1">
|
830
|
+
<clause id="annex1a">
|
831
|
+
<formula id="AN">
|
832
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
833
|
+
</formula>
|
834
|
+
</clause>
|
835
|
+
<clause id="annex1b">
|
836
|
+
<formula id="Anote1" unnumbered="true">
|
837
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
838
|
+
</formula>
|
839
|
+
<formula id="Anote2">
|
840
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
841
|
+
</formula>
|
842
|
+
</clause>
|
843
|
+
</annex>
|
844
|
+
</iso-standard>
|
845
|
+
INPUT
|
846
|
+
<?xml version='1.0'?>
|
847
|
+
<iso-standard xmlns='http://riboseinc.com/isoxml'>
|
848
|
+
<preface>
|
849
|
+
<foreword>
|
850
|
+
<p>
|
851
|
+
<xref target='N1'>Introduction, Formula (1)</xref>
|
852
|
+
<xref target='N2'>Preparatory, Formula ((??))</xref>
|
853
|
+
<xref target='N'>Clause 1, Formula (2)</xref>
|
854
|
+
<xref target='note1'>Clause 3.1, Formula (3)</xref>
|
855
|
+
<xref target='note2'>Clause 3.1, Formula (4)</xref>
|
856
|
+
<xref target='AN'>Formula (A.1)</xref>
|
857
|
+
<xref target='Anote1'>Formula ((??))</xref>
|
858
|
+
<xref target='Anote2'>Formula (A.2)</xref>
|
859
|
+
</p>
|
860
|
+
</foreword>
|
861
|
+
<introduction id='intro'>
|
862
|
+
<formula id='N1'>
|
863
|
+
<name>1</name>
|
864
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
865
|
+
</formula>
|
866
|
+
<clause id='xyz'>
|
867
|
+
<title depth='2'>Preparatory</title>
|
868
|
+
<formula id='N2' unnumbered='true'>
|
869
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
870
|
+
</formula>
|
871
|
+
</clause>
|
872
|
+
</introduction>
|
873
|
+
</preface>
|
874
|
+
<sections>
|
875
|
+
<clause id='scope' type="scope">
|
876
|
+
<title depth='1'>
|
877
|
+
1.
|
878
|
+
<tab/>
|
879
|
+
Scope
|
880
|
+
</title>
|
881
|
+
<formula id='N'>
|
882
|
+
<name>2</name>
|
883
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
884
|
+
</formula>
|
885
|
+
<p>
|
886
|
+
<xref target='N'>Formula (2)</xref>
|
887
|
+
</p>
|
888
|
+
</clause>
|
889
|
+
<terms id='terms'>
|
890
|
+
<title>2.</title>
|
891
|
+
</terms>
|
892
|
+
<clause id='widgets'>
|
893
|
+
<title depth='1'>
|
894
|
+
3.
|
895
|
+
<tab/>
|
896
|
+
Widgets
|
897
|
+
</title>
|
898
|
+
<clause id='widgets1'><title>3.1.</title>
|
899
|
+
<formula id='note1'>
|
900
|
+
<name>3</name>
|
901
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
902
|
+
</formula>
|
903
|
+
<formula id='note2'>
|
904
|
+
<name>4</name>
|
905
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
906
|
+
</formula>
|
907
|
+
<p>
|
908
|
+
<xref target='note1'>Formula (3)</xref>
|
909
|
+
<xref target='note2'>Formula (4)</xref>
|
910
|
+
</p>
|
911
|
+
</clause>
|
912
|
+
</clause>
|
913
|
+
</sections>
|
914
|
+
<annex id='annex1'>
|
915
|
+
<title>
|
916
|
+
<strong>Annex A</strong>
|
917
|
+
<br/>
|
918
|
+
(informative)
|
919
|
+
</title>
|
920
|
+
<clause id='annex1a'><title>A.1.</title>
|
921
|
+
<formula id='AN'>
|
922
|
+
<name>A.1</name>
|
923
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
924
|
+
</formula>
|
925
|
+
</clause>
|
926
|
+
<clause id='annex1b'><title>A.2.</title>
|
927
|
+
<formula id='Anote1' unnumbered='true'>
|
928
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
929
|
+
</formula>
|
930
|
+
<formula id='Anote2'>
|
931
|
+
<name>A.2</name>
|
932
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
933
|
+
</formula>
|
934
|
+
</clause>
|
935
|
+
</annex>
|
936
|
+
</iso-standard>
|
937
|
+
OUTPUT
|
938
|
+
end
|
939
|
+
|
940
|
+
it "cross-references requirements" do
|
941
|
+
expect(xmlpp(IsoDoc::PresentationXMLConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
942
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
943
|
+
<preface>
|
944
|
+
<foreword>
|
945
|
+
<p>
|
946
|
+
<xref target="N1"/>
|
947
|
+
<xref target="N2"/>
|
948
|
+
<xref target="N"/>
|
949
|
+
<xref target="note1"/>
|
950
|
+
<xref target="note2"/>
|
951
|
+
<xref target="AN"/>
|
952
|
+
<xref target="Anote1"/>
|
953
|
+
<xref target="Anote2"/>
|
954
|
+
</p>
|
955
|
+
</foreword>
|
956
|
+
<introduction id="intro">
|
957
|
+
<requirement id="N1">
|
958
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
959
|
+
</requirement>
|
960
|
+
<clause id="xyz"><title>Preparatory</title>
|
961
|
+
<requirement id="N2" unnumbered="true">
|
962
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
963
|
+
</requirement>
|
964
|
+
</clause>
|
965
|
+
</introduction>
|
966
|
+
</preface>
|
967
|
+
<sections>
|
968
|
+
<clause id="scope" type="scope"><title>Scope</title>
|
969
|
+
<requirement id="N">
|
970
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
971
|
+
</requirement>
|
972
|
+
<p><xref target="N"/></p>
|
973
|
+
</clause>
|
974
|
+
<terms id="terms"/>
|
975
|
+
<clause id="widgets"><title>Widgets</title>
|
976
|
+
<clause id="widgets1">
|
977
|
+
<requirement id="note1">
|
978
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
979
|
+
</requirement>
|
980
|
+
<requirement id="note2">
|
981
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
982
|
+
</requirement>
|
983
|
+
<p> <xref target="note1"/> <xref target="note2"/> </p>
|
984
|
+
</clause>
|
985
|
+
</clause>
|
986
|
+
</sections>
|
987
|
+
<annex id="annex1">
|
988
|
+
<clause id="annex1a">
|
989
|
+
<requirement id="AN">
|
990
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
991
|
+
</requirement>
|
992
|
+
</clause>
|
993
|
+
<clause id="annex1b">
|
994
|
+
<requirement id="Anote1" unnumbered="true">
|
995
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
996
|
+
</requirement>
|
997
|
+
<requirement id="Anote2">
|
998
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
999
|
+
</requirement>
|
1000
|
+
</clause>
|
1001
|
+
</annex>
|
1002
|
+
</iso-standard>
|
1003
|
+
INPUT
|
1004
|
+
<?xml version='1.0'?>
|
1005
|
+
<iso-standard xmlns='http://riboseinc.com/isoxml'>
|
1006
|
+
<preface>
|
1007
|
+
<foreword>
|
1008
|
+
<p>
|
1009
|
+
<xref target='N1'>Introduction, Requirement 1</xref>
|
1010
|
+
<xref target='N2'>Preparatory, Requirement (??)</xref>
|
1011
|
+
<xref target='N'>Clause 1, Requirement 2</xref>
|
1012
|
+
<xref target='note1'>Clause 3.1, Requirement 3</xref>
|
1013
|
+
<xref target='note2'>Clause 3.1, Requirement 4</xref>
|
1014
|
+
<xref target='AN'>Requirement A.1</xref>
|
1015
|
+
<xref target='Anote1'>Requirement (??)</xref>
|
1016
|
+
<xref target='Anote2'>Requirement A.2</xref>
|
1017
|
+
</p>
|
1018
|
+
</foreword>
|
1019
|
+
<introduction id='intro'>
|
1020
|
+
<requirement id='N1'>
|
1021
|
+
<name>Requirement 1</name>
|
1022
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1023
|
+
</requirement>
|
1024
|
+
<clause id='xyz'>
|
1025
|
+
<title depth='2'>Preparatory</title>
|
1026
|
+
<requirement id='N2' unnumbered='true'>
|
1027
|
+
<name>Requirement</name>
|
1028
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1029
|
+
</requirement>
|
1030
|
+
</clause>
|
1031
|
+
</introduction>
|
1032
|
+
</preface>
|
1033
|
+
<sections>
|
1034
|
+
<clause id='scope' type="scope">
|
1035
|
+
<title depth='1'>
|
1036
|
+
1.
|
1037
|
+
<tab/>
|
1038
|
+
Scope
|
1039
|
+
</title>
|
1040
|
+
<requirement id='N'>
|
1041
|
+
<name>Requirement 2</name>
|
1042
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1043
|
+
</requirement>
|
1044
|
+
<p>
|
1045
|
+
<xref target='N'>Requirement 2</xref>
|
1046
|
+
</p>
|
1047
|
+
</clause>
|
1048
|
+
<terms id='terms'>
|
1049
|
+
<title>2.</title>
|
1050
|
+
</terms>
|
1051
|
+
<clause id='widgets'>
|
1052
|
+
<title depth='1'>
|
1053
|
+
3.
|
1054
|
+
<tab/>
|
1055
|
+
Widgets
|
1056
|
+
</title>
|
1057
|
+
<clause id='widgets1'><title>3.1.</title>
|
1058
|
+
<requirement id='note1'>
|
1059
|
+
<name>Requirement 3</name>
|
1060
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1061
|
+
</requirement>
|
1062
|
+
<requirement id='note2'>
|
1063
|
+
<name>Requirement 4</name>
|
1064
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1065
|
+
</requirement>
|
1066
|
+
<p>
|
1067
|
+
<xref target='note1'>Requirement 3</xref>
|
1068
|
+
<xref target='note2'>Requirement 4</xref>
|
1069
|
+
</p>
|
1070
|
+
</clause>
|
1071
|
+
</clause>
|
1072
|
+
</sections>
|
1073
|
+
<annex id='annex1'>
|
1074
|
+
<title>
|
1075
|
+
<strong>Annex A</strong>
|
1076
|
+
<br/>
|
1077
|
+
(informative)
|
1078
|
+
</title>
|
1079
|
+
<clause id='annex1a'><title>A.1.</title>
|
1080
|
+
<requirement id='AN'>
|
1081
|
+
<name>Requirement A.1</name>
|
1082
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1083
|
+
</requirement>
|
1084
|
+
</clause>
|
1085
|
+
<clause id='annex1b'><title>A.2.</title>
|
1086
|
+
<requirement id='Anote1' unnumbered='true'>
|
1087
|
+
<name>Requirement</name>
|
1088
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1089
|
+
</requirement>
|
1090
|
+
<requirement id='Anote2'>
|
1091
|
+
<name>Requirement A.2</name>
|
1092
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1093
|
+
</requirement>
|
1094
|
+
</clause>
|
1095
|
+
</annex>
|
1096
|
+
</iso-standard>
|
1097
|
+
OUTPUT
|
1098
|
+
end
|
1099
|
+
|
1100
|
+
it "cross-references recommendations" do
|
1101
|
+
expect(xmlpp(IsoDoc::PresentationXMLConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
1102
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
1103
|
+
<preface>
|
1104
|
+
<foreword>
|
1105
|
+
<p>
|
1106
|
+
<xref target="N1"/>
|
1107
|
+
<xref target="N2"/>
|
1108
|
+
<xref target="N"/>
|
1109
|
+
<xref target="note1"/>
|
1110
|
+
<xref target="note2"/>
|
1111
|
+
<xref target="AN"/>
|
1112
|
+
<xref target="Anote1"/>
|
1113
|
+
<xref target="Anote2"/>
|
1114
|
+
</p>
|
1115
|
+
</foreword>
|
1116
|
+
<introduction id="intro">
|
1117
|
+
<recommendation id="N1">
|
1118
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
1119
|
+
</recommendation>
|
1120
|
+
<clause id="xyz"><title>Preparatory</title>
|
1121
|
+
<recommendation id="N2" unnumbered="true">
|
1122
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
1123
|
+
</recommendation>
|
1124
|
+
</clause>
|
1125
|
+
</introduction>
|
1126
|
+
</preface>
|
1127
|
+
<sections>
|
1128
|
+
<clause id="scope" type="scope"><title>Scope</title>
|
1129
|
+
<recommendation id="N">
|
1130
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
1131
|
+
</recommendation>
|
1132
|
+
<p><xref target="N"/></p>
|
1133
|
+
</clause>
|
1134
|
+
<terms id="terms"/>
|
1135
|
+
<clause id="widgets"><title>Widgets</title>
|
1136
|
+
<clause id="widgets1">
|
1137
|
+
<recommendation id="note1">
|
1138
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
1139
|
+
</recommendation>
|
1140
|
+
<recommendation id="note2">
|
1141
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
1142
|
+
</recommendation>
|
1143
|
+
<p> <xref target="note1"/> <xref target="note2"/> </p>
|
1144
|
+
</clause>
|
1145
|
+
</clause>
|
1146
|
+
</sections>
|
1147
|
+
<annex id="annex1">
|
1148
|
+
<clause id="annex1a">
|
1149
|
+
<recommendation id="AN">
|
1150
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
1151
|
+
</recommendation>
|
1152
|
+
</clause>
|
1153
|
+
<clause id="annex1b">
|
1154
|
+
<recommendation id="Anote1" unnumbered="true">
|
1155
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
1156
|
+
</recommendation>
|
1157
|
+
<recommendation id="Anote2">
|
1158
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
1159
|
+
</recommendation>
|
1160
|
+
</clause>
|
1161
|
+
</annex>
|
1162
|
+
</iso-standard>
|
1163
|
+
INPUT
|
1164
|
+
<?xml version='1.0'?>
|
1165
|
+
<iso-standard xmlns='http://riboseinc.com/isoxml'>
|
1166
|
+
<preface>
|
1167
|
+
<foreword>
|
1168
|
+
<p>
|
1169
|
+
<xref target='N1'>Introduction, Recommendation 1</xref>
|
1170
|
+
<xref target='N2'>Preparatory, Recommendation (??)</xref>
|
1171
|
+
<xref target='N'>Clause 1, Recommendation 2</xref>
|
1172
|
+
<xref target='note1'>Clause 3.1, Recommendation 3</xref>
|
1173
|
+
<xref target='note2'>Clause 3.1, Recommendation 4</xref>
|
1174
|
+
<xref target='AN'>Recommendation A.1</xref>
|
1175
|
+
<xref target='Anote1'>Recommendation (??)</xref>
|
1176
|
+
<xref target='Anote2'>Recommendation A.2</xref>
|
1177
|
+
</p>
|
1178
|
+
</foreword>
|
1179
|
+
<introduction id='intro'>
|
1180
|
+
<recommendation id='N1'>
|
1181
|
+
<name>Recommendation 1</name>
|
1182
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1183
|
+
</recommendation>
|
1184
|
+
<clause id='xyz'>
|
1185
|
+
<title depth='2'>Preparatory</title>
|
1186
|
+
<recommendation id='N2' unnumbered='true'>
|
1187
|
+
<name>Recommendation</name>
|
1188
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1189
|
+
</recommendation>
|
1190
|
+
</clause>
|
1191
|
+
</introduction>
|
1192
|
+
</preface>
|
1193
|
+
<sections>
|
1194
|
+
<clause id='scope' type="scope">
|
1195
|
+
<title depth='1'>
|
1196
|
+
1.
|
1197
|
+
<tab/>
|
1198
|
+
Scope
|
1199
|
+
</title>
|
1200
|
+
<recommendation id='N'>
|
1201
|
+
<name>Recommendation 2</name>
|
1202
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1203
|
+
</recommendation>
|
1204
|
+
<p>
|
1205
|
+
<xref target='N'>Recommendation 2</xref>
|
1206
|
+
</p>
|
1207
|
+
</clause>
|
1208
|
+
<terms id='terms'>
|
1209
|
+
<title>2.</title>
|
1210
|
+
</terms>
|
1211
|
+
<clause id='widgets'>
|
1212
|
+
<title depth='1'>
|
1213
|
+
3.
|
1214
|
+
<tab/>
|
1215
|
+
Widgets
|
1216
|
+
</title>
|
1217
|
+
<clause id='widgets1'><title>3.1.</title>
|
1218
|
+
<recommendation id='note1'>
|
1219
|
+
<name>Recommendation 3</name>
|
1220
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1221
|
+
</recommendation>
|
1222
|
+
<recommendation id='note2'>
|
1223
|
+
<name>Recommendation 4</name>
|
1224
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1225
|
+
</recommendation>
|
1226
|
+
<p>
|
1227
|
+
<xref target='note1'>Recommendation 3</xref>
|
1228
|
+
<xref target='note2'>Recommendation 4</xref>
|
1229
|
+
</p>
|
1230
|
+
</clause>
|
1231
|
+
</clause>
|
1232
|
+
</sections>
|
1233
|
+
<annex id='annex1'>
|
1234
|
+
<title>
|
1235
|
+
<strong>Annex A</strong>
|
1236
|
+
<br/>
|
1237
|
+
(informative)
|
1238
|
+
</title>
|
1239
|
+
<clause id='annex1a'><title>A.1.</title>
|
1240
|
+
<recommendation id='AN'>
|
1241
|
+
<name>Recommendation A.1</name>
|
1242
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1243
|
+
</recommendation>
|
1244
|
+
</clause>
|
1245
|
+
<clause id='annex1b'><title>A.2.</title>
|
1246
|
+
<recommendation id='Anote1' unnumbered='true'>
|
1247
|
+
<name>Recommendation</name>
|
1248
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1249
|
+
</recommendation>
|
1250
|
+
<recommendation id='Anote2'>
|
1251
|
+
<name>Recommendation A.2</name>
|
1252
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1253
|
+
</recommendation>
|
1254
|
+
</clause>
|
1255
|
+
</annex>
|
1256
|
+
</iso-standard>
|
1257
|
+
OUTPUT
|
1258
|
+
end
|
1259
|
+
|
1260
|
+
it "cross-references permissions" do
|
1261
|
+
expect(xmlpp(IsoDoc::PresentationXMLConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
1262
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
1263
|
+
<preface>
|
1264
|
+
<foreword>
|
1265
|
+
<p>
|
1266
|
+
<xref target="N1"/>
|
1267
|
+
<xref target="N2"/>
|
1268
|
+
<xref target="N"/>
|
1269
|
+
<xref target="note1"/>
|
1270
|
+
<xref target="note2"/>
|
1271
|
+
<xref target="AN"/>
|
1272
|
+
<xref target="Anote1"/>
|
1273
|
+
<xref target="Anote2"/>
|
1274
|
+
</p>
|
1275
|
+
</foreword>
|
1276
|
+
<introduction id="intro">
|
1277
|
+
<permission id="N1">
|
1278
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
1279
|
+
</permission>
|
1280
|
+
<clause id="xyz"><title>Preparatory</title>
|
1281
|
+
<permission id="N2" unnumbered="true">
|
1282
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
1283
|
+
</permission>
|
1284
|
+
</clause>
|
1285
|
+
</introduction>
|
1286
|
+
</preface>
|
1287
|
+
<sections>
|
1288
|
+
<clause id="scope" type="scope"><title>Scope</title>
|
1289
|
+
<permission id="N">
|
1290
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
1291
|
+
</permission>
|
1292
|
+
<p><xref target="N"/></p>
|
1293
|
+
</clause>
|
1294
|
+
<terms id="terms"/>
|
1295
|
+
<clause id="widgets"><title>Widgets</title>
|
1296
|
+
<clause id="widgets1">
|
1297
|
+
<permission id="note1">
|
1298
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
1299
|
+
</permission>
|
1300
|
+
<permission id="note2">
|
1301
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
1302
|
+
</permission>
|
1303
|
+
<p> <xref target="note1"/> <xref target="note2"/> </p>
|
1304
|
+
</clause>
|
1305
|
+
</clause>
|
1306
|
+
</sections>
|
1307
|
+
<annex id="annex1">
|
1308
|
+
<clause id="annex1a">
|
1309
|
+
<permission id="AN">
|
1310
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
1311
|
+
</permission>
|
1312
|
+
</clause>
|
1313
|
+
<clause id="annex1b">
|
1314
|
+
<permission id="Anote1" unnumbered="true">
|
1315
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
1316
|
+
</permission>
|
1317
|
+
<permission id="Anote2">
|
1318
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
1319
|
+
</permission>
|
1320
|
+
</clause>
|
1321
|
+
</annex>
|
1322
|
+
</iso-standard>
|
1323
|
+
INPUT
|
1324
|
+
<?xml version='1.0'?>
|
1325
|
+
<iso-standard xmlns='http://riboseinc.com/isoxml'>
|
1326
|
+
<preface>
|
1327
|
+
<foreword>
|
1328
|
+
<p>
|
1329
|
+
<xref target='N1'>Introduction, Permission 1</xref>
|
1330
|
+
<xref target='N2'>Preparatory, Permission (??)</xref>
|
1331
|
+
<xref target='N'>Clause 1, Permission 2</xref>
|
1332
|
+
<xref target='note1'>Clause 3.1, Permission 3</xref>
|
1333
|
+
<xref target='note2'>Clause 3.1, Permission 4</xref>
|
1334
|
+
<xref target='AN'>Permission A.1</xref>
|
1335
|
+
<xref target='Anote1'>Permission (??)</xref>
|
1336
|
+
<xref target='Anote2'>Permission A.2</xref>
|
1337
|
+
</p>
|
1338
|
+
</foreword>
|
1339
|
+
<introduction id='intro'>
|
1340
|
+
<permission id='N1'>
|
1341
|
+
<name>Permission 1</name>
|
1342
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1343
|
+
</permission>
|
1344
|
+
<clause id='xyz'>
|
1345
|
+
<title depth='2'>Preparatory</title>
|
1346
|
+
<permission id='N2' unnumbered='true'>
|
1347
|
+
<name>Permission</name>
|
1348
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1349
|
+
</permission>
|
1350
|
+
</clause>
|
1351
|
+
</introduction>
|
1352
|
+
</preface>
|
1353
|
+
<sections>
|
1354
|
+
<clause id='scope' type="scope">
|
1355
|
+
<title depth='1'>
|
1356
|
+
1.
|
1357
|
+
<tab/>
|
1358
|
+
Scope
|
1359
|
+
</title>
|
1360
|
+
<permission id='N'>
|
1361
|
+
<name>Permission 2</name>
|
1362
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1363
|
+
</permission>
|
1364
|
+
<p>
|
1365
|
+
<xref target='N'>Permission 2</xref>
|
1366
|
+
</p>
|
1367
|
+
</clause>
|
1368
|
+
<terms id='terms'>
|
1369
|
+
<title>2.</title>
|
1370
|
+
</terms>
|
1371
|
+
<clause id='widgets'>
|
1372
|
+
<title depth='1'>
|
1373
|
+
3.
|
1374
|
+
<tab/>
|
1375
|
+
Widgets
|
1376
|
+
</title>
|
1377
|
+
<clause id='widgets1'><title>3.1.</title>
|
1378
|
+
<permission id='note1'>
|
1379
|
+
<name>Permission 3</name>
|
1380
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1381
|
+
</permission>
|
1382
|
+
<permission id='note2'>
|
1383
|
+
<name>Permission 4</name>
|
1384
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1385
|
+
</permission>
|
1386
|
+
<p>
|
1387
|
+
<xref target='note1'>Permission 3</xref>
|
1388
|
+
<xref target='note2'>Permission 4</xref>
|
1389
|
+
</p>
|
1390
|
+
</clause>
|
1391
|
+
</clause>
|
1392
|
+
</sections>
|
1393
|
+
<annex id='annex1'>
|
1394
|
+
<title>
|
1395
|
+
<strong>Annex A</strong>
|
1396
|
+
<br/>
|
1397
|
+
(informative)
|
1398
|
+
</title>
|
1399
|
+
<clause id='annex1a'><title>A.1.</title>
|
1400
|
+
<permission id='AN'>
|
1401
|
+
<name>Permission A.1</name>
|
1402
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1403
|
+
</permission>
|
1404
|
+
</clause>
|
1405
|
+
<clause id='annex1b'><title>A.2.</title>
|
1406
|
+
<permission id='Anote1' unnumbered='true'>
|
1407
|
+
<name>Permission</name>
|
1408
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1409
|
+
</permission>
|
1410
|
+
<permission id='Anote2'>
|
1411
|
+
<name>Permission A.2</name>
|
1412
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
1413
|
+
</permission>
|
1414
|
+
</clause>
|
1415
|
+
</annex>
|
1416
|
+
</iso-standard>
|
1417
|
+
OUTPUT
|
1418
|
+
end
|
1419
|
+
|
1420
|
+
it "labels and cross-references nested requirements" do
|
1421
|
+
expect(xmlpp(IsoDoc::PresentationXMLConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
1422
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
1423
|
+
<preface>
|
1424
|
+
<foreword>
|
1425
|
+
<p>
|
1426
|
+
<xref target="N1"/>
|
1427
|
+
<xref target="N2"/>
|
1428
|
+
<xref target="N"/>
|
1429
|
+
<xref target="Q1"/>
|
1430
|
+
<xref target="R1"/>
|
1431
|
+
<xref target="AN1"/>
|
1432
|
+
<xref target="AN2"/>
|
1433
|
+
<xref target="AN"/>
|
1434
|
+
<xref target="AQ1"/>
|
1435
|
+
<xref target="AR1"/>
|
1436
|
+
</p>
|
1437
|
+
</foreword>
|
1438
|
+
</preface>
|
1439
|
+
<sections>
|
1440
|
+
<clause id="xyz"><title>Preparatory</title>
|
1441
|
+
<permission id="N1">
|
1442
|
+
<permission id="N2">
|
1443
|
+
<permission id="N">
|
1444
|
+
</permission>
|
1445
|
+
</permission>
|
1446
|
+
<requirement id="Q1">
|
1447
|
+
</requirement>
|
1448
|
+
<recommendation id="R1">
|
1449
|
+
</recommendation>
|
1450
|
+
</permission>
|
1451
|
+
</clause>
|
1452
|
+
</sections>
|
1453
|
+
<annex id="Axyz"><title>Preparatory</title>
|
1454
|
+
<permission id="AN1">
|
1455
|
+
<permission id="AN2">
|
1456
|
+
<permission id="AN">
|
1457
|
+
</permission>
|
1458
|
+
</permission>
|
1459
|
+
<requirement id="AQ1">
|
1460
|
+
</requirement>
|
1461
|
+
<recommendation id="AR1">
|
1462
|
+
</recommendation>
|
1463
|
+
</permission>
|
1464
|
+
</annex>
|
1465
|
+
</iso-standard>
|
1466
|
+
INPUT
|
1467
|
+
<?xml version='1.0'?>
|
1468
|
+
<iso-standard xmlns='http://riboseinc.com/isoxml'>
|
1469
|
+
<preface>
|
1470
|
+
<foreword>
|
1471
|
+
<p>
|
1472
|
+
<xref target='N1'>Clause 1, Permission 1</xref>
|
1473
|
+
<xref target='N2'>Clause 1, Permission 1-1</xref>
|
1474
|
+
<xref target='N'>Clause 1, Permission 1-1-1</xref>
|
1475
|
+
<xref target='Q1'>Clause 1, Requirement 1-1</xref>
|
1476
|
+
<xref target='R1'>Clause 1, Recommendation 1-1</xref>
|
1477
|
+
<xref target='AN1'>Permission A.1</xref>
|
1478
|
+
<xref target='AN2'>Permission A.1-1</xref>
|
1479
|
+
<xref target='AN'>Permission A.1-1-1</xref>
|
1480
|
+
<xref target='AQ1'>Requirement A.1-1</xref>
|
1481
|
+
<xref target='AR1'>Recommendation A.1-1</xref>
|
1482
|
+
</p>
|
1483
|
+
</foreword>
|
1484
|
+
</preface>
|
1485
|
+
<sections>
|
1486
|
+
<clause id='xyz'>
|
1487
|
+
<title depth='1'>
|
1488
|
+
1.
|
1489
|
+
<tab/>
|
1490
|
+
Preparatory
|
1491
|
+
</title>
|
1492
|
+
<permission id='N1'>
|
1493
|
+
<name>Permission 1</name>
|
1494
|
+
<permission id='N2'>
|
1495
|
+
<name>Permission 1-1</name>
|
1496
|
+
<permission id='N'>
|
1497
|
+
<name>Permission 1-1-1</name>
|
1498
|
+
</permission>
|
1499
|
+
</permission>
|
1500
|
+
<requirement id='Q1'>
|
1501
|
+
<name>Requirement 1-1</name>
|
1502
|
+
</requirement>
|
1503
|
+
<recommendation id='R1'>
|
1504
|
+
<name>Recommendation 1-1</name>
|
1505
|
+
</recommendation>
|
1506
|
+
</permission>
|
1507
|
+
</clause>
|
1508
|
+
</sections>
|
1509
|
+
<annex id='Axyz'>
|
1510
|
+
<title>
|
1511
|
+
<strong>Annex A</strong>
|
1512
|
+
<br/>
|
1513
|
+
(informative)
|
1514
|
+
<br/>
|
1515
|
+
<br/>
|
1516
|
+
<strong>Preparatory</strong></title>
|
1517
|
+
<permission id='AN1'>
|
1518
|
+
<name>Permission A.1</name>
|
1519
|
+
<permission id='AN2'>
|
1520
|
+
<name>Permission A.1-1</name>
|
1521
|
+
<permission id='AN'>
|
1522
|
+
<name>Permission A.1-1-1</name>
|
1523
|
+
</permission>
|
1524
|
+
</permission>
|
1525
|
+
<requirement id='AQ1'>
|
1526
|
+
<name>Requirement A.1-1</name>
|
1527
|
+
</requirement>
|
1528
|
+
<recommendation id='AR1'>
|
1529
|
+
<name>Recommendation A.1-1</name>
|
1530
|
+
</recommendation>
|
1531
|
+
</permission>
|
1532
|
+
</annex>
|
1533
|
+
</iso-standard>
|
1534
|
+
OUTPUT
|
1535
|
+
end
|
1536
|
+
|
1537
|
+
|
1538
|
+
it "cross-references tables" do
|
1539
|
+
expect(xmlpp(IsoDoc::PresentationXMLConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
1540
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
1541
|
+
<preface>
|
1542
|
+
<foreword>
|
1543
|
+
<p>
|
1544
|
+
<xref target="N1"/>
|
1545
|
+
<xref target="N2"/>
|
1546
|
+
<xref target="N"/>
|
1547
|
+
<xref target="note1"/>
|
1548
|
+
<xref target="note2"/>
|
1549
|
+
<xref target="AN"/>
|
1550
|
+
<xref target="Anote1"/>
|
1551
|
+
<xref target="Anote2"/>
|
1552
|
+
</p>
|
1553
|
+
</foreword>
|
1554
|
+
<introduction id="intro">
|
1555
|
+
<table id="N1">
|
1556
|
+
<name>Repeatability and reproducibility of husked rice yield</name>
|
1557
|
+
<tbody>
|
1558
|
+
<tr>
|
1559
|
+
<td align="left">Number of laboratories retained after eliminating outliers</td>
|
1560
|
+
<td align="center">13</td>
|
1561
|
+
<td align="center">11</td>
|
1562
|
+
</tr>
|
1563
|
+
</tbody>
|
1564
|
+
</table>
|
1565
|
+
<clause id="xyz"><title>Preparatory</title>
|
1566
|
+
<table id="N2" unnumbered="true">
|
1567
|
+
<name>Repeatability and reproducibility of husked rice yield</name>
|
1568
|
+
<tbody>
|
1569
|
+
<tr>
|
1570
|
+
<td align="left">Number of laboratories retained after eliminating outliers</td>
|
1571
|
+
<td align="center">13</td>
|
1572
|
+
<td align="center">11</td>
|
1573
|
+
</tr>
|
1574
|
+
</tbody>
|
1575
|
+
</table>
|
1576
|
+
</clause>
|
1577
|
+
</introduction>
|
1578
|
+
</preface>
|
1579
|
+
<sections>
|
1580
|
+
<clause id="scope" type="scope"><title>Scope</title>
|
1581
|
+
<table id="N">
|
1582
|
+
<name>Repeatability and reproducibility of husked rice yield</name>
|
1583
|
+
<tbody>
|
1584
|
+
<tr>
|
1585
|
+
<td align="left">Number of laboratories retained after eliminating outliers</td>
|
1586
|
+
<td align="center">13</td>
|
1587
|
+
<td align="center">11</td>
|
1588
|
+
</tr>
|
1589
|
+
</tbody>
|
1590
|
+
</table>
|
1591
|
+
<p><xref target="N"/></p>
|
1592
|
+
</clause>
|
1593
|
+
<terms id="terms"/>
|
1594
|
+
<clause id="widgets"><title>Widgets</title>
|
1595
|
+
<clause id="widgets1">
|
1596
|
+
<table id="note1">
|
1597
|
+
<name>Repeatability and reproducibility of husked rice yield</name>
|
1598
|
+
<tbody>
|
1599
|
+
<tr>
|
1600
|
+
<td align="left">Number of laboratories retained after eliminating outliers</td>
|
1601
|
+
<td align="center">13</td>
|
1602
|
+
<td align="center">11</td>
|
1603
|
+
</tr>
|
1604
|
+
</tbody>
|
1605
|
+
</table>
|
1606
|
+
<table id="note2">
|
1607
|
+
<name>Repeatability and reproducibility of husked rice yield</name>
|
1608
|
+
<tbody>
|
1609
|
+
<tr>
|
1610
|
+
<td align="left">Number of laboratories retained after eliminating outliers</td>
|
1611
|
+
<td align="center">13</td>
|
1612
|
+
<td align="center">11</td>
|
1613
|
+
</tr>
|
1614
|
+
</tbody>
|
1615
|
+
</table>
|
1616
|
+
<p> <xref target="note1"/> <xref target="note2"/> </p>
|
1617
|
+
</clause>
|
1618
|
+
</clause>
|
1619
|
+
</sections>
|
1620
|
+
<annex id="annex1">
|
1621
|
+
<clause id="annex1a">
|
1622
|
+
<table id="AN">
|
1623
|
+
<name>Repeatability and reproducibility of husked rice yield</name>
|
1624
|
+
<tbody>
|
1625
|
+
<tr>
|
1626
|
+
<td align="left">Number of laboratories retained after eliminating outliers</td>
|
1627
|
+
<td align="center">13</td>
|
1628
|
+
<td align="center">11</td>
|
1629
|
+
</tr>
|
1630
|
+
</tbody>
|
1631
|
+
</table>
|
1632
|
+
</clause>
|
1633
|
+
<clause id="annex1b">
|
1634
|
+
<table id="Anote1" unnumbered="true">
|
1635
|
+
<name>Repeatability and reproducibility of husked rice yield</name>
|
1636
|
+
<tbody>
|
1637
|
+
<tr>
|
1638
|
+
<td align="left">Number of laboratories retained after eliminating outliers</td>
|
1639
|
+
<td align="center">13</td>
|
1640
|
+
<td align="center">11</td>
|
1641
|
+
</tr>
|
1642
|
+
</tbody>
|
1643
|
+
</table>
|
1644
|
+
<table id="Anote2">
|
1645
|
+
<name>Repeatability and reproducibility of husked rice yield</name>
|
1646
|
+
<tbody>
|
1647
|
+
<tr>
|
1648
|
+
<td align="left">Number of laboratories retained after eliminating outliers</td>
|
1649
|
+
<td align="center">13</td>
|
1650
|
+
<td align="center">11</td>
|
1651
|
+
</tr>
|
1652
|
+
</tbody>
|
1653
|
+
</table>
|
1654
|
+
</clause>
|
1655
|
+
</annex>
|
1656
|
+
</iso-standard>
|
1657
|
+
INPUT
|
1658
|
+
<?xml version='1.0'?>
|
1659
|
+
<iso-standard xmlns='http://riboseinc.com/isoxml'>
|
1660
|
+
<preface>
|
1661
|
+
<foreword>
|
1662
|
+
<p>
|
1663
|
+
<xref target='N1'>Table 1</xref>
|
1664
|
+
<xref target='N2'>Table (??)</xref>
|
1665
|
+
<xref target='N'>Table 2</xref>
|
1666
|
+
<xref target='note1'>Table 3</xref>
|
1667
|
+
<xref target='note2'>Table 4</xref>
|
1668
|
+
<xref target='AN'>Table A.1</xref>
|
1669
|
+
<xref target='Anote1'>Table (??)</xref>
|
1670
|
+
<xref target='Anote2'>Table A.2</xref>
|
1671
|
+
</p>
|
1672
|
+
</foreword>
|
1673
|
+
<introduction id='intro'>
|
1674
|
+
<table id='N1'>
|
1675
|
+
<name>Table 1 — Repeatability and reproducibility of husked rice yield</name>
|
1676
|
+
<tbody>
|
1677
|
+
<tr>
|
1678
|
+
<td align='left'>Number of laboratories retained after eliminating outliers</td>
|
1679
|
+
<td align='center'>13</td>
|
1680
|
+
<td align='center'>11</td>
|
1681
|
+
</tr>
|
1682
|
+
</tbody>
|
1683
|
+
</table>
|
1684
|
+
<clause id='xyz'>
|
1685
|
+
<title depth='2'>Preparatory</title>
|
1686
|
+
<table id='N2' unnumbered='true'>
|
1687
|
+
<name>Table  — Repeatability and reproducibility of husked rice yield</name>
|
1688
|
+
<tbody>
|
1689
|
+
<tr>
|
1690
|
+
<td align='left'>Number of laboratories retained after eliminating outliers</td>
|
1691
|
+
<td align='center'>13</td>
|
1692
|
+
<td align='center'>11</td>
|
1693
|
+
</tr>
|
1694
|
+
</tbody>
|
1695
|
+
</table>
|
1696
|
+
</clause>
|
1697
|
+
</introduction>
|
1698
|
+
</preface>
|
1699
|
+
<sections>
|
1700
|
+
<clause id='scope' type="scope">
|
1701
|
+
<title depth='1'>
|
1702
|
+
1.
|
1703
|
+
<tab/>
|
1704
|
+
Scope
|
1705
|
+
</title>
|
1706
|
+
<table id='N'>
|
1707
|
+
<name>Table 2 — Repeatability and reproducibility of husked rice yield</name>
|
1708
|
+
<tbody>
|
1709
|
+
<tr>
|
1710
|
+
<td align='left'>Number of laboratories retained after eliminating outliers</td>
|
1711
|
+
<td align='center'>13</td>
|
1712
|
+
<td align='center'>11</td>
|
1713
|
+
</tr>
|
1714
|
+
</tbody>
|
1715
|
+
</table>
|
1716
|
+
<p>
|
1717
|
+
<xref target='N'>Table 2</xref>
|
1718
|
+
</p>
|
1719
|
+
</clause>
|
1720
|
+
<terms id='terms'>
|
1721
|
+
<title>2.</title>
|
1722
|
+
</terms>
|
1723
|
+
<clause id='widgets'>
|
1724
|
+
<title depth='1'>
|
1725
|
+
3.
|
1726
|
+
<tab/>
|
1727
|
+
Widgets
|
1728
|
+
</title>
|
1729
|
+
<clause id='widgets1'><title>3.1.</title>
|
1730
|
+
<table id='note1'>
|
1731
|
+
<name>Table 3 — Repeatability and reproducibility of husked rice yield</name>
|
1732
|
+
<tbody>
|
1733
|
+
<tr>
|
1734
|
+
<td align='left'>Number of laboratories retained after eliminating outliers</td>
|
1735
|
+
<td align='center'>13</td>
|
1736
|
+
<td align='center'>11</td>
|
1737
|
+
</tr>
|
1738
|
+
</tbody>
|
1739
|
+
</table>
|
1740
|
+
<table id='note2'>
|
1741
|
+
<name>Table 4 — Repeatability and reproducibility of husked rice yield</name>
|
1742
|
+
<tbody>
|
1743
|
+
<tr>
|
1744
|
+
<td align='left'>Number of laboratories retained after eliminating outliers</td>
|
1745
|
+
<td align='center'>13</td>
|
1746
|
+
<td align='center'>11</td>
|
1747
|
+
</tr>
|
1748
|
+
</tbody>
|
1749
|
+
</table>
|
1750
|
+
<p>
|
1751
|
+
<xref target='note1'>Table 3</xref>
|
1752
|
+
<xref target='note2'>Table 4</xref>
|
1753
|
+
</p>
|
1754
|
+
</clause>
|
1755
|
+
</clause>
|
1756
|
+
</sections>
|
1757
|
+
<annex id='annex1'>
|
1758
|
+
<title>
|
1759
|
+
<strong>Annex A</strong>
|
1760
|
+
<br/>
|
1761
|
+
(informative)
|
1762
|
+
</title>
|
1763
|
+
<clause id='annex1a'><title>A.1.</title>
|
1764
|
+
<table id='AN'>
|
1765
|
+
<name>Table A.1 — Repeatability and reproducibility of husked rice yield</name>
|
1766
|
+
<tbody>
|
1767
|
+
<tr>
|
1768
|
+
<td align='left'>Number of laboratories retained after eliminating outliers</td>
|
1769
|
+
<td align='center'>13</td>
|
1770
|
+
<td align='center'>11</td>
|
1771
|
+
</tr>
|
1772
|
+
</tbody>
|
1773
|
+
</table>
|
1774
|
+
</clause>
|
1775
|
+
<clause id='annex1b'><title>A.2.</title>
|
1776
|
+
<table id='Anote1' unnumbered='true'>
|
1777
|
+
<name>Table  — Repeatability and reproducibility of husked rice yield</name>
|
1778
|
+
<tbody>
|
1779
|
+
<tr>
|
1780
|
+
<td align='left'>Number of laboratories retained after eliminating outliers</td>
|
1781
|
+
<td align='center'>13</td>
|
1782
|
+
<td align='center'>11</td>
|
1783
|
+
</tr>
|
1784
|
+
</tbody>
|
1785
|
+
</table>
|
1786
|
+
<table id='Anote2'>
|
1787
|
+
<name>Table A.2 — Repeatability and reproducibility of husked rice yield</name>
|
1788
|
+
<tbody>
|
1789
|
+
<tr>
|
1790
|
+
<td align='left'>Number of laboratories retained after eliminating outliers</td>
|
1791
|
+
<td align='center'>13</td>
|
1792
|
+
<td align='center'>11</td>
|
1793
|
+
</tr>
|
1794
|
+
</tbody>
|
1795
|
+
</table>
|
1796
|
+
</clause>
|
1797
|
+
</annex>
|
1798
|
+
</iso-standard>
|
1799
|
+
OUTPUT
|
1800
|
+
end
|
1801
|
+
|
1802
|
+
it "cross-references term notes" do
|
1803
|
+
expect(xmlpp(IsoDoc::PresentationXMLConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
1804
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
1805
|
+
<preface>
|
1806
|
+
<foreword>
|
1807
|
+
<p>
|
1808
|
+
<xref target="note1"/>
|
1809
|
+
<xref target="note2"/>
|
1810
|
+
<xref target="note3"/>
|
1811
|
+
</p>
|
1812
|
+
</foreword>
|
1813
|
+
</preface>
|
1814
|
+
<sections>
|
1815
|
+
<clause id="scope" type="scope"><title>Scope</title>
|
1816
|
+
</clause>
|
1817
|
+
<terms id="terms">
|
1818
|
+
<term id="_waxy_rice"><preferred>waxy rice</preferred>
|
1819
|
+
<termnote id="note1">
|
1820
|
+
<p id="_b0cb3dfd-78fc-47dd-a339-84070d947463">The starch of waxy rice consists almost entirely of amylopectin. The kernels have a tendency to stick together after cooking.</p>
|
1821
|
+
</termnote></term>
|
1822
|
+
<term id="_nonwaxy_rice"><preferred>nonwaxy rice</preferred>
|
1823
|
+
<termnote id="note2">
|
1824
|
+
<p id="_b0cb3dfd-78fc-47dd-a339-84070d947463">The starch of waxy rice consists almost entirely of amylopectin. The kernels have a tendency to stick together after cooking.</p>
|
1825
|
+
</termnote>
|
1826
|
+
<termnote id="note3">
|
1827
|
+
<p id="_b0cb3dfd-78fc-47dd-a339-84070d947463">The starch of waxy rice consists almost entirely of amylopectin. The kernels have a tendency to stick together after cooking.</p>
|
1828
|
+
</termnote></term>
|
1829
|
+
</terms>
|
1830
|
+
|
1831
|
+
</iso-standard>
|
1832
|
+
INPUT
|
1833
|
+
<?xml version='1.0'?>
|
1834
|
+
<iso-standard xmlns='http://riboseinc.com/isoxml'>
|
1835
|
+
<preface>
|
1836
|
+
<foreword>
|
1837
|
+
<p>
|
1838
|
+
<xref target='note1'>Clause 2.1, Note 1</xref>
|
1839
|
+
<xref target='note2'>Clause 2.2, Note 1</xref>
|
1840
|
+
<xref target='note3'>Clause 2.2, Note 2</xref>
|
1841
|
+
</p>
|
1842
|
+
</foreword>
|
1843
|
+
</preface>
|
1844
|
+
<sections>
|
1845
|
+
<clause id='scope' type="scope">
|
1846
|
+
<title depth='1'>
|
1847
|
+
1.
|
1848
|
+
<tab/>
|
1849
|
+
Scope
|
1850
|
+
</title>
|
1851
|
+
</clause>
|
1852
|
+
<terms id='terms'>
|
1853
|
+
<title>2.</title>
|
1854
|
+
<term id='_waxy_rice'>
|
1855
|
+
<name>2.1.</name>
|
1856
|
+
<preferred>waxy rice</preferred>
|
1857
|
+
<termnote id='note1'>
|
1858
|
+
<name>Note 1 to entry</name>
|
1859
|
+
<p id='_b0cb3dfd-78fc-47dd-a339-84070d947463'>
|
1860
|
+
The starch of waxy rice consists almost entirely of amylopectin. The
|
1861
|
+
kernels have a tendency to stick together after cooking.
|
1862
|
+
</p>
|
1863
|
+
</termnote>
|
1864
|
+
</term>
|
1865
|
+
<term id='_nonwaxy_rice'>
|
1866
|
+
<name>2.2.</name>
|
1867
|
+
<preferred>nonwaxy rice</preferred>
|
1868
|
+
<termnote id='note2'>
|
1869
|
+
<name>Note 1 to entry</name>
|
1870
|
+
<p id='_b0cb3dfd-78fc-47dd-a339-84070d947463'>
|
1871
|
+
The starch of waxy rice consists almost entirely of amylopectin. The
|
1872
|
+
kernels have a tendency to stick together after cooking.
|
1873
|
+
</p>
|
1874
|
+
</termnote>
|
1875
|
+
<termnote id='note3'>
|
1876
|
+
<name>Note 2 to entry</name>
|
1877
|
+
<p id='_b0cb3dfd-78fc-47dd-a339-84070d947463'>
|
1878
|
+
The starch of waxy rice consists almost entirely of amylopectin. The
|
1879
|
+
kernels have a tendency to stick together after cooking.
|
1880
|
+
</p>
|
1881
|
+
</termnote>
|
1882
|
+
</term>
|
1883
|
+
</terms>
|
1884
|
+
</sections>
|
1885
|
+
</iso-standard>
|
1886
|
+
OUTPUT
|
1887
|
+
end
|
1888
|
+
|
1889
|
+
it "cross-references sections" do
|
1890
|
+
expect(xmlpp(IsoDoc::PresentationXMLConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
1891
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
1892
|
+
<preface>
|
1893
|
+
<foreword obligation="informative">
|
1894
|
+
<title>Foreword</title>
|
1895
|
+
<p id="A">This is a preamble
|
1896
|
+
<xref target="C"/>
|
1897
|
+
<xref target="C1"/>
|
1898
|
+
<xref target="D"/>
|
1899
|
+
<xref target="H"/>
|
1900
|
+
<xref target="I"/>
|
1901
|
+
<xref target="J"/>
|
1902
|
+
<xref target="K"/>
|
1903
|
+
<xref target="L"/>
|
1904
|
+
<xref target="M"/>
|
1905
|
+
<xref target="N"/>
|
1906
|
+
<xref target="O"/>
|
1907
|
+
<xref target="P"/>
|
1908
|
+
<xref target="Q"/>
|
1909
|
+
<xref target="Q1"/>
|
1910
|
+
<xref target="QQ"/>
|
1911
|
+
<xref target="QQ1"/>
|
1912
|
+
<xref target="QQ2"/>
|
1913
|
+
<xref target="R"/>
|
1914
|
+
<xref target="S"/>
|
1915
|
+
</p>
|
1916
|
+
</foreword>
|
1917
|
+
<introduction id="B" obligation="informative"><title>Introduction</title><clause id="C" inline-header="false" obligation="informative">
|
1918
|
+
<title>Introduction Subsection</title>
|
1919
|
+
</clause>
|
1920
|
+
<clause id="C1" inline-header="false" obligation="informative">Text</clause>
|
1921
|
+
</introduction></preface><sections>
|
1922
|
+
<clause id="D" obligation="normative" type="scope">
|
1923
|
+
<title>Scope</title>
|
1924
|
+
<p id="E">Text</p>
|
1925
|
+
</clause>
|
1926
|
+
|
1927
|
+
<terms id="H" obligation="normative"><title>Terms, definitions, symbols and abbreviated terms</title><terms id="I" obligation="normative">
|
1928
|
+
<title>Normal Terms</title>
|
1929
|
+
<term id="J">
|
1930
|
+
<preferred>Term2</preferred>
|
1931
|
+
</term>
|
1932
|
+
</terms>
|
1933
|
+
<definitions id="K">
|
1934
|
+
<dl>
|
1935
|
+
<dt>Symbol</dt>
|
1936
|
+
<dd>Definition</dd>
|
1937
|
+
</dl>
|
1938
|
+
</definitions>
|
1939
|
+
</terms>
|
1940
|
+
<definitions id="L">
|
1941
|
+
<dl>
|
1942
|
+
<dt>Symbol</dt>
|
1943
|
+
<dd>Definition</dd>
|
1944
|
+
</dl>
|
1945
|
+
</definitions>
|
1946
|
+
<clause id="M" inline-header="false" obligation="normative"><title>Clause 4</title><clause id="N" inline-header="false" obligation="normative">
|
1947
|
+
<title>Introduction</title>
|
1948
|
+
</clause>
|
1949
|
+
<clause id="O" inline-header="false" obligation="normative">
|
1950
|
+
<title>Clause 4.2</title>
|
1951
|
+
</clause></clause>
|
1952
|
+
|
1953
|
+
</sections><annex id="P" inline-header="false" obligation="normative">
|
1954
|
+
<title>Annex</title>
|
1955
|
+
<clause id="Q" inline-header="false" obligation="normative">
|
1956
|
+
<title>Annex A.1</title>
|
1957
|
+
<clause id="Q1" inline-header="false" obligation="normative">
|
1958
|
+
<title>Annex A.1a</title>
|
1959
|
+
</clause>
|
1960
|
+
</clause>
|
1961
|
+
</annex>
|
1962
|
+
<annex id="QQ">
|
1963
|
+
<terms id="QQ1">
|
1964
|
+
<term id="QQ2"/>
|
1965
|
+
</terms>
|
1966
|
+
</annex>
|
1967
|
+
<bibliography><references id="R" obligation="informative" normative="true">
|
1968
|
+
<title>Normative References</title>
|
1969
|
+
</references><clause id="S" obligation="informative">
|
1970
|
+
<title>Bibliography</title>
|
1971
|
+
<references id="T" obligation="informative" normative="false">
|
1972
|
+
<title>Bibliography Subsection</title>
|
1973
|
+
</references>
|
1974
|
+
</clause>
|
1975
|
+
</bibliography>
|
1976
|
+
</iso-standard>
|
1977
|
+
INPUT
|
1978
|
+
<?xml version='1.0'?>
|
1979
|
+
<iso-standard xmlns='http://riboseinc.com/isoxml'>
|
1980
|
+
<preface>
|
1981
|
+
<foreword obligation='informative'>
|
1982
|
+
<title>Foreword</title>
|
1983
|
+
<p id='A'>
|
1984
|
+
This is a preamble
|
1985
|
+
<xref target='C'>Introduction Subsection</xref>
|
1986
|
+
<xref target='C1'>Introduction, 2</xref>
|
1987
|
+
<xref target='D'>Clause 1</xref>
|
1988
|
+
<xref target='H'>Clause 3</xref>
|
1989
|
+
<xref target='I'>Clause 3.1</xref>
|
1990
|
+
<xref target='J'>Clause 3.1.1</xref>
|
1991
|
+
<xref target='K'>Clause 3.2</xref>
|
1992
|
+
<xref target='L'>Clause 4</xref>
|
1993
|
+
<xref target='M'>Clause 5</xref>
|
1994
|
+
<xref target='N'>Clause 5.1</xref>
|
1995
|
+
<xref target='O'>Clause 5.2</xref>
|
1996
|
+
<xref target='P'>Annex A</xref>
|
1997
|
+
<xref target='Q'>Annex A.1</xref>
|
1998
|
+
<xref target='Q1'>Annex A.1.1</xref>
|
1999
|
+
<xref target='QQ'>Annex B</xref>
|
2000
|
+
<xref target='QQ1'>Annex B</xref>
|
2001
|
+
<xref target='QQ2'>Annex B.1</xref>
|
2002
|
+
<xref target='R'>Clause 2</xref>
|
2003
|
+
<xref target='S'>Bibliography</xref>
|
2004
|
+
</p>
|
2005
|
+
</foreword>
|
2006
|
+
<introduction id='B' obligation='informative'>
|
2007
|
+
<title>Introduction</title>
|
2008
|
+
<clause id='C' inline-header='false' obligation='informative'>
|
2009
|
+
<title depth="2">Introduction Subsection</title>
|
2010
|
+
</clause>
|
2011
|
+
<clause id='C1' inline-header='false' obligation='informative'>Text</clause>
|
2012
|
+
</introduction>
|
2013
|
+
</preface>
|
2014
|
+
<sections>
|
2015
|
+
<clause id='D' obligation='normative' type="scope">
|
2016
|
+
<title depth='1'>
|
2017
|
+
1.
|
2018
|
+
<tab/>
|
2019
|
+
Scope
|
2020
|
+
</title>
|
2021
|
+
<p id='E'>Text</p>
|
2022
|
+
</clause>
|
2023
|
+
<terms id='H' obligation='normative'>
|
2024
|
+
<title depth='1'>
|
2025
|
+
3.
|
2026
|
+
<tab/>
|
2027
|
+
Terms, definitions, symbols and abbreviated terms
|
2028
|
+
</title>
|
2029
|
+
<terms id='I' obligation='normative'>
|
2030
|
+
<title depth='2'>
|
2031
|
+
3.1.
|
2032
|
+
<tab/>
|
2033
|
+
Normal Terms
|
2034
|
+
</title>
|
2035
|
+
<term id='J'><name>3.1.1.</name>
|
2036
|
+
<preferred>Term2</preferred>
|
2037
|
+
</term>
|
2038
|
+
</terms>
|
2039
|
+
<definitions id='K'>
|
2040
|
+
<title>3.2.</title>
|
2041
|
+
<dl>
|
2042
|
+
<dt>Symbol</dt>
|
2043
|
+
<dd>Definition</dd>
|
2044
|
+
</dl>
|
2045
|
+
</definitions>
|
2046
|
+
</terms>
|
2047
|
+
<definitions id='L'>
|
2048
|
+
<title>4.</title>
|
2049
|
+
<dl>
|
2050
|
+
<dt>Symbol</dt>
|
2051
|
+
<dd>Definition</dd>
|
2052
|
+
</dl>
|
2053
|
+
</definitions>
|
2054
|
+
<clause id='M' inline-header='false' obligation='normative'>
|
2055
|
+
<title depth='1'>
|
2056
|
+
5.
|
2057
|
+
<tab/>
|
2058
|
+
Clause 4
|
2059
|
+
</title>
|
2060
|
+
<clause id='N' inline-header='false' obligation='normative'>
|
2061
|
+
<title depth='2'>
|
2062
|
+
5.1.
|
2063
|
+
<tab/>
|
2064
|
+
Introduction
|
2065
|
+
</title>
|
2066
|
+
</clause>
|
2067
|
+
<clause id='O' inline-header='false' obligation='normative'>
|
2068
|
+
<title depth='2'>
|
2069
|
+
5.2.
|
2070
|
+
<tab/>
|
2071
|
+
Clause 4.2
|
2072
|
+
</title>
|
2073
|
+
</clause>
|
2074
|
+
</clause>
|
2075
|
+
</sections>
|
2076
|
+
<annex id='P' inline-header='false' obligation='normative'>
|
2077
|
+
<title>
|
2078
|
+
<strong>Annex A</strong>
|
2079
|
+
<br/>
|
2080
|
+
(normative)
|
2081
|
+
<br/>
|
2082
|
+
<br/>
|
2083
|
+
<strong>Annex</strong></title>
|
2084
|
+
<clause id='Q' inline-header='false' obligation='normative'>
|
2085
|
+
<title depth='2'>
|
2086
|
+
A.1.
|
2087
|
+
<tab/>
|
2088
|
+
Annex A.1
|
2089
|
+
</title>
|
2090
|
+
<clause id='Q1' inline-header='false' obligation='normative'>
|
2091
|
+
<title depth='3'>
|
2092
|
+
A.1.1.
|
2093
|
+
<tab/>
|
2094
|
+
Annex A.1a
|
2095
|
+
</title>
|
2096
|
+
</clause>
|
2097
|
+
</clause>
|
2098
|
+
</annex>
|
2099
|
+
<annex id='QQ'>
|
2100
|
+
<title>
|
2101
|
+
<strong>Annex B</strong>
|
2102
|
+
<br/>
|
2103
|
+
(informative)
|
2104
|
+
</title>
|
2105
|
+
<terms id='QQ1'>
|
2106
|
+
<title>B.</title>
|
2107
|
+
<term id='QQ2'>
|
2108
|
+
<name>B.1.</name>
|
2109
|
+
</term>
|
2110
|
+
</terms>
|
2111
|
+
</annex>
|
2112
|
+
<bibliography>
|
2113
|
+
<references id='R' obligation='informative' normative='true'>
|
2114
|
+
<title depth='1'>
|
2115
|
+
2.
|
2116
|
+
<tab/>
|
2117
|
+
Normative References
|
2118
|
+
</title>
|
2119
|
+
</references>
|
2120
|
+
<clause id='S' obligation='informative'>
|
2121
|
+
<title depth="1">Bibliography</title>
|
2122
|
+
<references id='T' obligation='informative' normative='false'>
|
2123
|
+
<title depth="2">Bibliography Subsection</title>
|
2124
|
+
</references>
|
2125
|
+
</clause>
|
2126
|
+
</bibliography>
|
2127
|
+
</iso-standard>
|
2128
|
+
OUTPUT
|
2129
|
+
end
|
2130
|
+
|
2131
|
+
it "cross-references lists" do
|
2132
|
+
expect(xmlpp(IsoDoc::PresentationXMLConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
2133
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
2134
|
+
<preface>
|
2135
|
+
<foreword>
|
2136
|
+
<p>
|
2137
|
+
<xref target="N1"/>
|
2138
|
+
<xref target="N2"/>
|
2139
|
+
<xref target="N"/>
|
2140
|
+
<xref target="note1"/>
|
2141
|
+
<xref target="note2"/>
|
2142
|
+
<xref target="AN"/>
|
2143
|
+
<xref target="Anote1"/>
|
2144
|
+
<xref target="Anote2"/>
|
2145
|
+
</p>
|
2146
|
+
</foreword>
|
2147
|
+
<introduction id="intro">
|
2148
|
+
<ol id="N1">
|
2149
|
+
<li><p>A</p></li>
|
2150
|
+
</ol>
|
2151
|
+
<clause id="xyz"><title>Preparatory</title>
|
2152
|
+
<ol id="N2">
|
2153
|
+
<li><p>A</p></li>
|
2154
|
+
</ol>
|
2155
|
+
</clause>
|
2156
|
+
</introduction>
|
2157
|
+
</preface>
|
2158
|
+
<sections>
|
2159
|
+
<clause id="scope" type="scope"><title>Scope</title>
|
2160
|
+
<ol id="N">
|
2161
|
+
<li><p>A</p></li>
|
2162
|
+
</ol>
|
2163
|
+
</clause>
|
2164
|
+
<terms id="terms"/>
|
2165
|
+
<clause id="widgets"><title>Widgets</title>
|
2166
|
+
<clause id="widgets1">
|
2167
|
+
<ol id="note1">
|
2168
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
2169
|
+
</ol>
|
2170
|
+
<ol id="note2">
|
2171
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83a">These results are based on a study carried out on three different types of kernel.</p>
|
2172
|
+
</ol>
|
2173
|
+
</clause>
|
2174
|
+
</clause>
|
2175
|
+
</sections>
|
2176
|
+
<annex id="annex1">
|
2177
|
+
<clause id="annex1a">
|
2178
|
+
<ol id="AN">
|
2179
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
2180
|
+
</ol>
|
2181
|
+
</clause>
|
2182
|
+
<clause id="annex1b">
|
2183
|
+
<ol id="Anote1">
|
2184
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
2185
|
+
</ol>
|
2186
|
+
<ol id="Anote2">
|
2187
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83a">These results are based on a study carried out on three different types of kernel.</p>
|
2188
|
+
</ol>
|
2189
|
+
</clause>
|
2190
|
+
</annex>
|
2191
|
+
</iso-standard>
|
2192
|
+
INPUT
|
2193
|
+
<?xml version='1.0'?>
|
2194
|
+
<iso-standard xmlns='http://riboseinc.com/isoxml'>
|
2195
|
+
<preface>
|
2196
|
+
<foreword>
|
2197
|
+
<p>
|
2198
|
+
<xref target='N1'>Introduction, List</xref>
|
2199
|
+
<xref target='N2'>Preparatory, List</xref>
|
2200
|
+
<xref target='N'>Clause 1, List</xref>
|
2201
|
+
<xref target='note1'>Clause 3.1, List 1</xref>
|
2202
|
+
<xref target='note2'>Clause 3.1, List 2</xref>
|
2203
|
+
<xref target='AN'>Annex A.1, List</xref>
|
2204
|
+
<xref target='Anote1'>Annex A.2, List 1</xref>
|
2205
|
+
<xref target='Anote2'>Annex A.2, List 2</xref>
|
2206
|
+
</p>
|
2207
|
+
</foreword>
|
2208
|
+
<introduction id='intro'>
|
2209
|
+
<ol id='N1'>
|
2210
|
+
<li>
|
2211
|
+
<p>A</p>
|
2212
|
+
</li>
|
2213
|
+
</ol>
|
2214
|
+
<clause id='xyz'>
|
2215
|
+
<title depth='2'>Preparatory</title>
|
2216
|
+
<ol id='N2'>
|
2217
|
+
<li>
|
2218
|
+
<p>A</p>
|
2219
|
+
</li>
|
2220
|
+
</ol>
|
2221
|
+
</clause>
|
2222
|
+
</introduction>
|
2223
|
+
</preface>
|
2224
|
+
<sections>
|
2225
|
+
<clause id='scope' type="scope">
|
2226
|
+
<title depth='1'>
|
2227
|
+
1.
|
2228
|
+
<tab/>
|
2229
|
+
Scope
|
2230
|
+
</title>
|
2231
|
+
<ol id='N'>
|
2232
|
+
<li>
|
2233
|
+
<p>A</p>
|
2234
|
+
</li>
|
2235
|
+
</ol>
|
2236
|
+
</clause>
|
2237
|
+
<terms id='terms'>
|
2238
|
+
<title>2.</title>
|
2239
|
+
</terms>
|
2240
|
+
<clause id='widgets'>
|
2241
|
+
<title depth='1'>
|
2242
|
+
3.
|
2243
|
+
<tab/>
|
2244
|
+
Widgets
|
2245
|
+
</title>
|
2246
|
+
<clause id='widgets1'><title>3.1.</title>
|
2247
|
+
<ol id='note1'>
|
2248
|
+
<p id='_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f'>
|
2249
|
+
These results are based on a study carried out on three different
|
2250
|
+
types of kernel.
|
2251
|
+
</p>
|
2252
|
+
</ol>
|
2253
|
+
<ol id='note2'>
|
2254
|
+
<p id='_f06fd0d1-a203-4f3d-a515-0bdba0f8d83a'>
|
2255
|
+
These results are based on a study carried out on three different
|
2256
|
+
types of kernel.
|
2257
|
+
</p>
|
2258
|
+
</ol>
|
2259
|
+
</clause>
|
2260
|
+
</clause>
|
2261
|
+
</sections>
|
2262
|
+
<annex id='annex1'>
|
2263
|
+
<title>
|
2264
|
+
<strong>Annex A</strong>
|
2265
|
+
<br/>
|
2266
|
+
(informative)
|
2267
|
+
</title>
|
2268
|
+
<clause id='annex1a'><title>A.1.</title>
|
2269
|
+
<ol id='AN'>
|
2270
|
+
<p id='_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f'>
|
2271
|
+
These results are based on a study carried out on three different
|
2272
|
+
types of kernel.
|
2273
|
+
</p>
|
2274
|
+
</ol>
|
2275
|
+
</clause>
|
2276
|
+
<clause id='annex1b'><title>A.2.</title>
|
2277
|
+
<ol id='Anote1'>
|
2278
|
+
<p id='_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f'>
|
2279
|
+
These results are based on a study carried out on three different
|
2280
|
+
types of kernel.
|
2281
|
+
</p>
|
2282
|
+
</ol>
|
2283
|
+
<ol id='Anote2'>
|
2284
|
+
<p id='_f06fd0d1-a203-4f3d-a515-0bdba0f8d83a'>
|
2285
|
+
These results are based on a study carried out on three different
|
2286
|
+
types of kernel.
|
2287
|
+
</p>
|
2288
|
+
</ol>
|
2289
|
+
</clause>
|
2290
|
+
</annex>
|
2291
|
+
</iso-standard>
|
2292
|
+
OUTPUT
|
2293
|
+
end
|
2294
|
+
|
2295
|
+
it "cross-references list items" do
|
2296
|
+
expect(xmlpp(IsoDoc::PresentationXMLConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
2297
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
2298
|
+
<preface>
|
2299
|
+
<foreword>
|
2300
|
+
<p>
|
2301
|
+
<xref target="N1"/>
|
2302
|
+
<xref target="N2"/>
|
2303
|
+
<xref target="N"/>
|
2304
|
+
<xref target="note1"/>
|
2305
|
+
<xref target="note2"/>
|
2306
|
+
<xref target="AN"/>
|
2307
|
+
<xref target="Anote1"/>
|
2308
|
+
<xref target="Anote2"/>
|
2309
|
+
</p>
|
2310
|
+
</foreword>
|
2311
|
+
<introduction id="intro">
|
2312
|
+
<ol id="N01">
|
2313
|
+
<li id="N1"><p>A</p></li>
|
2314
|
+
</ol>
|
2315
|
+
<clause id="xyz"><title>Preparatory</title>
|
2316
|
+
<ol id="N02">
|
2317
|
+
<li id="N2"><p>A</p></li>
|
2318
|
+
</ol>
|
2319
|
+
</clause>
|
2320
|
+
</introduction>
|
2321
|
+
</preface>
|
2322
|
+
<sections>
|
2323
|
+
<clause id="scope" type="scope"><title>Scope</title>
|
2324
|
+
<ol id="N0">
|
2325
|
+
<li id="N"><p>A</p></li>
|
2326
|
+
</ol>
|
2327
|
+
</clause>
|
2328
|
+
<terms id="terms"/>
|
2329
|
+
<clause id="widgets"><title>Widgets</title>
|
2330
|
+
<clause id="widgets1">
|
2331
|
+
<ol id="note1l">
|
2332
|
+
<li id="note1"><p>A</p></li>
|
2333
|
+
</ol>
|
2334
|
+
<ol id="note2l">
|
2335
|
+
<li id="note2"><p>A</p></li>
|
2336
|
+
</ol>
|
2337
|
+
</clause>
|
2338
|
+
</clause>
|
2339
|
+
</sections>
|
2340
|
+
<annex id="annex1">
|
2341
|
+
<clause id="annex1a">
|
2342
|
+
<ol id="ANl">
|
2343
|
+
<li id="AN"><p>A</p></li>
|
2344
|
+
</ol>
|
2345
|
+
</clause>
|
2346
|
+
<clause id="annex1b">
|
2347
|
+
<ol id="Anote1l">
|
2348
|
+
<li id="Anote1"><p>A</p></li>
|
2349
|
+
</ol>
|
2350
|
+
<ol id="Anote2l">
|
2351
|
+
<li id="Anote2"><p>A</p></li>
|
2352
|
+
</ol>
|
2353
|
+
</clause>
|
2354
|
+
</annex>
|
2355
|
+
</iso-standard>
|
2356
|
+
INPUT
|
2357
|
+
<?xml version='1.0'?>
|
2358
|
+
<iso-standard xmlns='http://riboseinc.com/isoxml'>
|
2359
|
+
<preface>
|
2360
|
+
<foreword>
|
2361
|
+
<p>
|
2362
|
+
<xref target='N1'>Introduction, a)</xref>
|
2363
|
+
<xref target='N2'>Preparatory, a)</xref>
|
2364
|
+
<xref target='N'>Clause 1, a)</xref>
|
2365
|
+
<xref target='note1'>Clause 3.1, List 1 a)</xref>
|
2366
|
+
<xref target='note2'>Clause 3.1, List 2 a)</xref>
|
2367
|
+
<xref target='AN'>Annex A.1, a)</xref>
|
2368
|
+
<xref target='Anote1'>Annex A.2, List 1 a)</xref>
|
2369
|
+
<xref target='Anote2'>Annex A.2, List 2 a)</xref>
|
2370
|
+
</p>
|
2371
|
+
</foreword>
|
2372
|
+
<introduction id='intro'>
|
2373
|
+
<ol id='N01'>
|
2374
|
+
<li id='N1'>
|
2375
|
+
<p>A</p>
|
2376
|
+
</li>
|
2377
|
+
</ol>
|
2378
|
+
<clause id='xyz'>
|
2379
|
+
<title depth='2'>Preparatory</title>
|
2380
|
+
<ol id='N02'>
|
2381
|
+
<li id='N2'>
|
2382
|
+
<p>A</p>
|
2383
|
+
</li>
|
2384
|
+
</ol>
|
2385
|
+
</clause>
|
2386
|
+
</introduction>
|
2387
|
+
</preface>
|
2388
|
+
<sections>
|
2389
|
+
<clause id='scope' type="scope">
|
2390
|
+
<title depth='1'>
|
2391
|
+
1.
|
2392
|
+
<tab/>
|
2393
|
+
Scope
|
2394
|
+
</title>
|
2395
|
+
<ol id='N0'>
|
2396
|
+
<li id='N'>
|
2397
|
+
<p>A</p>
|
2398
|
+
</li>
|
2399
|
+
</ol>
|
2400
|
+
</clause>
|
2401
|
+
<terms id='terms'>
|
2402
|
+
<title>2.</title>
|
2403
|
+
</terms>
|
2404
|
+
<clause id='widgets'>
|
2405
|
+
<title depth='1'>
|
2406
|
+
3.
|
2407
|
+
<tab/>
|
2408
|
+
Widgets
|
2409
|
+
</title>
|
2410
|
+
<clause id='widgets1'><title>3.1.</title>
|
2411
|
+
<ol id='note1l'>
|
2412
|
+
<li id='note1'>
|
2413
|
+
<p>A</p>
|
2414
|
+
</li>
|
2415
|
+
</ol>
|
2416
|
+
<ol id='note2l'>
|
2417
|
+
<li id='note2'>
|
2418
|
+
<p>A</p>
|
2419
|
+
</li>
|
2420
|
+
</ol>
|
2421
|
+
</clause>
|
2422
|
+
</clause>
|
2423
|
+
</sections>
|
2424
|
+
<annex id='annex1'>
|
2425
|
+
<title>
|
2426
|
+
<strong>Annex A</strong>
|
2427
|
+
<br/>
|
2428
|
+
(informative)
|
2429
|
+
</title>
|
2430
|
+
<clause id='annex1a'><title>A.1.</title>
|
2431
|
+
<ol id='ANl'>
|
2432
|
+
<li id='AN'>
|
2433
|
+
<p>A</p>
|
2434
|
+
</li>
|
2435
|
+
</ol>
|
2436
|
+
</clause>
|
2437
|
+
<clause id='annex1b'><title>A.2.</title>
|
2438
|
+
<ol id='Anote1l'>
|
2439
|
+
<li id='Anote1'>
|
2440
|
+
<p>A</p>
|
2441
|
+
</li>
|
2442
|
+
</ol>
|
2443
|
+
<ol id='Anote2l'>
|
2444
|
+
<li id='Anote2'>
|
2445
|
+
<p>A</p>
|
2446
|
+
</li>
|
2447
|
+
</ol>
|
2448
|
+
</clause>
|
2449
|
+
</annex>
|
2450
|
+
</iso-standard>
|
2451
|
+
OUTPUT
|
2452
|
+
end
|
2453
|
+
|
2454
|
+
it "cross-references nested list items" do
|
2455
|
+
expect(xmlpp(IsoDoc::PresentationXMLConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
2456
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
2457
|
+
<preface>
|
2458
|
+
<foreword>
|
2459
|
+
<p>
|
2460
|
+
<xref target="N"/>
|
2461
|
+
<xref target="note1"/>
|
2462
|
+
<xref target="note2"/>
|
2463
|
+
<xref target="AN"/>
|
2464
|
+
<xref target="Anote1"/>
|
2465
|
+
<xref target="Anote2"/>
|
2466
|
+
</p>
|
2467
|
+
</foreword>
|
2468
|
+
</preface>
|
2469
|
+
<sections>
|
2470
|
+
<clause id="scope" type="scope"><title>Scope</title>
|
2471
|
+
<ol id="N1">
|
2472
|
+
<li id="N"><p>A</p>
|
2473
|
+
<ol>
|
2474
|
+
<li id="note1"><p>A</p>
|
2475
|
+
<ol>
|
2476
|
+
<li id="note2"><p>A</p>
|
2477
|
+
<ol>
|
2478
|
+
<li id="AN"><p>A</p>
|
2479
|
+
<ol>
|
2480
|
+
<li id="Anote1"><p>A</p>
|
2481
|
+
<ol>
|
2482
|
+
<li id="Anote2"><p>A</p></li>
|
2483
|
+
</ol></li>
|
2484
|
+
</ol></li>
|
2485
|
+
</ol></li>
|
2486
|
+
</ol></li>
|
2487
|
+
</ol></li>
|
2488
|
+
</ol>
|
2489
|
+
</clause>
|
2490
|
+
</sections>
|
2491
|
+
</iso-standard>
|
2492
|
+
INPUT
|
2493
|
+
<?xml version='1.0'?>
|
2494
|
+
<iso-standard xmlns='http://riboseinc.com/isoxml'>
|
2495
|
+
<preface>
|
2496
|
+
<foreword>
|
2497
|
+
<p>
|
2498
|
+
<xref target='N'>Clause 1, a)</xref>
|
2499
|
+
<xref target='note1'>Clause 1, a.1)</xref>
|
2500
|
+
<xref target='note2'>Clause 1, a.1.i)</xref>
|
2501
|
+
<xref target='AN'>Clause 1, a.1.i.A)</xref>
|
2502
|
+
<xref target='Anote1'>Clause 1, a.1.i.A.I)</xref>
|
2503
|
+
<xref target='Anote2'>Clause 1, a.1.i.A.I.a)</xref>
|
2504
|
+
</p>
|
2505
|
+
</foreword>
|
2506
|
+
</preface>
|
2507
|
+
<sections>
|
2508
|
+
<clause id='scope' type="scope">
|
2509
|
+
<title depth='1'>
|
2510
|
+
1.
|
2511
|
+
<tab/>
|
2512
|
+
Scope
|
2513
|
+
</title>
|
2514
|
+
<ol id='N1'>
|
2515
|
+
<li id='N'>
|
2516
|
+
<p>A</p>
|
2517
|
+
<ol>
|
2518
|
+
<li id='note1'>
|
2519
|
+
<p>A</p>
|
2520
|
+
<ol>
|
2521
|
+
<li id='note2'>
|
2522
|
+
<p>A</p>
|
2523
|
+
<ol>
|
2524
|
+
<li id='AN'>
|
2525
|
+
<p>A</p>
|
2526
|
+
<ol>
|
2527
|
+
<li id='Anote1'>
|
2528
|
+
<p>A</p>
|
2529
|
+
<ol>
|
2530
|
+
<li id='Anote2'>
|
2531
|
+
<p>A</p>
|
2532
|
+
</li>
|
2533
|
+
</ol>
|
2534
|
+
</li>
|
2535
|
+
</ol>
|
2536
|
+
</li>
|
2537
|
+
</ol>
|
2538
|
+
</li>
|
2539
|
+
</ol>
|
2540
|
+
</li>
|
2541
|
+
</ol>
|
2542
|
+
</li>
|
2543
|
+
</ol>
|
2544
|
+
</clause>
|
2545
|
+
</sections>
|
2546
|
+
</iso-standard>
|
2547
|
+
OUTPUT
|
2548
|
+
end
|
2549
|
+
|
2550
|
+
it "realises subsequences" do
|
2551
|
+
expect(xmlpp(IsoDoc::PresentationXMLConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
2552
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
2553
|
+
<preface>
|
2554
|
+
<foreword id="fwd">
|
2555
|
+
<p>
|
2556
|
+
<xref target="N1"/>
|
2557
|
+
<xref target="N2"/>
|
2558
|
+
<xref target="N3"/>
|
2559
|
+
<xref target="N4"/>
|
2560
|
+
<xref target="N5"/>
|
2561
|
+
<xref target="N6"/>
|
2562
|
+
<xref target="N7"/>
|
2563
|
+
<xref target="N8"/>
|
2564
|
+
</p>
|
2565
|
+
</foreword>
|
2566
|
+
<introduction id="intro">
|
2567
|
+
<figure id="N1"> <name>Split-it-right sample divider</name>
|
2568
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
2569
|
+
</figure>
|
2570
|
+
<figure id="N2" subsequence="A"> <name>Split-it-right sample divider</name>
|
2571
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
2572
|
+
</figure>
|
2573
|
+
<figure id="N3" subsequence="A"> <name>Split-it-right sample divider</name>
|
2574
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
2575
|
+
</figure>
|
2576
|
+
<figure id="N4" subsequence="B"> <name>Split-it-right sample divider</name>
|
2577
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
2578
|
+
</figure>
|
2579
|
+
<figure id="N5" subsequence="B"> <name>Split-it-right sample divider</name>
|
2580
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
2581
|
+
</figure>
|
2582
|
+
<figure id="N6" subsequence="B"> <name>Split-it-right sample divider</name>
|
2583
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
2584
|
+
</figure>
|
2585
|
+
<figure id="N7"> <name>Split-it-right sample divider</name>
|
2586
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
2587
|
+
</figure>
|
2588
|
+
<figure id="N8"> <name>Split-it-right sample divider</name>
|
2589
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
2590
|
+
</figure>
|
2591
|
+
</introduction>
|
2592
|
+
</iso-standard>
|
2593
|
+
INPUT
|
2594
|
+
<?xml version='1.0'?>
|
2595
|
+
<iso-standard xmlns='http://riboseinc.com/isoxml'>
|
2596
|
+
<preface>
|
2597
|
+
<foreword id='fwd'>
|
2598
|
+
<p>
|
2599
|
+
<xref target='N1'>Figure 1</xref>
|
2600
|
+
<xref target='N2'>Figure 2a</xref>
|
2601
|
+
<xref target='N3'>Figure 2b</xref>
|
2602
|
+
<xref target='N4'>Figure 3a</xref>
|
2603
|
+
<xref target='N5'>Figure 3b</xref>
|
2604
|
+
<xref target='N6'>Figure 3c</xref>
|
2605
|
+
<xref target='N7'>Figure 4</xref>
|
2606
|
+
<xref target='N8'>Figure 5</xref>
|
2607
|
+
</p>
|
2608
|
+
</foreword>
|
2609
|
+
<introduction id='intro'>
|
2610
|
+
<figure id='N1'>
|
2611
|
+
<name>Figure 1 — Split-it-right sample divider</name>
|
2612
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
2613
|
+
</figure>
|
2614
|
+
<figure id='N2' subsequence='A'>
|
2615
|
+
<name>Figure 2a — Split-it-right sample divider</name>
|
2616
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
2617
|
+
</figure>
|
2618
|
+
<figure id='N3' subsequence='A'>
|
2619
|
+
<name>Figure 2b — Split-it-right sample divider</name>
|
2620
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
2621
|
+
</figure>
|
2622
|
+
<figure id='N4' subsequence='B'>
|
2623
|
+
<name>Figure 3a — Split-it-right sample divider</name>
|
2624
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
2625
|
+
</figure>
|
2626
|
+
<figure id='N5' subsequence='B'>
|
2627
|
+
<name>Figure 3b — Split-it-right sample divider</name>
|
2628
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
2629
|
+
</figure>
|
2630
|
+
<figure id='N6' subsequence='B'>
|
2631
|
+
<name>Figure 3c — Split-it-right sample divider</name>
|
2632
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
2633
|
+
</figure>
|
2634
|
+
<figure id='N7'>
|
2635
|
+
<name>Figure 4 — Split-it-right sample divider</name>
|
2636
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
2637
|
+
</figure>
|
2638
|
+
<figure id='N8'>
|
2639
|
+
<name>Figure 5 — Split-it-right sample divider</name>
|
2640
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
2641
|
+
</figure>
|
2642
|
+
</introduction>
|
2643
|
+
</preface>
|
2644
|
+
</iso-standard>
|
2645
|
+
OUTPUT
|
2646
|
+
end
|
2647
|
+
|
2648
|
+
it "realises numbering overrides" do
|
2649
|
+
expect(xmlpp(IsoDoc::PresentationXMLConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
2650
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
2651
|
+
<preface>
|
2652
|
+
<foreword id="fwd">
|
2653
|
+
<p>
|
2654
|
+
<xref target="N1"/>
|
2655
|
+
<xref target="N2"/>
|
2656
|
+
<xref target="N3"/>
|
2657
|
+
<xref target="N4"/>
|
2658
|
+
<xref target="N5"/>
|
2659
|
+
<xref target="N6"/>
|
2660
|
+
<xref target="N7"/>
|
2661
|
+
<xref target="N8"/>
|
2662
|
+
<xref target="N9"/>
|
2663
|
+
<xref target="N10"/>
|
2664
|
+
</p>
|
2665
|
+
</foreword>
|
2666
|
+
<introduction id="intro">
|
2667
|
+
<figure id="N1"> <name>Split-it-right sample divider</name>
|
2668
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
2669
|
+
</figure>
|
2670
|
+
<figure id="N2" number="A"> <name>Split-it-right sample divider</name>
|
2671
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
2672
|
+
</figure>
|
2673
|
+
<figure id="N3"> <name>Split-it-right sample divider</name>
|
2674
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
2675
|
+
</figure>
|
2676
|
+
<figure id="N4" number="7"> <name>Split-it-right sample divider</name>
|
2677
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
2678
|
+
</figure>
|
2679
|
+
<figure id="N5"> <name>Split-it-right sample divider</name>
|
2680
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
2681
|
+
</figure>
|
2682
|
+
<figure id="N6" subsequence="B"> <name>Split-it-right sample divider</name>
|
2683
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
2684
|
+
</figure>
|
2685
|
+
<figure id="N7" subsequence="B" number="c"> <name>Split-it-right sample divider</name>
|
2686
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
2687
|
+
</figure>
|
2688
|
+
<figure id="N8" subsequence="B"> <name>Split-it-right sample divider</name>
|
2689
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
2690
|
+
</figure>
|
2691
|
+
<figure id="N9" subsequence="C" number="20f"> <name>Split-it-right sample divider</name>
|
2692
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
2693
|
+
</figure>
|
2694
|
+
<figure id="N10" subsequence="C"> <name>Split-it-right sample divider</name>
|
2695
|
+
<image src="rice_images/rice_image1.png" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f0" mimetype="image/png"/>
|
2696
|
+
</figure>
|
2697
|
+
</introduction>
|
2698
|
+
</iso-standard>
|
2699
|
+
INPUT
|
2700
|
+
<?xml version='1.0'?>
|
2701
|
+
<iso-standard xmlns='http://riboseinc.com/isoxml'>
|
2702
|
+
<preface>
|
2703
|
+
<foreword id='fwd'>
|
2704
|
+
<p>
|
2705
|
+
<xref target='N1'>Figure 1</xref>
|
2706
|
+
<xref target='N2'>Figure A</xref>
|
2707
|
+
<xref target='N3'>Figure 2</xref>
|
2708
|
+
<xref target='N4'>Figure 7</xref>
|
2709
|
+
<xref target='N5'>Figure 8</xref>
|
2710
|
+
<xref target='N6'>Figure 9a</xref>
|
2711
|
+
<xref target='N7'>Figure 9c</xref>
|
2712
|
+
<xref target='N8'>Figure 9d</xref>
|
2713
|
+
<xref target='N9'>Figure 20f</xref>
|
2714
|
+
<xref target='N10'>Figure 20g</xref>
|
2715
|
+
</p>
|
2716
|
+
</foreword>
|
2717
|
+
<introduction id='intro'>
|
2718
|
+
<figure id='N1'>
|
2719
|
+
<name>Figure 1 — Split-it-right sample divider</name>
|
2720
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
2721
|
+
</figure>
|
2722
|
+
<figure id='N2' number='A'>
|
2723
|
+
<name>Figure A — Split-it-right sample divider</name>
|
2724
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
2725
|
+
</figure>
|
2726
|
+
<figure id='N3'>
|
2727
|
+
<name>Figure 2 — Split-it-right sample divider</name>
|
2728
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
2729
|
+
</figure>
|
2730
|
+
<figure id='N4' number='7'>
|
2731
|
+
<name>Figure 7 — Split-it-right sample divider</name>
|
2732
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
2733
|
+
</figure>
|
2734
|
+
<figure id='N5'>
|
2735
|
+
<name>Figure 8 — Split-it-right sample divider</name>
|
2736
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
2737
|
+
</figure>
|
2738
|
+
<figure id='N6' subsequence='B'>
|
2739
|
+
<name>Figure 9a — Split-it-right sample divider</name>
|
2740
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
2741
|
+
</figure>
|
2742
|
+
<figure id='N7' subsequence='B' number='c'>
|
2743
|
+
<name>Figure 9c — Split-it-right sample divider</name>
|
2744
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
2745
|
+
</figure>
|
2746
|
+
<figure id='N8' subsequence='B'>
|
2747
|
+
<name>Figure 9d — Split-it-right sample divider</name>
|
2748
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
2749
|
+
</figure>
|
2750
|
+
<figure id='N9' subsequence='C' number='20f'>
|
2751
|
+
<name>Figure 20f — Split-it-right sample divider</name>
|
2752
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
2753
|
+
</figure>
|
2754
|
+
<figure id='N10' subsequence='C'>
|
2755
|
+
<name>Figure 20g — Split-it-right sample divider</name>
|
2756
|
+
<image src='rice_images/rice_image1.png' id='_8357ede4-6d44-4672-bac4-9a85e82ab7f0' mimetype='image/png'/>
|
2757
|
+
</figure>
|
2758
|
+
</introduction>
|
2759
|
+
</preface>
|
2760
|
+
</iso-standard>
|
2761
|
+
OUTPUT
|
2762
|
+
end
|
2763
|
+
|
2764
|
+
end
|