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.
Files changed (950) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +62 -69
  3. data/gems/ruby/2.6.0/gems/fontist-1.2.0/Gemfile +4 -0
  4. data/gems/ruby/2.6.0/gems/fontist-1.2.0/LICENSE.txt +26 -0
  5. data/gems/ruby/2.6.0/gems/fontist-1.2.0/README.md +179 -0
  6. data/gems/ruby/2.6.0/gems/fontist-1.2.0/Rakefile +6 -0
  7. data/gems/ruby/2.6.0/gems/fontist-1.2.0/bin/console +11 -0
  8. data/gems/ruby/2.6.0/gems/fontist-1.2.0/bin/rspec +29 -0
  9. data/gems/ruby/2.6.0/gems/fontist-1.2.0/bin/setup +7 -0
  10. data/gems/ruby/2.6.0/gems/fontist-1.2.0/fontist.gemspec +32 -0
  11. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist.rb +48 -0
  12. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/errors.rb +10 -0
  13. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/font.rb +78 -0
  14. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/font_formula.rb +123 -0
  15. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formula.rb +90 -0
  16. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas.rb +15 -0
  17. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/andale_font.rb +79 -0
  18. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/arial_black_font.rb +78 -0
  19. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/cleartype_fonts.rb +226 -0
  20. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/comic_font.rb +77 -0
  21. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/courier_font.rb +80 -0
  22. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/euphemia_font.rb +85 -0
  23. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/georgia_font.rb +79 -0
  24. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/impact_font.rb +77 -0
  25. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/montserrat_font.rb +132 -0
  26. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/ms_truetype_fonts.rb +124 -0
  27. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/open_sans_fonts.rb +263 -0
  28. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/overpass_font.rb +73 -0
  29. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/source_fonts.rb +109 -0
  30. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/stix_fonts.rb +108 -0
  31. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/tahoma_font.rb +146 -0
  32. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/formulas/webding_font.rb +77 -0
  33. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/registry.rb +42 -0
  34. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/system.yml +17 -0
  35. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/system_font.rb +72 -0
  36. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/utils.rb +9 -0
  37. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/utils/downloader.rb +74 -0
  38. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/utils/dsl.rb +77 -0
  39. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/utils/exe_extractor.rb +72 -0
  40. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/utils/zip_extractor.rb +38 -0
  41. data/gems/ruby/2.6.0/gems/fontist-1.2.0/lib/fontist/version.rb +3 -0
  42. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fixtures/fonts/DejaVuSerif.ttf +0 -0
  43. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/font_formula_spec.rb +67 -0
  44. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/font_spec.rb +87 -0
  45. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formula_spec.rb +67 -0
  46. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/andale_font_spec.rb +29 -0
  47. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/arial_black_font_spec.rb +29 -0
  48. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/cleartype_fonts_spec.rb +38 -0
  49. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/comic_font_spec.rb +29 -0
  50. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/courier_font_spec.rb +29 -0
  51. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/euphemia_font_spec.rb +29 -0
  52. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/georgia_font_spec.rb +29 -0
  53. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/impact_font_spec.rb +29 -0
  54. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/montserrat_font_spec.rb +29 -0
  55. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/ms_truetype_fonts_spec.rb +29 -0
  56. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/open_sans_fonts_spec.rb +29 -0
  57. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/overpass_font_spec.rb +29 -0
  58. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/source_fonts_spec.rb +31 -0
  59. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/stix_fonts_spec.rb +29 -0
  60. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/tahoma_font_spec.rb +29 -0
  61. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/formulas/webding_font_spec.rb +29 -0
  62. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/registry_spec.rb +47 -0
  63. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/system_font_spec.rb +44 -0
  64. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist/utils/downloader_spec.rb +35 -0
  65. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/fontist_spec.rb +5 -0
  66. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/spec_helper.rb +22 -0
  67. data/gems/ruby/2.6.0/gems/fontist-1.2.0/spec/support/fontist_helper.rb +10 -0
  68. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/CODE_OF_CONDUCT.md +46 -0
  69. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/Gemfile +11 -0
  70. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/LICENSE +25 -0
  71. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/Rakefile +8 -0
  72. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/bin/rspec +18 -0
  73. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/isodoc.gemspec +51 -0
  74. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc-yaml/i18n-en.yaml +98 -0
  75. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc-yaml/i18n-fr.yaml +91 -0
  76. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc-yaml/i18n-zh-Hans.yaml +92 -0
  77. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc.rb +30 -0
  78. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/all.css +207 -0
  79. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/all.scss +6 -0
  80. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/bands.scss +79 -0
  81. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/blocks.css +0 -0
  82. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/blocks.scss +128 -0
  83. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/coverpage.css +0 -0
  84. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/coverpage.scss +7 -0
  85. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/defaults.css +0 -0
  86. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/defaults.scss +26 -0
  87. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/metanorma_word.css +34 -0
  88. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/metanorma_word.scss +30 -0
  89. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/nav.css +0 -0
  90. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/nav.scss +180 -0
  91. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/reset.css +105 -0
  92. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/reset.scss +129 -0
  93. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/typography.css +0 -0
  94. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/base_style/typography.scss +67 -0
  95. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/class_utils.rb +30 -0
  96. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/common.rb +29 -0
  97. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/convert.rb +250 -0
  98. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function.rb +4 -0
  99. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/blocks.rb +208 -0
  100. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/blocks_example_note.rb +107 -0
  101. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/cleanup.rb +218 -0
  102. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/inline.rb +155 -0
  103. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/inline_simple.rb +72 -0
  104. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/lists.rb +94 -0
  105. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/references.rb +214 -0
  106. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/reqt.rb +115 -0
  107. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/section.rb +228 -0
  108. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/table.rb +108 -0
  109. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/terms.rb +78 -0
  110. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/to_word_html.rb +230 -0
  111. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/function/utils.rb +190 -0
  112. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/gem_tasks.rb +133 -0
  113. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/headlesshtml_convert.rb +45 -0
  114. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/html_convert.rb +30 -0
  115. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/html_function.rb +4 -0
  116. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/html_function/comments.rb +144 -0
  117. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/html_function/footnotes.rb +83 -0
  118. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/html_function/html.rb +115 -0
  119. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/html_function/postprocess.rb +243 -0
  120. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/i18n.rb +122 -0
  121. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/metadata.rb +235 -0
  122. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/metadata_date.rb +39 -0
  123. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/pdf_convert.rb +50 -0
  124. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/presentation_function/block.rb +138 -0
  125. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/presentation_function/inline.rb +131 -0
  126. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/presentation_function/section.rb +46 -0
  127. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/presentation_xml_convert.rb +62 -0
  128. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/sassc_importer.rb +11 -0
  129. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/version.rb +3 -0
  130. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/word_convert.rb +45 -0
  131. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/word_function.rb +4 -0
  132. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/word_function/body.rb +214 -0
  133. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/word_function/comments.rb +145 -0
  134. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/word_function/footnotes.rb +105 -0
  135. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/word_function/inline.rb +77 -0
  136. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/word_function/postprocess.rb +247 -0
  137. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/word_function/postprocess_cover.rb +79 -0
  138. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/word_function/table.rb +60 -0
  139. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/xref.rb +61 -0
  140. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/xref/xref_anchor.rb +56 -0
  141. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/xref/xref_counter.rb +74 -0
  142. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/xref/xref_gen.rb +117 -0
  143. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/xref/xref_gen_seq.rb +163 -0
  144. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/xref/xref_sect_gen.rb +151 -0
  145. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/lib/isodoc/xslfo_convert.rb +46 -0
  146. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/assets/html.scss +6 -0
  147. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/assets/i18n.yaml +16 -0
  148. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/assets/odf.emf +0 -0
  149. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/assets/odf.svg +4 -0
  150. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/assets/odf1.svg +4 -0
  151. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/assets/rice_image1 +0 -0
  152. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/assets/std.css +2 -0
  153. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/assets/word.css +2 -0
  154. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/blocks_spec.rb +2643 -0
  155. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/cleanup_spec.rb +1188 -0
  156. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/footnotes_spec.rb +280 -0
  157. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/i18n_spec.rb +1131 -0
  158. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/inline_spec.rb +995 -0
  159. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/lists_spec.rb +346 -0
  160. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/metadata_spec.rb +342 -0
  161. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/postproc_spec.rb +1536 -0
  162. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/presentation_xml_spec.rb +20 -0
  163. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/ref_spec.rb +427 -0
  164. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/section_spec.rb +993 -0
  165. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/table_spec.rb +454 -0
  166. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/terms_spec.rb +268 -0
  167. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/isodoc/xref_spec.rb +2764 -0
  168. data/gems/ruby/2.6.0/gems/isodoc-1.2.1/spec/spec_helper.rb +74 -0
  169. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/CODE_OF_CONDUCT.md +74 -0
  170. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/Gemfile +11 -0
  171. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/LICENSE +25 -0
  172. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/Rakefile +8 -0
  173. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/bin/console +14 -0
  174. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/bin/rspec +18 -0
  175. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/bin/setup +8 -0
  176. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/asciidoctor/cc.rb +5 -0
  177. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/asciidoctor/cc/basicdoc.rng +1059 -0
  178. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/asciidoctor/cc/biblio.rng +1237 -0
  179. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/asciidoctor/cc/cc.rng +116 -0
  180. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/asciidoctor/cc/converter.rb +72 -0
  181. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/asciidoctor/cc/front.rb +93 -0
  182. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/asciidoctor/cc/isodoc.rng +1510 -0
  183. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/asciidoctor/cc/reqt.rng +194 -0
  184. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/asciidoctor/cc/validate.rb +29 -0
  185. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/asciidoctor/cc/validate_section.rb +124 -0
  186. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/base_convert.rb +21 -0
  187. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/csd.standard.xsl +3371 -0
  188. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/html/_coverpage.css +307 -0
  189. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/html/_coverpage.scss +130 -0
  190. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/html/cc.css +801 -0
  191. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/html/cc.scss +763 -0
  192. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/html/htmlstyle.css +1013 -0
  193. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/html/htmlstyle.scss +409 -0
  194. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/html/wordstyle.css +1253 -0
  195. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/html/wordstyle.scss +1156 -0
  196. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/html_convert.rb +53 -0
  197. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/i18n-en.yaml +2 -0
  198. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/i18n.rb +10 -0
  199. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/init.rb +23 -0
  200. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/metadata.rb +61 -0
  201. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/pdf_convert.rb +21 -0
  202. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/presentation_xml_convert.rb +19 -0
  203. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/word_convert.rb +40 -0
  204. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/isodoc/cc/xref.rb +6 -0
  205. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/metanorma-cc.rb +11 -0
  206. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/metanorma/cc.rb +29 -0
  207. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/metanorma/cc/processor.rb +49 -0
  208. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/lib/metanorma/cc/version.rb +5 -0
  209. data/gems/ruby/2.6.0/gems/metanorma-cc-1.5.0/metanorma-cc.gemspec +44 -0
  210. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/CODE_OF_CONDUCT.md +74 -0
  211. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/Gemfile +11 -0
  212. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/LICENSE +25 -0
  213. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/Rakefile +8 -0
  214. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/bin/console +14 -0
  215. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/bin/rspec +18 -0
  216. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/bin/setup +8 -0
  217. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/asciidoctor/csa.rb +5 -0
  218. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/asciidoctor/csa/basicdoc.rng +1059 -0
  219. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/asciidoctor/csa/biblio.rng +1237 -0
  220. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/asciidoctor/csa/converter.rb +139 -0
  221. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/asciidoctor/csa/csa.rng +115 -0
  222. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/asciidoctor/csa/isodoc.rng +1510 -0
  223. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/asciidoctor/csa/reqt.rng +194 -0
  224. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/asciidoctor/csa/validate.rb +22 -0
  225. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/base_convert.rb +23 -0
  226. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/csa.standard.xsl +3387 -0
  227. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/html/csa.css +801 -0
  228. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/html/csa.scss +763 -0
  229. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/html/htmlstyle.css +1070 -0
  230. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/html/htmlstyle.scss +806 -0
  231. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/html/wordstyle.css +1253 -0
  232. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/html/wordstyle.scss +1157 -0
  233. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/html_convert.rb +60 -0
  234. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/i18n-en.yaml +2 -0
  235. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/i18n.rb +10 -0
  236. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/init.rb +24 -0
  237. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/metadata.rb +51 -0
  238. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/pdf_convert.rb +22 -0
  239. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/presentation_xml_convert.rb +19 -0
  240. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/word_convert.rb +42 -0
  241. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/isodoc/csa/xref.rb +6 -0
  242. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/metanorma-csa.rb +11 -0
  243. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/metanorma/csa.rb +7 -0
  244. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/metanorma/csa/processor.rb +52 -0
  245. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/lib/metanorma/csa/version.rb +7 -0
  246. data/gems/ruby/2.6.0/gems/metanorma-csa-1.6.0/metanorma-csa.gemspec +52 -0
  247. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/CODE_OF_CONDUCT.md +74 -0
  248. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/Gemfile +10 -0
  249. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/LICENSE +25 -0
  250. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/Rakefile +23 -0
  251. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/asciidoctor-gb.gemspec.old +47 -0
  252. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/bin/console +14 -0
  253. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/bin/rspec +18 -0
  254. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/bin/setup +8 -0
  255. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb.rb +5 -0
  256. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/basicdoc.rng +1059 -0
  257. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/biblio.rng +1237 -0
  258. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/cleanup.rb +130 -0
  259. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/converter.rb +146 -0
  260. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/front.rb +242 -0
  261. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/front_id.rb +57 -0
  262. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/gbstandard.rng +300 -0
  263. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/isodoc.rng +1510 -0
  264. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/isostandard.rng +533 -0
  265. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/reqt.rng +194 -0
  266. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/section_input.rb +42 -0
  267. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/asciidoctor/gb/validate.rb +132 -0
  268. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/base_convert.rb +211 -0
  269. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/cleanup.rb +79 -0
  270. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/common.rb +72 -0
  271. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/gb.recommendation.xsl +3739 -0
  272. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/_coverpage.css +193 -0
  273. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/_coverpage.scss +249 -0
  274. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/gb-logos/gb-issuer-default.svg +980 -0
  275. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/gb-logos/gb-standard-db.svg +1 -0
  276. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/gb-logos/gb-standard-gb.svg +1 -0
  277. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/gb-logos/gb-standard-gjb.svg +1 -0
  278. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/gb-logos/gb-standard-gm.svg +1 -0
  279. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/gb-logos/gb-standard-jjf.svg +1 -0
  280. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/gb-logos/gb-standard-zb.svg +13 -0
  281. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/gb.css +657 -0
  282. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/gb.scss +617 -0
  283. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/htmlcompliantstyle.css +1303 -0
  284. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/htmlcompliantstyle.scss +1004 -0
  285. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/htmlstyle.css +844 -0
  286. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/htmlstyle.scss +414 -0
  287. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/wordstyle.css +2932 -0
  288. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html/wordstyle.scss +2750 -0
  289. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/html_convert.rb +70 -0
  290. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/i18n-en.yaml +11 -0
  291. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/i18n-zh-Hans.yaml +11 -0
  292. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/i18n.rb +16 -0
  293. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/init.rb +29 -0
  294. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/metadata.rb +225 -0
  295. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/pdf_convert.rb +21 -0
  296. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/presentation_xml_convert.rb +26 -0
  297. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/word_convert.rb +126 -0
  298. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/isodoc/gb/xref.rb +6 -0
  299. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/metanorma-gb.rb +12 -0
  300. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/metanorma/gb.rb +7 -0
  301. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/metanorma/gb/processor.rb +73 -0
  302. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/lib/metanorma/gb/version.rb +5 -0
  303. data/gems/ruby/2.6.0/gems/metanorma-gb-1.5.1/metanorma-gb.gemspec +49 -0
  304. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/CODE_OF_CONDUCT.md +74 -0
  305. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/Gemfile +11 -0
  306. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/LICENSE +25 -0
  307. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/Rakefile +6 -0
  308. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/bin/console +14 -0
  309. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/bin/rspec +17 -0
  310. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/bin/setup +8 -0
  311. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/asciidoctor/generic.rb +7 -0
  312. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/asciidoctor/generic/basicdoc.rng +1059 -0
  313. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/asciidoctor/generic/biblio.rng +1237 -0
  314. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/asciidoctor/generic/converter.rb +219 -0
  315. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/asciidoctor/generic/generic.rng +79 -0
  316. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/asciidoctor/generic/isodoc.rng +1510 -0
  317. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/asciidoctor/generic/reqt.rng +194 -0
  318. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/asciidoctor/generic/rsd.rng +225 -0
  319. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic.rb +11 -0
  320. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/base_convert.rb +43 -0
  321. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/html/generic.scss +766 -0
  322. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/html/htmlstyle.scss +710 -0
  323. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/html/wordstyle.scss +1157 -0
  324. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/html_convert.rb +65 -0
  325. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/init.rb +27 -0
  326. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/metadata.rb +59 -0
  327. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/pdf_convert.rb +66 -0
  328. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/presentation_xml_convert.rb +19 -0
  329. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/word_convert.rb +60 -0
  330. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/isodoc/generic/xref.rb +6 -0
  331. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/metanorma-generic.rb +8 -0
  332. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/metanorma/generic.rb +108 -0
  333. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/metanorma/generic/processor.rb +88 -0
  334. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/lib/metanorma/generic/version.rb +5 -0
  335. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/metanorma-generic.gemspec +44 -0
  336. data/gems/ruby/2.6.0/gems/metanorma-generic-1.6.0/metanorma.yml.example +61 -0
  337. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/CODE_OF_CONDUCT.md +74 -0
  338. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/Gemfile +7 -0
  339. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/LICENSE +25 -0
  340. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/Rakefile +8 -0
  341. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/bin/rspec +18 -0
  342. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/asciidoctor/iec/basicdoc.rng +1059 -0
  343. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/asciidoctor/iec/biblio.rng +1237 -0
  344. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/asciidoctor/iec/converter.rb +80 -0
  345. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/asciidoctor/iec/front.rb +220 -0
  346. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/asciidoctor/iec/iec.rng +43 -0
  347. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/asciidoctor/iec/isodoc.rng +1510 -0
  348. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/asciidoctor/iec/isostandard.rng +533 -0
  349. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/asciidoctor/iec/reqt.rng +194 -0
  350. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/base_convert.rb +147 -0
  351. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/html/htmlstyle.css +962 -0
  352. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/html/htmlstyle.scss +703 -0
  353. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/html/isodoc.css +845 -0
  354. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/html/isodoc.scss +836 -0
  355. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/html/wordstyle.css +2013 -0
  356. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/html/wordstyle.scss +1854 -0
  357. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/html_convert.rb +43 -0
  358. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/i18n-en.yaml +18 -0
  359. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/i18n-fr.yaml +18 -0
  360. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/i18n-zh-Hans.yaml +14 -0
  361. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/i18n.rb +19 -0
  362. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/iec.international-standard.xsl +4782 -0
  363. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/init.rb +29 -0
  364. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/metadata.rb +28 -0
  365. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/pdf_convert.rb +21 -0
  366. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/presentation_xml_convert.rb +35 -0
  367. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/word_convert.rb +188 -0
  368. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/isodoc/iec/xref.rb +45 -0
  369. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/metanorma-iec.rb +15 -0
  370. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/metanorma/iec.rb +8 -0
  371. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/metanorma/iec/processor.rb +49 -0
  372. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/lib/metanorma/iec/version.rb +6 -0
  373. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/metanorma-iec.gemspec +45 -0
  374. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/asciidoctor-iec/base_spec.rb +602 -0
  375. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/asciidoctor-iec/blocks_spec.rb +481 -0
  376. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/asciidoctor-iec/cleanup_spec.rb +440 -0
  377. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/asciidoctor-iec/iev_spec.rb +234 -0
  378. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/asciidoctor-iec/inline_spec.rb +164 -0
  379. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/asciidoctor-iec/lists_spec.rb +190 -0
  380. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/asciidoctor-iec/section_spec.rb +369 -0
  381. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/asciidoctor-iec/validate_spec.rb +20 -0
  382. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/assets/html.css +2 -0
  383. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/assets/word.css +2 -0
  384. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/isodoc/blocks_spec.rb +219 -0
  385. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/isodoc/i18n_spec.rb +648 -0
  386. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/isodoc/iev_spec.rb +564 -0
  387. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/isodoc/inline_spec.rb +287 -0
  388. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/isodoc/iso_spec.rb +217 -0
  389. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/isodoc/metadata_spec.rb +242 -0
  390. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/isodoc/postproc_spec.rb +299 -0
  391. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/isodoc/ref_spec.rb +376 -0
  392. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/isodoc/section_spec.rb +541 -0
  393. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/isodoc/terms_spec.rb +193 -0
  394. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/metanorma/processor_spec.rb +76 -0
  395. data/gems/ruby/2.6.0/gems/metanorma-iec-1.2.1/spec/spec_helper.rb +296 -0
  396. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/CODE_OF_CONDUCT.md +74 -0
  397. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/Gemfile +13 -0
  398. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/Guardfile +22 -0
  399. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/LICENSE +25 -0
  400. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/Rakefile +6 -0
  401. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/bin/asciidoctor-rfc2 +14 -0
  402. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/bin/asciidoctor-rfc2.bat +2 -0
  403. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/bin/asciidoctor-rfc3 +14 -0
  404. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/bin/console +14 -0
  405. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/bin/rspec +17 -0
  406. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/bin/setup +8 -0
  407. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/docs/installation.md +21 -0
  408. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/docs/navigation.md +7 -0
  409. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/docs/overview.md +5 -0
  410. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/asciidoctor/ietf/basicdoc.rng +1059 -0
  411. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/asciidoctor/ietf/biblio.rng +1237 -0
  412. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/asciidoctor/ietf/blocks.rb +78 -0
  413. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/asciidoctor/ietf/converter.rb +201 -0
  414. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/asciidoctor/ietf/front.rb +144 -0
  415. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/asciidoctor/ietf/ietf.rng +888 -0
  416. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/asciidoctor/ietf/isodoc.rng +1510 -0
  417. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/asciidoctor/ietf/reqt.rng +194 -0
  418. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/asciidoctor/ietf/validate.rb +84 -0
  419. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/blocks.rb +227 -0
  420. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/cleanup.rb +230 -0
  421. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/footnotes.rb +70 -0
  422. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/front.rb +236 -0
  423. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/inline.rb +167 -0
  424. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/metadata.rb +54 -0
  425. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/references.rb +148 -0
  426. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/reqt.rb +79 -0
  427. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/rfc_convert.rb +82 -0
  428. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/section.rb +175 -0
  429. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/table.rb +43 -0
  430. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/terms.rb +52 -0
  431. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/isodoc/ietf/xref.rb +20 -0
  432. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/metanorma-ietf.rb +8 -0
  433. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/metanorma/ietf.rb +8 -0
  434. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/metanorma/ietf/processor.rb +103 -0
  435. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/lib/metanorma/ietf/version.rb +5 -0
  436. data/gems/ruby/2.6.0/gems/metanorma-ietf-2.2.0/metanorma-ietf.gemspec +53 -0
  437. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/CODE_OF_CONDUCT.md +74 -0
  438. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/Gemfile +11 -0
  439. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/LICENSE +25 -0
  440. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/Rakefile +8 -0
  441. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/bin/console +14 -0
  442. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/bin/rspec +18 -0
  443. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/bin/setup +8 -0
  444. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/asciidoctor/iho.rb +4 -0
  445. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/asciidoctor/iho/basicdoc.rng +1059 -0
  446. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/asciidoctor/iho/biblio.rng +1237 -0
  447. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/asciidoctor/iho/converter.rb +105 -0
  448. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/asciidoctor/iho/iho.rng +144 -0
  449. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/asciidoctor/iho/isodoc.rng +1510 -0
  450. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/asciidoctor/iho/reqt.rng +194 -0
  451. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/base_convert.rb +20 -0
  452. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/html/htmlstyle.css +1007 -0
  453. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/html/htmlstyle.scss +757 -0
  454. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/html/iho.css +798 -0
  455. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/html/iho.scss +759 -0
  456. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/html/logo.svg +555 -0
  457. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/html/wordstyle.css +1252 -0
  458. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/html/wordstyle.scss +1155 -0
  459. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/html_convert.rb +34 -0
  460. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/iho.specification.xsl +3501 -0
  461. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/iho.standard.xsl +3501 -0
  462. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/init.rb +23 -0
  463. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/metadata.rb +26 -0
  464. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/pdf_convert.rb +23 -0
  465. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/presentation_xml_convert.rb +12 -0
  466. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/word_convert.rb +47 -0
  467. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/isodoc/iho/xref.rb +64 -0
  468. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/metanorma-iho.rb +13 -0
  469. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/metanorma/iho.rb +32 -0
  470. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/metanorma/iho/processor.rb +46 -0
  471. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/lib/metanorma/iho/version.rb +5 -0
  472. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/metanorma-iho.gemspec +44 -0
  473. data/gems/ruby/2.6.0/gems/metanorma-iho-0.2.0/metanorma.yml +56 -0
  474. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/CODE_OF_CONDUCT.md +46 -0
  475. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/Gemfile +14 -0
  476. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/LICENSE +25 -0
  477. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/Makefile +39 -0
  478. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/Rakefile +8 -0
  479. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/bin/rspec +18 -0
  480. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/base.rb +67 -0
  481. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/basicdoc.rng +1059 -0
  482. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/biblio.rng +1237 -0
  483. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/cleanup.rb +129 -0
  484. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/converter.rb +18 -0
  485. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/front.rb +138 -0
  486. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/front_id.rb +196 -0
  487. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/isodoc.rng +1510 -0
  488. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/isostandard-amd.rng +98 -0
  489. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/isostandard.rnc +176 -0
  490. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/isostandard.rng +533 -0
  491. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/macros.rb +21 -0
  492. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/reqt.rng +194 -0
  493. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/section.rb +46 -0
  494. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/term_lookup_cleanup.rb +86 -0
  495. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/validate.rb +194 -0
  496. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/validate_requirements.rb +105 -0
  497. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/validate_section.rb +185 -0
  498. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/validate_style.rb +150 -0
  499. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/asciidoctor/iso/validate_title.rb +99 -0
  500. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/base_convert.rb +156 -0
  501. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html/htmlstyle.css +47 -0
  502. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html/htmlstyle.scss +45 -0
  503. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html/isodoc.css +862 -0
  504. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html/isodoc.scss +851 -0
  505. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html/style-human.css +968 -0
  506. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html/style-human.scss +695 -0
  507. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html/style-iso.css +996 -0
  508. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html/style-iso.scss +712 -0
  509. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html/wordstyle.css +1515 -0
  510. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html/wordstyle.scss +1393 -0
  511. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/html_convert.rb +55 -0
  512. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/i18n-en.yaml +11 -0
  513. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/i18n-fr.yaml +10 -0
  514. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/i18n-zh-Hans.yaml +8 -0
  515. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/i18n.rb +19 -0
  516. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/init.rb +33 -0
  517. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/iso.amendment.xsl +4638 -0
  518. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/iso.international-standard.xsl +4638 -0
  519. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/metadata.rb +217 -0
  520. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/pdf_convert.rb +26 -0
  521. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/presentation_xml_convert.rb +111 -0
  522. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/sections.rb +61 -0
  523. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/sts_convert.rb +31 -0
  524. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/word_convert.rb +127 -0
  525. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/isodoc/iso/xref.rb +113 -0
  526. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/metanorma-iso.rb +14 -0
  527. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/metanorma/iso.rb +7 -0
  528. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/metanorma/iso/processor.rb +62 -0
  529. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/lib/metanorma/iso/version.rb +5 -0
  530. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/metanorma-iso.gemspec +50 -0
  531. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/amd_spec.rb +726 -0
  532. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/base_spec.rb +593 -0
  533. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/blocks_spec.rb +482 -0
  534. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/cleanup_spec.rb +995 -0
  535. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/inline_spec.rb +164 -0
  536. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/lists_spec.rb +190 -0
  537. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/macros_spec.rb +310 -0
  538. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/refs_spec.rb +286 -0
  539. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/section_spec.rb +357 -0
  540. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/table_spec.rb +307 -0
  541. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/asciidoctor-iso/validate_spec.rb +1127 -0
  542. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/assets/html.css +2 -0
  543. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/assets/i18n.yaml +2 -0
  544. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/assets/std.css +2 -0
  545. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/assets/word.css +2 -0
  546. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/examples/english.yaml +69 -0
  547. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/examples/rice.sh +4 -0
  548. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/amd_spec.rb +808 -0
  549. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/blocks_spec.rb +534 -0
  550. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/i18n_spec.rb +954 -0
  551. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/inline_spec.rb +331 -0
  552. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/iso_spec.rb +384 -0
  553. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/metadata_spec.rb +248 -0
  554. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/postproc_spec.rb +708 -0
  555. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/ref_spec.rb +346 -0
  556. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/section_spec.rb +555 -0
  557. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/table_spec.rb +426 -0
  558. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/terms_spec.rb +202 -0
  559. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/isodoc/xref_spec.rb +1477 -0
  560. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/metanorma/processor_spec.rb +61 -0
  561. data/gems/ruby/2.6.0/gems/metanorma-iso-1.5.1/spec/spec_helper.rb +267 -0
  562. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/CODE_OF_CONDUCT.md +74 -0
  563. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/Gemfile +11 -0
  564. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/LICENSE +25 -0
  565. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/Rakefile +8 -0
  566. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/bin/console +14 -0
  567. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/bin/rspec +18 -0
  568. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/bin/setup +8 -0
  569. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu.rb +7 -0
  570. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu/basicdoc.rng +1059 -0
  571. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu/biblio.rng +1237 -0
  572. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu/cleanup.rb +205 -0
  573. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu/converter.rb +143 -0
  574. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu/front.rb +216 -0
  575. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu/isodoc.rng +1510 -0
  576. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu/itu.rng +264 -0
  577. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu/macros.rb +27 -0
  578. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu/reqt.rng +194 -0
  579. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/asciidoctor/itu/validate.rb +145 -0
  580. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu.rb +12 -0
  581. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/base_convert.rb +196 -0
  582. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/html/International_Telecommunication_Union_Logo.svg +1 -0
  583. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/html/_coverpage.css +349 -0
  584. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/html/_coverpage.scss +183 -0
  585. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/html/htmlstyle.css +1159 -0
  586. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/html/htmlstyle.scss +601 -0
  587. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/html/itu.css +1138 -0
  588. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/html/itu.scss +1097 -0
  589. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/html/wordstyle.css +1808 -0
  590. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/html/wordstyle.scss +1679 -0
  591. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/html_convert.rb +73 -0
  592. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/i18n-en.yaml +41 -0
  593. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/i18n.rb +14 -0
  594. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/init.rb +29 -0
  595. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/itu.recommendation-annex.xsl +3798 -0
  596. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/itu.recommendation.xsl +3798 -0
  597. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/itu.resolution.xsl +3798 -0
  598. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/metadata.rb +96 -0
  599. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/pdf_convert.rb +25 -0
  600. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/presentation_xml_convert.rb +55 -0
  601. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/ref.rb +130 -0
  602. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/terms.rb +64 -0
  603. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/word_convert.rb +238 -0
  604. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/isodoc/itu/xref.rb +175 -0
  605. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/metanorma-itu.rb +8 -0
  606. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/metanorma/itu.rb +9 -0
  607. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/metanorma/itu/processor.rb +53 -0
  608. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/lib/metanorma/itu/version.rb +5 -0
  609. data/gems/ruby/2.6.0/gems/metanorma-itu-1.2.0/metanorma-itu.gemspec +44 -0
  610. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/CODE_OF_CONDUCT.md +74 -0
  611. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/Gemfile +11 -0
  612. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/LICENSE +25 -0
  613. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/Rakefile +8 -0
  614. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/bin/console +14 -0
  615. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/bin/rspec +18 -0
  616. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/bin/setup +8 -0
  617. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/asciidoctor/m3aawg.rb +5 -0
  618. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/asciidoctor/m3aawg/basicdoc.rng +1059 -0
  619. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/asciidoctor/m3aawg/biblio.rng +1237 -0
  620. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/asciidoctor/m3aawg/converter.rb +142 -0
  621. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/asciidoctor/m3aawg/isodoc.rng +1510 -0
  622. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/asciidoctor/m3aawg/m3d.rng +109 -0
  623. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/asciidoctor/m3aawg/reqt.rng +194 -0
  624. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/asciidoctor/m3aawg/validate.rb +22 -0
  625. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/base_convert.rb +22 -0
  626. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/html/htmlstyle.css +1030 -0
  627. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/html/htmlstyle.scss +733 -0
  628. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/html/m3d.css +758 -0
  629. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/html/m3d.scss +742 -0
  630. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/html/wordstyle.css +1278 -0
  631. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/html/wordstyle.scss +1174 -0
  632. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/html_convert.rb +65 -0
  633. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/i18n-en.yaml +1 -0
  634. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/i18n.rb +10 -0
  635. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/init.rb +27 -0
  636. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/m3d.report.xsl +3408 -0
  637. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/metadata.rb +53 -0
  638. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/pdf_convert.rb +22 -0
  639. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/presentation_xml_convert.rb +19 -0
  640. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/word_convert.rb +63 -0
  641. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/isodoc/m3aawg/xref.rb +6 -0
  642. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/metanorma-m3aawg.rb +12 -0
  643. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/metanorma/m3aawg.rb +7 -0
  644. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/metanorma/m3aawg/processor.rb +50 -0
  645. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/lib/metanorma/m3aawg/version.rb +5 -0
  646. data/gems/ruby/2.6.0/gems/metanorma-m3aawg-1.5.0/metanorma-m3d.gemspec +47 -0
  647. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/CODE_OF_CONDUCT.md +74 -0
  648. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/Gemfile +11 -0
  649. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/LICENSE +25 -0
  650. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/Rakefile +8 -0
  651. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/bin/console +14 -0
  652. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/bin/rspec +18 -0
  653. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/bin/setup +8 -0
  654. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist.rb +5 -0
  655. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/basicdoc.rng +1059 -0
  656. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/biblio.rng +1237 -0
  657. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/boilerplate.rb +107 -0
  658. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/cleanup.rb +206 -0
  659. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/converter.rb +218 -0
  660. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/front.rb +259 -0
  661. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/front_id.rb +124 -0
  662. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/isodoc.rng +1510 -0
  663. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/nist.rng +186 -0
  664. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/reqt.rng +194 -0
  665. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/asciidoctor/nist/validate.rb +95 -0
  666. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/base_convert.rb +185 -0
  667. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/common.xsl +1246 -0
  668. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/_coverpage.css +243 -0
  669. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/_coverpage.scss +328 -0
  670. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/htmlstyle.css +955 -0
  671. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/htmlstyle.scss +463 -0
  672. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/nist.css +1055 -0
  673. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/nist.scss +1010 -0
  674. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/nist_cswp.css +996 -0
  675. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/nist_cswp.scss +955 -0
  676. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/wordstyle.css +1440 -0
  677. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/wordstyle.scss +1348 -0
  678. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/wordstyle_cswp.css +1119 -0
  679. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html/wordstyle_cswp.scss +1026 -0
  680. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/html_convert.rb +137 -0
  681. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/i18n-en.yaml +13 -0
  682. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/i18n.rb +10 -0
  683. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/init.rb +37 -0
  684. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/metadata.rb +236 -0
  685. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/metadata_id.rb +125 -0
  686. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/nist.cswp.xsl +3645 -0
  687. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/nist.sp.xsl +4726 -0
  688. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/pdf_convert.rb +22 -0
  689. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/presentation_xml_convert.rb +80 -0
  690. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/refs.rb +89 -0
  691. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/render.rb +255 -0
  692. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/render_contributors.rb +80 -0
  693. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/render_dates.rb +42 -0
  694. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/section.rb +58 -0
  695. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/word_convert.rb +173 -0
  696. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/word_convert_toc.rb +86 -0
  697. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/isodoc/nist/xref.rb +61 -0
  698. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/metanorma-nist.rb +14 -0
  699. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/metanorma/nist.rb +7 -0
  700. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/metanorma/nist/processor.rb +48 -0
  701. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/lib/metanorma/nist/version.rb +5 -0
  702. data/gems/ruby/2.6.0/gems/metanorma-nist-1.2.0/metanorma-nist.gemspec +47 -0
  703. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/CODE_OF_CONDUCT.md +74 -0
  704. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/Gemfile +11 -0
  705. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/LICENSE +25 -0
  706. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/README.adoc.old +187 -0
  707. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/Rakefile +8 -0
  708. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/bin/console +14 -0
  709. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/bin/rspec +17 -0
  710. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/bin/setup +8 -0
  711. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/asciidoctor/ogc.rb +7 -0
  712. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/asciidoctor/ogc/basicdoc.rng +1059 -0
  713. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/asciidoctor/ogc/biblio.rng +1237 -0
  714. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/asciidoctor/ogc/converter.rb +134 -0
  715. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/asciidoctor/ogc/front.rb +195 -0
  716. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/asciidoctor/ogc/isodoc.rng +1510 -0
  717. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/asciidoctor/ogc/ogc.rng +124 -0
  718. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/asciidoctor/ogc/reqt.rng +194 -0
  719. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/asciidoctor/ogc/validate.rb +108 -0
  720. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc.rb +12 -0
  721. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/base_convert.rb +79 -0
  722. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/biblio.rb +120 -0
  723. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/html/_coverpage.css +195 -0
  724. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/html/_coverpage.scss +247 -0
  725. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/html/htmlstyle.css +1084 -0
  726. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/html/htmlstyle.scss +599 -0
  727. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/html/ogc.css +835 -0
  728. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/html/ogc.scss +792 -0
  729. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/html/wordstyle.css +1253 -0
  730. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/html/wordstyle.scss +1155 -0
  731. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/html_convert.rb +89 -0
  732. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/i18n-en.yaml +11 -0
  733. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/i18n.rb +10 -0
  734. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/init.rb +32 -0
  735. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/metadata.rb +111 -0
  736. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +3802 -0
  737. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.best-practice.xsl +3802 -0
  738. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +3802 -0
  739. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.community-practice.xsl +3802 -0
  740. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.community-standard.xsl +3802 -0
  741. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.discussion-paper.xsl +3802 -0
  742. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.engineering-report.xsl +3802 -0
  743. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.other.xsl +3802 -0
  744. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.policy.xsl +3802 -0
  745. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.reference-model.xsl +3802 -0
  746. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.release-notes.xsl +3802 -0
  747. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.standard.xsl +3802 -0
  748. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.test-suite.xsl +3802 -0
  749. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.user-guide.xsl +3802 -0
  750. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/ogc.white-paper.xsl +3554 -0
  751. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/pdf_convert.rb +24 -0
  752. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/presentation_xml_convert.rb +137 -0
  753. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/reqt.rb +168 -0
  754. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/sections.rb +66 -0
  755. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/word_convert.rb +189 -0
  756. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/isodoc/ogc/xref.rb +156 -0
  757. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/metanorma-ogc.rb +8 -0
  758. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/metanorma/ogc.rb +12 -0
  759. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/metanorma/ogc/processor.rb +49 -0
  760. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/lib/metanorma/ogc/version.rb +5 -0
  761. data/gems/ruby/2.6.0/gems/metanorma-ogc-1.2.0/metanorma-ogc.gemspec +41 -0
  762. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/CODE_OF_CONDUCT.md +46 -0
  763. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/Gemfile +11 -0
  764. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/LICENSE +25 -0
  765. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/Makefile +39 -0
  766. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/Rakefile +8 -0
  767. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/bin/rspec +18 -0
  768. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/base.rb +242 -0
  769. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/basicdoc.rng +1059 -0
  770. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/biblio.rng +1237 -0
  771. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/blocks.rb +191 -0
  772. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/blocks_notes.rb +89 -0
  773. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/cleanup.rb +177 -0
  774. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/cleanup_block.rb +183 -0
  775. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/cleanup_boilerplate.rb +100 -0
  776. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/cleanup_footnotes.rb +87 -0
  777. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/cleanup_inline.rb +134 -0
  778. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/cleanup_ref.rb +247 -0
  779. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/cleanup_section.rb +221 -0
  780. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/cleanup_terms.rb +144 -0
  781. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/converter.rb +86 -0
  782. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/datamodel/attributes_table_preprocessor.rb +57 -0
  783. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/datamodel/diagram_preprocessor.rb +102 -0
  784. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/datamodel/plantuml_renderer.rb +408 -0
  785. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/front.rb +210 -0
  786. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/front_contributor.rb +99 -0
  787. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/inline.rb +233 -0
  788. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/isodoc.rng +1510 -0
  789. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/lists.rb +115 -0
  790. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/log.rb +50 -0
  791. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/macros.rb +179 -0
  792. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/macros_plantuml.rb +100 -0
  793. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/macros_yaml2text.rb +165 -0
  794. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/ref.rb +257 -0
  795. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/ref_sect.rb +124 -0
  796. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/reqt.rb +73 -0
  797. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/reqt.rng +194 -0
  798. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/section.rb +244 -0
  799. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/table.rb +70 -0
  800. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/utils.rb +194 -0
  801. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/validate.rb +97 -0
  802. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/validate_section.rb +51 -0
  803. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/views/datamodel/model_representation.adoc.erb +30 -0
  804. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/asciidoctor/standoc/views/datamodel/plantuml_representation.adoc.erb +20 -0
  805. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/metanorma-standoc.rb +10 -0
  806. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/metanorma/standoc.rb +11 -0
  807. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/metanorma/standoc/latexml_requirement.rb +62 -0
  808. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/metanorma/standoc/processor.rb +38 -0
  809. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/metanorma/standoc/requirement.rb +13 -0
  810. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/lib/metanorma/standoc/version.rb +5 -0
  811. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/metanorma-standoc.gemspec +56 -0
  812. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/base_spec.rb +519 -0
  813. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/blocks_spec.rb +1271 -0
  814. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/cleanup_spec.rb +3224 -0
  815. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/datamodel/attributes_table_preprocessor_spec.rb +111 -0
  816. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/datamodel/diagram_preprocessor_spec.rb +72 -0
  817. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/inline_spec.rb +308 -0
  818. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/isobib_cache_spec.rb +705 -0
  819. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/lists_spec.rb +205 -0
  820. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/macros_spec.rb +538 -0
  821. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/macros_yaml2text_spec.rb +565 -0
  822. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/refs_dl_spec.rb +850 -0
  823. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/refs_spec.rb +1648 -0
  824. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/section_spec.rb +983 -0
  825. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/table_spec.rb +307 -0
  826. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/asciidoctor-standoc/validate_spec.rb +328 -0
  827. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/assets/codes.yml +695 -0
  828. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/assets/html.scss +13 -0
  829. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/assets/i18n.yaml +17 -0
  830. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/assets/iso123.rxl +107 -0
  831. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/assets/std.css +2 -0
  832. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/assets/word.scss +13 -0
  833. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/AddressClassProfile.yml +90 -0
  834. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/AddressComponentProfile.yml +63 -0
  835. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/AddressComponentSpecification.yml +15 -0
  836. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/AddressProfile.yml +36 -0
  837. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/AttributeProfile.yml +32 -0
  838. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/InterchangeAddressClassProfile.yml +79 -0
  839. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/Localization copy.yml +23 -0
  840. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/Localization.yml +23 -0
  841. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/ProfileCompliantAddress.yml +36 -0
  842. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/ProfileCompliantAddressComponent.yml +15 -0
  843. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/Signature.yml +20 -0
  844. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/SignatureBlankDefinition.yml +20 -0
  845. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/TextDirectionCode copy.yml +16 -0
  846. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/TextDirectionCode.yml +16 -0
  847. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/Validity.yml +14 -0
  848. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/iso19160-1/Address.yml +22 -0
  849. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/models/iso19160-1/AddressComponent.yml +2 -0
  850. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/style.uml.inc +37 -0
  851. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/views/CommonModels.yml +9 -0
  852. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/datamodel/models/views/TopDown.yml +62 -0
  853. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/english.yaml +69 -0
  854. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/examples/rice.sh +4 -0
  855. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/metanorma/processor_spec.rb +92 -0
  856. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/spec_helper.rb +249 -0
  857. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +719 -0
  858. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/vcr_cassettes/isobib_get_123.yml +182 -0
  859. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/vcr_cassettes/isobib_get_123_1.yml +361 -0
  860. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/vcr_cassettes/isobib_get_123_2001.yml +182 -0
  861. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/vcr_cassettes/isobib_get_124.yml +182 -0
  862. data/gems/ruby/2.6.0/gems/metanorma-standoc-1.5.0/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +109 -0
  863. 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
  864. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/CODE_OF_CONDUCT.md +74 -0
  865. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/Gemfile +11 -0
  866. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/LICENSE +25 -0
  867. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/Rakefile +8 -0
  868. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/bin/console +14 -0
  869. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/bin/rspec +17 -0
  870. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/bin/setup +8 -0
  871. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/asciidoctor/un.rb +7 -0
  872. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/asciidoctor/un/basicdoc.rng +1059 -0
  873. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/asciidoctor/un/biblio.rng +1237 -0
  874. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/asciidoctor/un/converter.rb +253 -0
  875. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/asciidoctor/un/isodoc.rng +1510 -0
  876. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/asciidoctor/un/reqt.rng +194 -0
  877. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/asciidoctor/un/un.rng +356 -0
  878. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/asciidoctor/un/validate.rb +23 -0
  879. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un.rb +11 -0
  880. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/base_convert.rb +35 -0
  881. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/html/htmlstyle.css +1096 -0
  882. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/html/htmlstyle.scss +881 -0
  883. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/html/unece.css +818 -0
  884. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/html/unece.scss +801 -0
  885. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/html/wordstyle.css +1237 -0
  886. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/html/wordstyle.scss +1140 -0
  887. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/html_convert.rb +112 -0
  888. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/i18n-en.yaml +2 -0
  889. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/i18n.rb +11 -0
  890. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/init.rb +29 -0
  891. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/metadata.rb +102 -0
  892. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/pdf_convert.rb +28 -0
  893. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/presentation_xml_convert.rb +53 -0
  894. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/un.plenary-attachment.xsl +3618 -0
  895. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/un.plenary.xsl +3618 -0
  896. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/un.recommendation.xsl +3605 -0
  897. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/word_convert.rb +174 -0
  898. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/isodoc/un/xref.rb +185 -0
  899. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/metanorma-un.rb +8 -0
  900. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/metanorma/un.rb +12 -0
  901. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/metanorma/un/UN_emblem_blue.svg +193 -0
  902. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/metanorma/un/input.rb +18 -0
  903. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/metanorma/un/processor.rb +49 -0
  904. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/lib/metanorma/un/version.rb +5 -0
  905. data/gems/ruby/2.6.0/gems/metanorma-un-0.5.0/metanorma-unece.gemspec +46 -0
  906. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/CHANGELOG.md +6 -0
  907. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/Gemfile +8 -0
  908. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/LICENSE +25 -0
  909. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/Rakefile +6 -0
  910. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/bin/console +11 -0
  911. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/bin/rspec +29 -0
  912. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/bin/setup +8 -0
  913. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/exe/relaton +21 -0
  914. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/i18n.yaml +1 -0
  915. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton-cli.rb +10 -0
  916. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/bibcollection.rb +120 -0
  917. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/bibdata.rb +90 -0
  918. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/cli.rb +55 -0
  919. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/cli/base_convertor.rb +141 -0
  920. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/cli/command.rb +115 -0
  921. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/cli/relaton_file.rb +276 -0
  922. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/cli/version.rb +5 -0
  923. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/cli/xml_convertor.rb +47 -0
  924. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/cli/xml_to_html_renderer.rb +116 -0
  925. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/cli/yaml_convertor.rb +99 -0
  926. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/lib/relaton/element_finder.rb +25 -0
  927. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/relaton-cli.gemspec +40 -0
  928. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/templates/_document.liquid +92 -0
  929. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/templates/_index.liquid +53 -0
  930. data/gems/ruby/2.6.0/gems/relaton-cli-1.2.1/templates/index-style.css +1017 -0
  931. data/gems/ruby/2.6.0/specifications/fontist-1.2.0.gemspec +51 -0
  932. data/gems/ruby/2.6.0/specifications/isodoc-1.2.1.gemspec +87 -0
  933. data/gems/ruby/2.6.0/specifications/metanorma-cc-1.5.0.gemspec +67 -0
  934. data/gems/ruby/2.6.0/specifications/metanorma-csa-1.6.0.gemspec +85 -0
  935. data/gems/ruby/2.6.0/specifications/metanorma-gb-1.5.1.gemspec +79 -0
  936. data/gems/ruby/2.6.0/specifications/metanorma-generic-1.6.0.gemspec +73 -0
  937. data/gems/ruby/2.6.0/specifications/metanorma-iec-1.2.1.gemspec +72 -0
  938. data/gems/ruby/2.6.0/specifications/metanorma-ietf-2.2.0.gemspec +73 -0
  939. data/gems/ruby/2.6.0/specifications/metanorma-iho-0.2.0.gemspec +73 -0
  940. data/gems/ruby/2.6.0/specifications/metanorma-iso-1.5.1.gemspec +81 -0
  941. data/gems/ruby/2.6.0/specifications/metanorma-itu-1.2.0.gemspec +79 -0
  942. data/gems/ruby/2.6.0/specifications/metanorma-m3aawg-1.5.0.gemspec +73 -0
  943. data/gems/ruby/2.6.0/specifications/metanorma-nist-1.2.0.gemspec +82 -0
  944. data/gems/ruby/2.6.0/specifications/metanorma-ogc-1.2.0.gemspec +70 -0
  945. data/gems/ruby/2.6.0/specifications/metanorma-standoc-1.5.0.gemspec +99 -0
  946. data/gems/ruby/2.6.0/specifications/metanorma-un-0.5.0.gemspec +76 -0
  947. data/gems/ruby/2.6.0/specifications/relaton-cli-1.2.1.gemspec +73 -0
  948. data/lib/metanorma/cli/version.rb +1 -1
  949. data/metanorma-cli.gemspec +18 -18
  950. metadata +981 -34
@@ -0,0 +1,73 @@
1
+ require "isodoc"
2
+ require_relative "init"
3
+ require "fileutils"
4
+
5
+ module IsoDoc
6
+ module ITU
7
+
8
+ # A {Converter} implementation that generates HTML output, and a document
9
+ # schema encapsulation of the document for validation
10
+ #
11
+ class HtmlConvert < IsoDoc::HtmlConvert
12
+ def initialize(options)
13
+ @libdir = File.dirname(__FILE__)
14
+ @hierarchical_assets = options[:hierarchical_assets]
15
+ super
16
+ end
17
+
18
+ def default_fonts(options)
19
+ {
20
+ bodyfont: (options[:script] == "Hans" ? '"SimSun",serif' :
21
+ '"Times New Roman",serif'),
22
+ headerfont: (options[:script] == "Hans" ? '"SimHei",sans-serif' :
23
+ '"Times New Roman",serif'),
24
+ monospacefont: '"Courier New",monospace'
25
+ }
26
+ end
27
+
28
+ def default_file_locations(_options)
29
+ {
30
+ htmlstylesheet: html_doc_path("htmlstyle.scss"),
31
+ htmlcoverpage: html_doc_path("html_itu_titlepage.html"),
32
+ htmlintropage: html_doc_path("html_itu_intro.html"),
33
+ scripts: html_doc_path("scripts.html"),
34
+ }
35
+ end
36
+
37
+ def googlefonts
38
+ <<~HEAD.freeze
39
+ <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,800|Space+Mono:400,700" rel="stylesheet">
40
+ HEAD
41
+ end
42
+
43
+ def make_body(xml, docxml)
44
+ body_attr = { lang: "EN-US", link: "blue", vlink: "#954F72",
45
+ "xml:lang": "EN-US", class: "container" }
46
+ xml.body **body_attr do |body|
47
+ make_body1(body, docxml)
48
+ make_body2(body, docxml)
49
+ make_body3(body, docxml)
50
+ end
51
+ end
52
+
53
+ def make_body3(body, docxml)
54
+ body.div **{ class: "main-section" } do |div3|
55
+ boilerplate docxml, div3
56
+ abstract docxml, div3
57
+ preface docxml, div3
58
+ middle docxml, div3
59
+ footnotes div3
60
+ comments div3
61
+ end
62
+ end
63
+
64
+ def authority_cleanup(docxml)
65
+ authority_cleanup1(docxml, "draft-warning")
66
+ super
67
+ end
68
+
69
+ include BaseConvert
70
+ include Init
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,41 @@
1
+ termsdef: Definitions
2
+ termsdefsymbolsabbrev: Definitions
3
+ termsdefsymbols: Definitions
4
+ termsdefabbrev: Definitions
5
+ termnote: NOTE %
6
+ normref: References
7
+ symbolsabbrev: Abbreviations and acronyms
8
+ abbrev: Abbreviations and acronyms
9
+ symbols: Abbreviations and acronyms
10
+ conventions: Conventions
11
+ elsewhere_terms: >-
12
+ This Recommendation uses the following terms defined elsewhere:
13
+ here_terms: >-
14
+ This Recommendation defines the following terms:
15
+ norm_annex: (This annex forms an integral part of this %.)
16
+ inform_annex: (This appendix does not form an integral part of this %.)
17
+ formula: Equation
18
+ inequality: Inequality
19
+ clause: clause
20
+ annex_subclause: clause
21
+ in: in
22
+ where: "where:"
23
+ blankclause: This clause is intentionally left blank.
24
+ norm_with_refs_pref:
25
+ The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
26
+ internal_termsdef: Terms defined in this recommendation
27
+ external_termsdef: Terms defined elsewhere
28
+ term_def_boilerplate:
29
+ "This Recommendation defines the following terms:"
30
+ internal_terms_boilerplate:
31
+ "This Recommendation defines the following terms:"
32
+ external_terms_boilerplate:
33
+ "This Recommendation uses the following terms defined elsewhere:"
34
+ no_terms_boilerplate:
35
+ None.
36
+ symbols_boilerplate:
37
+ "This Recommendation uses the following abbreviations and acronyms:"
38
+ norm_empty_pref:
39
+ None.
40
+ clause_empty:
41
+ None.
@@ -0,0 +1,14 @@
1
+ module IsoDoc
2
+ module ITU
3
+ class I18n < IsoDoc::I18n
4
+ def load_yaml1(lang, script)
5
+ y = if lang == "en"
6
+ YAML.load_file(File.join(File.dirname(__FILE__), "i18n-en.yaml"))
7
+ else
8
+ YAML.load_file(File.join(File.dirname(__FILE__), "i18n-en.yaml"))
9
+ end
10
+ super.merge(y)
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,29 @@
1
+ require "isodoc"
2
+ require_relative "metadata"
3
+ require_relative "xref"
4
+ require_relative "i18n"
5
+
6
+ module IsoDoc
7
+ module ITU
8
+ module Init
9
+ def metadata_init(lang, script, i18n)
10
+ @meta = Metadata.new(lang, script, i18n)
11
+ end
12
+
13
+ def xref_init(lang, script, klass, i18n, options)
14
+ html = HtmlConvert.new(language: lang, script: script)
15
+ options = options.merge(hierarchical_assets: @hierarchical_assets)
16
+ @xrefs = Xref.new(lang, script, html, i18n, options)
17
+ end
18
+
19
+ def i18n_init(lang, script, i18nyaml = nil)
20
+ @i18n = I18n.new(lang, script, i18nyaml || @i18nyaml)
21
+ end
22
+
23
+ def fileloc(loc)
24
+ File.join(File.dirname(__FILE__), loc)
25
+ end
26
+ end
27
+ end
28
+ end
29
+
@@ -0,0 +1,3798 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:mathml="http://www.w3.org/1998/Math/MathML" xmlns:xalan="http://xml.apache.org/xalan" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions" xmlns:java="http://xml.apache.org/xalan/java" exclude-result-prefixes="java" version="1.0">
2
+
3
+ <xsl:output method="xml" encoding="UTF-8" indent="no"/>
4
+
5
+ <xsl:param name="svg_images"/>
6
+ <xsl:variable name="images" select="document($svg_images)"/>
7
+
8
+
9
+
10
+ <xsl:key name="kfn" match="itu:p/itu:fn" use="@reference"/>
11
+
12
+
13
+
14
+ <xsl:variable name="debug">false</xsl:variable>
15
+ <xsl:variable name="pageWidth" select="'210mm'"/>
16
+ <xsl:variable name="pageHeight" select="'297mm'"/>
17
+
18
+ <!-- Rec. ITU-T G.650.1 (03/2018) -->
19
+ <xsl:variable name="footerprefix" select="'Rec. '"/>
20
+ <xsl:variable name="docname">
21
+ <xsl:value-of select="substring-before(/itu:itu-standard/itu:bibdata/itu:docidentifier, ' ')"/>
22
+ <xsl:text> </xsl:text>
23
+ <xsl:value-of select="substring-after(/itu:itu-standard/itu:bibdata/itu:docidentifier, ' ')"/>
24
+ <xsl:text> </xsl:text>
25
+ </xsl:variable>
26
+ <xsl:variable name="docdate">
27
+ <xsl:call-template name="formatDate">
28
+ <xsl:with-param name="date" select="/itu:itu-standard/itu:bibdata/itu:date[@type = 'published']/itu:on"/>
29
+ </xsl:call-template>
30
+ </xsl:variable>
31
+ <xsl:variable name="doctype">
32
+ <xsl:call-template name="capitalize">
33
+ <xsl:with-param name="str" select="/itu:itu-standard/itu:bibdata/itu:ext/itu:doctype"/>
34
+ </xsl:call-template>
35
+ </xsl:variable>
36
+
37
+
38
+ <!-- Example:
39
+ <item level="1" id="Foreword" display="true">Foreword</item>
40
+ <item id="term-script" display="false">3.2</item>
41
+ -->
42
+ <xsl:variable name="contents">
43
+ <contents>
44
+ <!-- <xsl:apply-templates select="/itu:itu-standard/itu:preface/node()" mode="contents"/> -->
45
+ <xsl:apply-templates select="/itu:itu-standard/itu:sections/itu:clause[1]" mode="contents"/> <!-- @id = 'scope' -->
46
+
47
+ <!-- Normative references -->
48
+ <xsl:apply-templates select="/itu:itu-standard/itu:bibliography/itu:references[1]" mode="contents"/> <!-- @id = 'references' -->
49
+
50
+ <xsl:apply-templates select="/itu:itu-standard/itu:sections/*[position() != 1]" mode="contents"/> <!-- @id != 'scope' -->
51
+
52
+ <xsl:apply-templates select="/itu:itu-standard/itu:annex" mode="contents"/>
53
+
54
+ <!-- Bibliography -->
55
+ <xsl:apply-templates select="/itu:itu-standard/itu:bibliography/itu:references[position() != 1]" mode="contents"/> <!-- @id = 'bibliography' -->
56
+
57
+ <xsl:apply-templates select="//itu:table" mode="contents"/>
58
+
59
+ </contents>
60
+ </xsl:variable>
61
+
62
+ <xsl:variable name="lang">
63
+ <xsl:call-template name="getLang"/>
64
+ </xsl:variable>
65
+
66
+ <xsl:template match="/">
67
+ <xsl:call-template name="namespaceCheck"/>
68
+ <fo:root font-family="Times New Roman, STIX2Math" font-size="12pt" xml:lang="{$lang}">
69
+ <fo:layout-master-set>
70
+ <!-- cover page -->
71
+ <fo:simple-page-master master-name="cover-page" page-width="{$pageWidth}" page-height="{$pageHeight}">
72
+ <fo:region-body margin-top="19.2mm" margin-bottom="5mm" margin-left="19.2mm" margin-right="19.2mm"/>
73
+ <fo:region-before region-name="cover-page-header" extent="19.2mm" display-align="center"/>
74
+ <fo:region-after/>
75
+ <fo:region-start region-name="cover-left-region" extent="19.2mm"/>
76
+ <fo:region-end region-name="cover-right-region" extent="19.2mm"/>
77
+ </fo:simple-page-master>
78
+ <!-- contents pages -->
79
+ <!-- odd pages Preface -->
80
+ <fo:simple-page-master master-name="odd-preface" page-width="{$pageWidth}" page-height="{$pageHeight}">
81
+ <fo:region-body margin-top="19.2mm" margin-bottom="19.2mm" margin-left="19.2mm" margin-right="19.2mm"/>
82
+ <fo:region-before region-name="header-odd" extent="19.2mm" display-align="center"/>
83
+ <fo:region-after region-name="footer-odd" extent="19.2mm"/>
84
+ <fo:region-start region-name="left-region" extent="19.2mm"/>
85
+ <fo:region-end region-name="right-region" extent="19.2mm"/>
86
+ </fo:simple-page-master>
87
+ <!-- even pages Preface -->
88
+ <fo:simple-page-master master-name="even-preface" page-width="{$pageWidth}" page-height="{$pageHeight}">
89
+ <fo:region-body margin-top="19.2mm" margin-bottom="19.2mm" margin-left="19.2mm" margin-right="19.2mm"/>
90
+ <fo:region-before region-name="header-even" extent="19.2mm" display-align="center"/>
91
+ <fo:region-after region-name="footer-even" extent="19.2mm"/>
92
+ <fo:region-start region-name="left-region" extent="19.2mm"/>
93
+ <fo:region-end region-name="right-region" extent="19.2mm"/>
94
+ </fo:simple-page-master>
95
+ <fo:page-sequence-master master-name="document-preface">
96
+ <fo:repeatable-page-master-alternatives>
97
+ <fo:conditional-page-master-reference odd-or-even="even" master-reference="even-preface"/>
98
+ <fo:conditional-page-master-reference odd-or-even="odd" master-reference="odd-preface"/>
99
+ </fo:repeatable-page-master-alternatives>
100
+ </fo:page-sequence-master>
101
+ <!-- odd pages Body -->
102
+ <fo:simple-page-master master-name="odd" page-width="{$pageWidth}" page-height="{$pageHeight}">
103
+ <fo:region-body margin-top="20mm" margin-bottom="20mm" margin-left="20mm" margin-right="20mm"/>
104
+ <fo:region-before region-name="header-odd" extent="20mm" display-align="center"/>
105
+ <fo:region-after region-name="footer-odd" extent="20mm"/>
106
+ <fo:region-start region-name="left-region" extent="20mm"/>
107
+ <fo:region-end region-name="right-region" extent="20mm"/>
108
+ </fo:simple-page-master>
109
+ <!-- even pages Body -->
110
+ <fo:simple-page-master master-name="even" page-width="{$pageWidth}" page-height="{$pageHeight}">
111
+ <fo:region-body margin-top="20mm" margin-bottom="20mm" margin-left="20mm" margin-right="20mm"/>
112
+ <fo:region-before region-name="header-even" extent="20mm" display-align="center"/>
113
+ <fo:region-after region-name="footer-even" extent="20mm"/>
114
+ <fo:region-start region-name="left-region" extent="20mm"/>
115
+ <fo:region-end region-name="right-region" extent="20mm"/>
116
+ </fo:simple-page-master>
117
+ <fo:page-sequence-master master-name="document">
118
+ <fo:repeatable-page-master-alternatives>
119
+ <fo:conditional-page-master-reference odd-or-even="even" master-reference="even"/>
120
+ <fo:conditional-page-master-reference odd-or-even="odd" master-reference="odd"/>
121
+ </fo:repeatable-page-master-alternatives>
122
+ </fo:page-sequence-master>
123
+ </fo:layout-master-set>
124
+
125
+ <xsl:call-template name="addPDFUAmeta"/>
126
+
127
+ <!-- cover page -->
128
+ <fo:page-sequence master-reference="cover-page">
129
+ <fo:flow flow-name="xsl-region-body">
130
+
131
+ <fo:block-container absolute-position="fixed" left="148mm" top="265mm">
132
+ <fo:block>
133
+ <fo:external-graphic src="{concat('data:image/png;base64,', normalize-space($Image-Logo))}" width="42.6mm" content-height="17.7mm" content-width="scale-to-fit" scaling="uniform" fox:alt-text="Image {@alt}"/>
134
+ </fo:block>
135
+ </fo:block-container>
136
+
137
+ <fo:block-container absolute-position="fixed" left="-7mm" top="0">
138
+ <fo:block>
139
+ <fo:external-graphic src="{concat('data:image/png;base64,', normalize-space($Image-Fond-Rec))}" width="43.6mm" content-height="299.2mm" content-width="scale-to-fit" scaling="uniform" fox:alt-text="Image {@alt}"/>
140
+ </fo:block>
141
+ </fo:block-container>
142
+ <fo:block-container font-family="Arial">
143
+ <fo:table width="100%" table-layout="fixed"> <!-- 175.4mm-->
144
+ <fo:table-column column-width="25.2mm"/>
145
+ <fo:table-column column-width="44.4mm"/>
146
+ <fo:table-column column-width="35.8mm"/>
147
+ <fo:table-column column-width="67mm"/>
148
+ <fo:table-body>
149
+ <fo:table-row height="37.5mm"> <!-- 42.5mm -->
150
+ <fo:table-cell>
151
+ <fo:block> </fo:block>
152
+ </fo:table-cell>
153
+ <fo:table-cell number-columns-spanned="3">
154
+ <fo:block font-family="Arial" font-size="13pt" font-weight="bold" color="gray"> <!-- margin-top="16pt" letter-spacing="4pt", Helvetica for letter-spacing working -->
155
+ <fo:block><xsl:value-of select="$linebreak"/></fo:block>
156
+ <xsl:call-template name="addLetterSpacing">
157
+ <xsl:with-param name="text" select="/itu:itu-standard/itu:bibdata/itu:contributor[itu:role/@type='author']/itu:organization/itu:name"/>
158
+ </xsl:call-template>
159
+ </fo:block>
160
+ </fo:table-cell>
161
+ </fo:table-row>
162
+ <fo:table-row>
163
+ <fo:table-cell>
164
+ <fo:block> </fo:block>
165
+ </fo:table-cell>
166
+ <fo:table-cell padding-top="2mm" padding-bottom="-1mm">
167
+ <fo:block font-family="Arial" font-size="36pt" font-weight="bold" margin-top="6pt" letter-spacing="2pt"> <!-- Helvetica for letter-spacing working -->
168
+ <xsl:value-of select="substring-before(/itu:itu-standard/itu:bibdata/itu:docidentifier, ' ')"/>
169
+ </fo:block>
170
+ </fo:table-cell>
171
+ <fo:table-cell padding-top="1mm" number-columns-spanned="2" padding-bottom="-1mm">
172
+ <fo:block font-size="30pt" font-weight="bold" text-align="right" margin-top="12pt" padding="0mm">
173
+ <xsl:value-of select="substring-after(/itu:itu-standard/itu:bibdata/itu:docidentifier, ' ')"/>
174
+ </fo:block>
175
+ </fo:table-cell>
176
+ </fo:table-row>
177
+ <fo:table-row height="17.2mm">
178
+ <fo:table-cell>
179
+ <fo:block> </fo:block>
180
+ </fo:table-cell>
181
+ <fo:table-cell font-size="10pt" number-columns-spanned="2" padding-top="1mm">
182
+ <fo:block>
183
+ <xsl:text>TELECOMMUNICATION</xsl:text>
184
+ </fo:block>
185
+ <fo:block>
186
+ <xsl:text>STANDARDIZATION SECTOR</xsl:text>
187
+ </fo:block>
188
+ <fo:block>
189
+ <xsl:text>OF ITU</xsl:text>
190
+ </fo:block>
191
+ </fo:table-cell>
192
+ <fo:table-cell text-align="right">
193
+ <xsl:if test="/itu:itu-standard/itu:bibdata/itu:ext/itu:structuredidentifier/itu:annexid">
194
+ <fo:block font-size="18pt" font-weight="bold">
195
+ <xsl:variable name="title-annex">
196
+ <xsl:call-template name="getTitle">
197
+ <xsl:with-param name="name" select="'title-annex'"/>
198
+ </xsl:call-template>
199
+ </xsl:variable>
200
+ <xsl:value-of select="$title-annex"/><xsl:value-of select="/itu:itu-standard/itu:bibdata/itu:ext/itu:structuredidentifier/itu:annexid"/>
201
+ </fo:block>
202
+ </xsl:if>
203
+ <fo:block font-size="14pt">
204
+ <xsl:call-template name="formatDate">
205
+ <xsl:with-param name="date" select="/itu:itu-standard/itu:bibdata/itu:date[@type = 'published']/itu:on"/>
206
+ </xsl:call-template>
207
+ </fo:block>
208
+ </fo:table-cell>
209
+ </fo:table-row>
210
+ <fo:table-row height="64mm"> <!-- 59mm -->
211
+ <fo:table-cell>
212
+ <fo:block> </fo:block>
213
+ </fo:table-cell>
214
+ <fo:table-cell font-size="16pt" number-columns-spanned="3" border-bottom="0.5mm solid black" padding-right="2mm" display-align="after">
215
+ <fo:block padding-bottom="7mm">
216
+ <fo:block text-transform="uppercase">
217
+ <xsl:if test="normalize-space(/itu:itu-standard/itu:bibdata/itu:series[@type = 'main']) != ''">
218
+ <xsl:variable name="title">
219
+ <xsl:text>Series </xsl:text>
220
+ <xsl:value-of select="/itu:itu-standard/itu:bibdata/itu:series[@type = 'main']"/>
221
+ </xsl:variable>
222
+ <xsl:value-of select="$title"/>
223
+ </xsl:if>
224
+ </fo:block>
225
+ <xsl:if test="/itu:itu-standard/itu:bibdata/itu:series">
226
+ <fo:block margin-top="6pt">
227
+ <xsl:value-of select="/itu:itu-standard/itu:bibdata/itu:series[@type = 'secondary']"/>
228
+ <xsl:if test="normalize-space(/itu:itu-standard/itu:bibdata/itu:series[@type = 'tertiary']) != ''">
229
+ <xsl:text> — </xsl:text>
230
+ <xsl:value-of select="/itu:itu-standard/itu:bibdata/itu:series[@type = 'tertiary']"/>
231
+ </xsl:if>
232
+ </fo:block>
233
+ </xsl:if>
234
+ </fo:block>
235
+ </fo:table-cell>
236
+ </fo:table-row>
237
+ <fo:table-row height="40mm">
238
+ <fo:table-cell>
239
+ <fo:block> </fo:block>
240
+ </fo:table-cell>
241
+ <fo:table-cell font-size="18pt" number-columns-spanned="3">
242
+ <fo:block padding-right="2mm" margin-top="6pt">
243
+ <xsl:if test="not(/itu:itu-standard/itu:bibdata/itu:title[@type = 'annex' and @language = 'en'])">
244
+ <xsl:attribute name="font-weight">bold</xsl:attribute>
245
+ </xsl:if>
246
+ <xsl:value-of select="/itu:itu-standard/itu:bibdata/itu:title[@type = 'main' and @language = 'en']"/>
247
+ </fo:block>
248
+ <xsl:for-each select="/itu:itu-standard/itu:bibdata/itu:title[@type = 'annex' and @language = 'en']">
249
+ <fo:block font-weight="bold">
250
+ <xsl:value-of select="."/>
251
+ </fo:block>
252
+ </xsl:for-each>
253
+ </fo:table-cell>
254
+ </fo:table-row>
255
+ <fo:table-row height="40mm">
256
+ <fo:table-cell>
257
+ <fo:block> </fo:block>
258
+ </fo:table-cell>
259
+ <fo:table-cell number-columns-spanned="3">
260
+ <xsl:choose>
261
+ <xsl:when test="/itu:itu-standard/itu:boilerplate/itu:legal-statement/itu:clause[@id='draft-warning']">
262
+ <xsl:attribute name="border">0.7mm solid black</xsl:attribute>
263
+ <fo:block padding-top="3mm" margin-left="1mm" margin-right="1mm">
264
+ <xsl:apply-templates select="/itu:itu-standard/itu:boilerplate/itu:legal-statement/itu:clause[@id='draft-warning']" mode="caution"/>
265
+ </fo:block>
266
+ </xsl:when>
267
+ <xsl:otherwise>
268
+ <fo:block> </fo:block>
269
+ </xsl:otherwise>
270
+ </xsl:choose>
271
+ </fo:table-cell>
272
+ </fo:table-row>
273
+ <fo:table-row height="25mm">
274
+ <fo:table-cell>
275
+ <fo:block> </fo:block>
276
+ </fo:table-cell>
277
+ <fo:table-cell number-columns-spanned="3">
278
+ <fo:block font-size="16pt" margin-top="3pt">
279
+ <xsl:value-of select="$doctype"/>
280
+ <xsl:text>  </xsl:text>
281
+ <xsl:value-of select="/itu:itu-standard/itu:bibdata/itu:contributor/itu:organization/itu:abbreviation"/>
282
+ <xsl:text>-</xsl:text>
283
+ <xsl:value-of select="/itu:itu-standard/itu:bibdata/itu:ext/itu:structuredidentifier/itu:bureau"/>
284
+ <xsl:text>  </xsl:text>
285
+ <xsl:value-of select="/itu:itu-standard/itu:bibdata/itu:ext/itu:structuredidentifier/itu:docnumber"/>
286
+ <xsl:if test="/itu:itu-standard/itu:bibdata/itu:ext/itu:structuredidentifier/itu:annexid">
287
+ <xsl:variable name="title-annex">
288
+ <xsl:call-template name="getTitle">
289
+ <xsl:with-param name="name" select="'title-annex'"/>
290
+ </xsl:call-template>
291
+ </xsl:variable>
292
+ <xsl:text> — </xsl:text><xsl:value-of select="$title-annex"/><xsl:value-of select="/itu:itu-standard/itu:bibdata/itu:ext/itu:structuredidentifier/itu:annexid"/>
293
+ </xsl:if>
294
+ </fo:block>
295
+ </fo:table-cell>
296
+ </fo:table-row>
297
+ </fo:table-body>
298
+ </fo:table>
299
+ </fo:block-container>
300
+ </fo:flow>
301
+ </fo:page-sequence>
302
+
303
+
304
+ <fo:page-sequence master-reference="document-preface" initial-page-number="1" format="i" force-page-count="no-force">
305
+ <xsl:call-template name="insertHeaderFooter"/>
306
+ <fo:flow flow-name="xsl-region-body">
307
+ <fo:block-container font-size="14pt" font-weight="bold">
308
+ <fo:block>
309
+ <xsl:value-of select="$doctype"/>
310
+ <xsl:text> </xsl:text>
311
+ <xsl:value-of select="$docname"/>
312
+ </fo:block>
313
+ <fo:block text-align="center" margin-top="15pt" margin-bottom="15pt">
314
+ <xsl:value-of select="/itu:itu-standard/itu:bibdata/itu:title[@type = 'main' and @language = 'en']"/>
315
+ </fo:block>
316
+ </fo:block-container>
317
+ <!-- Summary, History ... -->
318
+ <xsl:apply-templates select="/itu:itu-standard/itu:preface/node()"/>
319
+
320
+ <!-- Keywords -->
321
+ <xsl:if test="/itu:itu-standard/itu:bibdata/itu:keyword">
322
+ <fo:block font-size="12pt">
323
+ <xsl:value-of select="$linebreak"/>
324
+ <xsl:value-of select="$linebreak"/>
325
+ </fo:block>
326
+ <fo:block font-weight="bold" margin-top="18pt" margin-bottom="18pt">
327
+ <xsl:variable name="title-keywords">
328
+ <xsl:call-template name="getTitle">
329
+ <xsl:with-param name="name" select="'title-keywords'"/>
330
+ </xsl:call-template>
331
+ </xsl:variable>
332
+ <xsl:value-of select="$title-keywords"/>
333
+ </fo:block>
334
+ <fo:block>
335
+ <xsl:call-template name="insertKeywords"/>
336
+ </fo:block>
337
+ </xsl:if>
338
+
339
+ <fo:block break-after="page"/>
340
+
341
+ <!-- FOREWORD -->
342
+ <fo:block font-size="11pt" text-align="justify">
343
+ <xsl:apply-templates select="/itu:itu-standard/itu:boilerplate/itu:legal-statement"/>
344
+ <xsl:apply-templates select="/itu:itu-standard/itu:boilerplate/itu:license-statement"/>
345
+ <xsl:apply-templates select="/itu:itu-standard/itu:boilerplate/itu:copyright-statement"/>
346
+ </fo:block>
347
+
348
+ <xsl:if test="$debug = 'true'">
349
+ <xsl:text disable-output-escaping="yes">&lt;!--</xsl:text>
350
+ DEBUG
351
+ contents=<xsl:copy-of select="xalan:nodeset($contents)"/>
352
+ <xsl:text disable-output-escaping="yes">--&gt;</xsl:text>
353
+ </xsl:if>
354
+
355
+ <xsl:if test="xalan:nodeset($contents)//item">
356
+ <fo:block break-after="page"/>
357
+ <fo:block-container>
358
+ <xsl:variable name="title-toc">
359
+ <xsl:call-template name="getTitle">
360
+ <xsl:with-param name="name" select="'title-toc'"/>
361
+ </xsl:call-template>
362
+ </xsl:variable>
363
+ <xsl:variable name="title-page">
364
+ <xsl:call-template name="getTitle">
365
+ <xsl:with-param name="name" select="'title-page'"/>
366
+ </xsl:call-template>
367
+ </xsl:variable>
368
+ <fo:block margin-top="6pt" text-align="center" font-weight="bold"><xsl:value-of select="$title-toc"/></fo:block>
369
+ <fo:block margin-top="6pt" text-align="right" font-weight="bold"><xsl:value-of select="$title-page"/></fo:block>
370
+
371
+ <xsl:for-each select="xalan:nodeset($contents)//item">
372
+ <fo:block>
373
+ <xsl:if test="@level = 1">
374
+ <xsl:attribute name="margin-top">6pt</xsl:attribute>
375
+ </xsl:if>
376
+ <xsl:if test="@level = 2">
377
+ <xsl:attribute name="margin-top">4pt</xsl:attribute>
378
+ <!-- <xsl:attribute name="margin-left">12mm</xsl:attribute> -->
379
+ </xsl:if>
380
+ <fo:list-block provisional-label-separation="3mm">
381
+ <xsl:attribute name="provisional-distance-between-starts">
382
+ <xsl:choose>
383
+ <xsl:when test="@section != ''">
384
+ <xsl:if test="@level = 1">
385
+ <xsl:choose>
386
+ <xsl:when test="string-length(@section) &gt; 10">27mm</xsl:when>
387
+ <xsl:when test="string-length(@section) &gt; 5">22mm</xsl:when>
388
+ <!-- <xsl:when test="@type = 'annex'">20mm</xsl:when> -->
389
+ <xsl:otherwise>12mm</xsl:otherwise>
390
+ </xsl:choose>
391
+ </xsl:if>
392
+ <xsl:if test="@level = 2">26mm</xsl:if>
393
+ </xsl:when> <!-- -->
394
+ <xsl:otherwise>0mm</xsl:otherwise>
395
+ </xsl:choose>
396
+ </xsl:attribute>
397
+ <fo:list-item>
398
+ <fo:list-item-label end-indent="label-end()">
399
+ <xsl:if test="@level =2">
400
+ <xsl:attribute name="start-indent">12mm</xsl:attribute>
401
+ </xsl:if>
402
+ <fo:block>
403
+ <xsl:if test="@section">
404
+ <xsl:value-of select="@section"/>
405
+ </xsl:if>
406
+ </fo:block>
407
+ </fo:list-item-label>
408
+ <fo:list-item-body start-indent="body-start()">
409
+ <fo:block text-align-last="justify">
410
+ <fo:basic-link internal-destination="{@id}" fox:alt-text="text()">
411
+ <xsl:apply-templates/>
412
+ <fo:inline keep-together.within-line="always">
413
+ <fo:leader leader-pattern="dots"/>
414
+ <fo:page-number-citation ref-id="{@id}"/>
415
+ </fo:inline>
416
+ </fo:basic-link>
417
+ </fo:block>
418
+ </fo:list-item-body>
419
+ </fo:list-item>
420
+ </fo:list-block>
421
+ </fo:block>
422
+ </xsl:for-each>
423
+ </fo:block-container>
424
+ </xsl:if>
425
+
426
+ </fo:flow>
427
+ </fo:page-sequence>
428
+
429
+ <!-- BODY -->
430
+ <fo:page-sequence master-reference="document" initial-page-number="1" force-page-count="no-force">
431
+
432
+ <fo:static-content flow-name="xsl-footnote-separator">
433
+ <fo:block>
434
+ <fo:leader leader-pattern="rule" leader-length="30%"/>
435
+ </fo:block>
436
+ </fo:static-content>
437
+ <xsl:call-template name="insertHeaderFooter"/>
438
+
439
+ <fo:flow flow-name="xsl-region-body">
440
+
441
+ <fo:block-container font-size="14pt" font-weight="bold">
442
+ <fo:block>
443
+ <xsl:value-of select="$doctype"/>
444
+ <xsl:text> </xsl:text>
445
+ <xsl:value-of select="$docname"/>
446
+ </fo:block>
447
+ <fo:block text-align="center" margin-top="15pt" margin-bottom="15pt">
448
+ <xsl:value-of select="/itu:itu-standard/itu:bibdata/itu:title[@type = 'main' and @language = 'en']"/>
449
+ </fo:block>
450
+ </fo:block-container>
451
+
452
+
453
+ <!-- Clause(s) -->
454
+ <fo:block>
455
+ <!-- Scope -->
456
+ <xsl:apply-templates select="/itu:itu-standard/itu:sections/itu:clause[1]"/> <!-- @id = 'scope' -->
457
+
458
+ <!-- Normative references -->
459
+ <xsl:apply-templates select="/itu:itu-standard/itu:bibliography/itu:references[1]"/> <!-- @id = 'references' -->
460
+
461
+ <xsl:apply-templates select="/itu:itu-standard/itu:sections/*[position() != 1]"/> <!-- @id != 'scope' -->
462
+
463
+ <xsl:apply-templates select="/itu:itu-standard/itu:annex"/>
464
+
465
+ <!-- Bibliography -->
466
+ <xsl:apply-templates select="/itu:itu-standard/itu:bibliography/itu:references[position() != 1]"/> <!-- @id = 'bibliography' -->
467
+ </fo:block>
468
+
469
+ </fo:flow>
470
+ </fo:page-sequence>
471
+
472
+
473
+ </fo:root>
474
+ </xsl:template>
475
+
476
+ <xsl:template match="node()">
477
+ <xsl:apply-templates/>
478
+ </xsl:template>
479
+
480
+ <!-- ============================= -->
481
+ <!-- CONTENTS -->
482
+ <!-- ============================= -->
483
+ <xsl:template match="node()" mode="contents">
484
+ <xsl:apply-templates mode="contents"/>
485
+ </xsl:template>
486
+
487
+ <!-- element with title -->
488
+ <xsl:template match="*[itu:title]" mode="contents">
489
+ <xsl:variable name="level">
490
+ <xsl:call-template name="getLevel">
491
+ <xsl:with-param name="depth" select="itu:title/@depth"/>
492
+ </xsl:call-template>
493
+ </xsl:variable>
494
+
495
+ <xsl:variable name="section">
496
+ <xsl:call-template name="getSection"/>
497
+ </xsl:variable>
498
+
499
+ <xsl:variable name="type">
500
+ <xsl:value-of select="local-name()"/>
501
+ </xsl:variable>
502
+
503
+ <xsl:variable name="display">
504
+ <xsl:choose>
505
+ <xsl:when test="ancestor-or-self::itu:bibitem">false</xsl:when>
506
+ <xsl:when test="ancestor-or-self::itu:term">false</xsl:when>
507
+ <xsl:when test="$level &gt;= 3">false</xsl:when>
508
+ <xsl:when test="$section = '' and $type = 'clause' and $level &gt;= 2">false</xsl:when>
509
+ <xsl:otherwise>true</xsl:otherwise>
510
+ </xsl:choose>
511
+ </xsl:variable>
512
+
513
+ <xsl:if test="$display = 'true'">
514
+
515
+ <xsl:variable name="title">
516
+ <xsl:call-template name="getName"/>
517
+ </xsl:variable>
518
+
519
+ <item level="{$level}" section="{$section}" type="{$type}">
520
+ <xsl:call-template name="setId"/>
521
+ <xsl:apply-templates select="xalan:nodeset($title)" mode="contents_item"/>
522
+ </item>
523
+ <xsl:apply-templates mode="contents"/>
524
+ </xsl:if>
525
+
526
+ </xsl:template>
527
+
528
+ <xsl:template match="itu:strong" mode="contents_item" priority="2">
529
+ <xsl:apply-templates mode="contents_item"/>
530
+ </xsl:template>
531
+
532
+ <xsl:template match="itu:br" mode="contents_item" priority="2">
533
+ <fo:inline> </fo:inline>
534
+ </xsl:template>
535
+
536
+
537
+
538
+ <xsl:template match="itu:bibitem" mode="contents"/>
539
+
540
+ <xsl:template match="itu:references" mode="contents">
541
+ <xsl:apply-templates mode="contents"/>
542
+ </xsl:template>
543
+
544
+
545
+
546
+ <xsl:template name="getListItemFormat">
547
+ <xsl:variable name="level">
548
+ <xsl:variable name="numtmp">
549
+ <xsl:number level="multiple" count="itu:ol"/>
550
+ </xsl:variable>
551
+ <!-- level example: 1.1
552
+ calculate counts of '.' in numtmp value - level of nested lists
553
+ -->
554
+ <xsl:value-of select="string-length($numtmp) - string-length(translate($numtmp, '.', '')) + 1"/>
555
+ </xsl:variable>
556
+ <xsl:choose>
557
+ <xsl:when test="local-name(..) = 'ul' and itu:ul and local-name(../../..) != 'ul'">•</xsl:when> <!-- dash &#x2014; -->
558
+ <xsl:when test="local-name(..) = 'ul'">–</xsl:when> <!-- dash &#x2014; -->
559
+ <xsl:otherwise>
560
+ <!-- for Ordered Lists -->
561
+ <xsl:choose>
562
+ <xsl:when test="../@type = 'arabic'">
563
+ <xsl:number format="a)"/>
564
+ </xsl:when>
565
+ <xsl:when test="../@class = 'steps'">
566
+ <xsl:number format="1)"/>
567
+ </xsl:when>
568
+ <xsl:when test="$level = 1">
569
+ <xsl:number format="a)"/>
570
+ </xsl:when>
571
+ <xsl:when test="$level = 2">
572
+ <xsl:number format="i)"/>
573
+ </xsl:when>
574
+ <xsl:otherwise>
575
+ <!-- <xsl:number format="1.)"/> -->
576
+ <!-- https://github.com/metanorma/mn-native-pdf/issues/156 -->
577
+ <xsl:number format="1)"/>
578
+ </xsl:otherwise>
579
+ </xsl:choose>
580
+ </xsl:otherwise>
581
+ </xsl:choose>
582
+ </xsl:template>
583
+
584
+
585
+ <!-- ============================= -->
586
+ <!-- ============================= -->
587
+
588
+
589
+ <!-- ============================= -->
590
+ <!-- PREFACE (Summary, History, ...) -->
591
+ <!-- ============================= -->
592
+
593
+ <!-- Summary -->
594
+ <xsl:template match="itu:itu-standard/itu:preface/itu:abstract[@id = '_summary']" priority="3">
595
+ <fo:block font-size="12pt">
596
+ <xsl:value-of select="$linebreak"/>
597
+ <xsl:value-of select="$linebreak"/>
598
+ </fo:block>
599
+ <fo:block font-weight="bold" margin-top="18pt" margin-bottom="18pt">
600
+ <xsl:variable name="title-summary">
601
+ <xsl:call-template name="getTitle">
602
+ <xsl:with-param name="name" select="'title-summary'"/>
603
+ </xsl:call-template>
604
+ </xsl:variable>
605
+ <xsl:value-of select="$title-summary"/>
606
+ </fo:block>
607
+ <xsl:apply-templates/>
608
+ </xsl:template>
609
+
610
+ <xsl:template match="itu:preface/itu:clause" priority="3">
611
+ <fo:block font-size="12pt">
612
+ <xsl:value-of select="$linebreak"/>
613
+ <xsl:value-of select="$linebreak"/>
614
+ </fo:block>
615
+ <xsl:apply-templates/>
616
+ </xsl:template>
617
+
618
+ <xsl:template match="itu:preface//itu:title" priority="3">
619
+ <fo:block font-weight="bold" margin-top="18pt" margin-bottom="18pt">
620
+ <xsl:apply-templates/>
621
+ </fo:block>
622
+ </xsl:template>
623
+ <!-- ============================= -->
624
+ <!-- ============================= -->
625
+
626
+
627
+ <!-- ============================= -->
628
+ <!-- PARAGRAPHS -->
629
+ <!-- ============================= -->
630
+ <xsl:template match="itu:p | itu:sections/itu:p">
631
+ <fo:block margin-top="6pt">
632
+ <xsl:attribute name="text-align">
633
+ <xsl:choose>
634
+ <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
635
+ <xsl:when test="ancestor::*[1][local-name() = 'td']/@align">
636
+ <xsl:value-of select="ancestor::*[1][local-name() = 'td']/@align"/>
637
+ </xsl:when>
638
+ <xsl:when test="ancestor::*[1][local-name() = 'th']/@align">
639
+ <xsl:value-of select="ancestor::*[1][local-name() = 'th']/@align"/>
640
+ </xsl:when>
641
+ <xsl:otherwise>justify</xsl:otherwise>
642
+ </xsl:choose>
643
+ </xsl:attribute>
644
+ <xsl:apply-templates/>
645
+ </fo:block>
646
+ </xsl:template>
647
+
648
+ <!-- <xsl:template match="itu:note">
649
+ <fo:block id="{@id}">
650
+ <xsl:apply-templates />
651
+ </fo:block>
652
+ </xsl:template>
653
+
654
+ <xsl:template match="itu:note/itu:p" name="note">
655
+ <fo:block font-size="11pt" space-before="4pt" text-align="justify">
656
+ <xsl:if test="ancestor::itu:figure">
657
+ <xsl:attribute name="keep-with-previous">always</xsl:attribute>
658
+ </xsl:if>
659
+ <xsl:apply-templates select="../itu:name" mode="presentation"/>
660
+ <xsl:apply-templates />
661
+ </fo:block>
662
+ </xsl:template> -->
663
+
664
+
665
+ <!-- ============================= -->
666
+ <!-- ============================= -->
667
+
668
+
669
+ <!-- ============================= -->
670
+ <!-- Bibliography -->
671
+ <!-- ============================= -->
672
+
673
+ <!-- Example: [ITU-T A.23] ITU-T A.23, Recommendation ITU-T A.23, Annex A (2014), Guide for ITU-T and ISO/IEC JTC 1 cooperation. -->
674
+ <xsl:template match="itu:bibitem">
675
+ <fo:block id="{@id}" margin-top="6pt" margin-left="14mm" text-indent="-14mm">
676
+
677
+ <xsl:choose>
678
+ <xsl:when test="itu:docidentifier[@type = 'metanorma']">
679
+ <xsl:value-of select="itu:docidentifier[@type = 'metanorma']"/>
680
+ <xsl:text> </xsl:text>
681
+ <xsl:if test="itu:docidentifier[not(@type) or not(@type = 'metanorma')]">
682
+ <xsl:value-of select="itu:docidentifier[not(@type) or not(@type = 'metanorma')]"/>
683
+ <xsl:text>, </xsl:text>
684
+ </xsl:if>
685
+ </xsl:when>
686
+ <xsl:otherwise>
687
+ <fo:inline padding-right="5mm">
688
+ <xsl:text>[</xsl:text>
689
+ <xsl:value-of select="itu:docidentifier"/>
690
+ <xsl:text>] </xsl:text>
691
+ </fo:inline>
692
+ <xsl:value-of select="itu:docidentifier"/>
693
+ <xsl:if test="itu:title">
694
+ <xsl:text>, </xsl:text>
695
+ </xsl:if>
696
+ </xsl:otherwise>
697
+ </xsl:choose>
698
+
699
+ <xsl:if test="itu:title">
700
+ <fo:inline font-style="italic">
701
+ <xsl:choose>
702
+ <xsl:when test="itu:title[@type = 'main' and @language = 'en']">
703
+ <xsl:value-of select="itu:title[@type = 'main' and @language = 'en']"/>
704
+ </xsl:when>
705
+ <xsl:otherwise>
706
+ <xsl:value-of select="itu:title"/>
707
+ </xsl:otherwise>
708
+ </xsl:choose>
709
+ </fo:inline>
710
+ </xsl:if>
711
+ <xsl:if test="itu:formattedref and not(itu:docidentifier[@type = 'metanorma'])">, </xsl:if>
712
+ <xsl:apply-templates select="itu:formattedref"/>
713
+ </fo:block>
714
+ </xsl:template>
715
+ <xsl:template match="itu:bibitem/itu:docidentifier"/>
716
+
717
+ <xsl:template match="itu:bibitem/itu:title"/>
718
+
719
+ <xsl:template match="itu:formattedref">
720
+ <xsl:apply-templates/>
721
+ </xsl:template>
722
+
723
+
724
+ <!-- ============================= -->
725
+ <!-- ============================= -->
726
+
727
+
728
+
729
+ <xsl:template match="itu:clause[@id='draft-warning']/itu:title" mode="caution">
730
+ <fo:block font-size="16pt" font-family="Times New Roman" font-style="italic" font-weight="bold" text-align="center">
731
+ <xsl:apply-templates/>
732
+ </fo:block>
733
+ </xsl:template>
734
+
735
+ <xsl:template match="itu:clause[@id='draft-warning']/itu:p" mode="caution">
736
+ <fo:block font-size="12pt" font-family="Times New Roman" text-align="justify">
737
+ <xsl:apply-templates/>
738
+ </fo:block>
739
+ </xsl:template>
740
+
741
+ <!-- ====== -->
742
+ <!-- title -->
743
+ <!-- ====== -->
744
+ <xsl:template match="itu:annex/itu:title">
745
+ <fo:block font-size="14pt" font-weight="bold" text-align="center" margin-bottom="18pt">
746
+ <fo:block><xsl:apply-templates/></fo:block>
747
+ <fo:block font-size="12pt" font-weight="normal" margin-top="6pt">
748
+ <xsl:choose>
749
+ <xsl:when test="parent::*[@obligation = 'informative']">
750
+ <xsl:text>(This appendix does not form an integral part of this Recommendation.)</xsl:text>
751
+ </xsl:when>
752
+ <xsl:otherwise>
753
+ <xsl:text>(This annex forms an integral part of this Recommendation.)</xsl:text>
754
+ </xsl:otherwise>
755
+ </xsl:choose>
756
+ </fo:block>
757
+ </fo:block>
758
+ </xsl:template>
759
+
760
+ <!-- Bibliography -->
761
+ <xsl:template match="itu:references[position() &gt; 1]/itu:title">
762
+ <fo:block font-size="14pt" font-weight="bold" text-align="center" margin-bottom="18pt">
763
+ <xsl:apply-templates/>
764
+ </fo:block>
765
+ </xsl:template>
766
+
767
+ <xsl:template match="itu:title">
768
+
769
+ <xsl:variable name="level">
770
+ <xsl:call-template name="getLevel"/>
771
+ </xsl:variable>
772
+
773
+ <xsl:variable name="font-size">
774
+ <xsl:choose>
775
+ <xsl:when test="$level = 2">12pt</xsl:when>
776
+ <xsl:when test="$level &gt;= 3">12pt</xsl:when>
777
+ <xsl:otherwise>12pt</xsl:otherwise>
778
+ </xsl:choose>
779
+ </xsl:variable>
780
+
781
+ <xsl:variable name="space-before">
782
+ <xsl:choose>
783
+ <xsl:when test="$level = '' or $level = 1">18pt</xsl:when>
784
+ <xsl:when test="$level = 2">12pt</xsl:when>
785
+ <xsl:otherwise>6pt</xsl:otherwise>
786
+ </xsl:choose>
787
+ </xsl:variable>
788
+
789
+ <xsl:variable name="space-after">
790
+ <xsl:choose>
791
+ <xsl:when test="$level = 2">6pt</xsl:when>
792
+ <xsl:otherwise>6pt</xsl:otherwise>
793
+ </xsl:choose>
794
+ </xsl:variable>
795
+
796
+ <fo:block font-size="{$font-size}" font-weight="bold" space-before="{$space-before}" space-after="{$space-after}" keep-with-next="always">
797
+ <xsl:apply-templates/>
798
+ </fo:block>
799
+
800
+ </xsl:template>
801
+
802
+
803
+ <xsl:template match="itu:legal-statement//itu:title | itu:license-statement//itu:title">
804
+ <fo:block text-align="center" margin-top="6pt">
805
+ <xsl:apply-templates/>
806
+ </fo:block>
807
+ </xsl:template>
808
+
809
+ <!-- ====== -->
810
+ <!-- ====== -->
811
+
812
+ <xsl:template match="itu:legal-statement//itu:p | itu:license-statement//itu:p">
813
+ <fo:block margin-top="6pt">
814
+ <xsl:apply-templates/>
815
+ </fo:block>
816
+ <xsl:if test="not(following-sibling::itu:p)"> <!-- last para -->
817
+ <fo:block margin-top="6pt"> </fo:block>
818
+ <fo:block margin-top="6pt"> </fo:block>
819
+ <fo:block margin-top="6pt"> </fo:block>
820
+ </xsl:if>
821
+ </xsl:template>
822
+
823
+ <xsl:template match="itu:copyright-statement//itu:p">
824
+ <fo:block>
825
+ <xsl:if test="not(preceding-sibling::itu:p)"> <!-- first para -->
826
+ <xsl:attribute name="text-align">center</xsl:attribute>
827
+ <xsl:attribute name="margin-top">6pt</xsl:attribute>
828
+ <xsl:attribute name="margin-bottom">14pt</xsl:attribute>
829
+ <xsl:attribute name="keep-with-next">always</xsl:attribute>
830
+ </xsl:if>
831
+ <xsl:apply-templates/>
832
+ </fo:block>
833
+ </xsl:template>
834
+
835
+
836
+ <xsl:template match="itu:preferred">
837
+ <!-- DEBUG need -->
838
+ <fo:block space-before="6pt" text-align="justify">
839
+ <fo:inline padding-right="5mm" font-weight="bold">
840
+ <xsl:variable name="level">
841
+ <xsl:call-template name="getLevel"/>
842
+ </xsl:variable>
843
+ <!-- level=<xsl:value-of select="$level"/> -->
844
+ <xsl:attribute name="padding-right">
845
+ <xsl:choose>
846
+ <xsl:when test="$level = 4">2mm</xsl:when>
847
+ <xsl:when test="$level = 3">4mm</xsl:when>
848
+ <xsl:otherwise>5mm</xsl:otherwise>
849
+ </xsl:choose>
850
+ </xsl:attribute>
851
+ <xsl:apply-templates select="ancestor::itu:term/itu:name" mode="presentation"/>
852
+ </fo:inline>
853
+ <fo:inline font-weight="bold">
854
+ <xsl:apply-templates/>
855
+ </fo:inline>
856
+ <xsl:if test="../itu:termsource/itu:origin">
857
+ <xsl:variable name="citeas" select="../itu:termsource/itu:origin/@citeas"/>
858
+ <xsl:choose>
859
+ <xsl:when test="contains($citeas, '[')">
860
+ <xsl:text> </xsl:text><xsl:value-of select="$citeas"/> <!-- disable-output-escaping="yes" -->
861
+ </xsl:when>
862
+ <xsl:otherwise>
863
+ <xsl:text> [</xsl:text><xsl:value-of select="$citeas"/><xsl:text>]</xsl:text>
864
+ </xsl:otherwise>
865
+ </xsl:choose>
866
+ </xsl:if>
867
+ <xsl:text>: </xsl:text>
868
+ <xsl:apply-templates select="following-sibling::itu:definition/node()" mode="process"/>
869
+ </fo:block>
870
+ <!-- <xsl:if test="following-sibling::itu:table">
871
+ <fo:block space-after="18pt">&#xA0;</fo:block>
872
+ </xsl:if> -->
873
+ </xsl:template>
874
+
875
+ <xsl:template match="itu:definition/itu:p" priority="2"/>
876
+ <xsl:template match="itu:definition/itu:formula" priority="2"/>
877
+
878
+ <xsl:template match="itu:definition/itu:p" mode="process" priority="2">
879
+ <xsl:choose>
880
+ <xsl:when test="position() = 1">
881
+ <fo:inline>
882
+ <xsl:apply-templates/>
883
+ </fo:inline>
884
+ </xsl:when>
885
+ <xsl:otherwise>
886
+ <fo:block margin-top="6pt" text-align="justify">
887
+ <xsl:apply-templates/>
888
+ </fo:block>
889
+ </xsl:otherwise>
890
+ </xsl:choose>
891
+ </xsl:template>
892
+
893
+ <xsl:variable name="p_fn">
894
+ <xsl:for-each select="//itu:p/itu:fn[generate-id(.)=generate-id(key('kfn',@reference)[1])]">
895
+ <!-- copy unique fn -->
896
+ <fn gen_id="{generate-id(.)}">
897
+ <xsl:copy-of select="@*"/>
898
+ <xsl:copy-of select="node()"/>
899
+ </fn>
900
+ </xsl:for-each>
901
+ </xsl:variable>
902
+
903
+ <xsl:template match="itu:p/itu:fn" priority="2">
904
+ <xsl:variable name="gen_id" select="generate-id(.)"/>
905
+ <xsl:variable name="reference" select="@reference"/>
906
+ <xsl:variable name="number">
907
+ <!-- <xsl:number level="any" count="itu:p/itu:fn"/> -->
908
+ <xsl:value-of select="count(xalan:nodeset($p_fn)//fn[@reference = $reference]/preceding-sibling::fn) + 1"/>
909
+ </xsl:variable>
910
+ <xsl:choose>
911
+ <xsl:when test="xalan:nodeset($p_fn)//fn[@gen_id = $gen_id]">
912
+ <fo:footnote>
913
+ <fo:inline font-size="60%" keep-with-previous.within-line="always" vertical-align="super">
914
+ <fo:basic-link internal-destination="footnote_{@reference}_{$number}" fox:alt-text="footnote {@reference} {$number}">
915
+ <!-- <xsl:value-of select="@reference"/> -->
916
+ <xsl:value-of select="$number + count(//itu:bibitem/itu:note)"/>
917
+ </fo:basic-link>
918
+ </fo:inline>
919
+ <fo:footnote-body>
920
+ <fo:block font-size="11pt" margin-bottom="12pt">
921
+ <fo:inline id="footnote_{@reference}_{$number}" font-size="85%" padding-right="2mm" keep-with-next.within-line="always" baseline-shift="30%">
922
+ <xsl:value-of select="$number + count(//itu:bibitem/itu:note)"/>
923
+ </fo:inline>
924
+ <xsl:for-each select="itu:p">
925
+ <xsl:apply-templates/>
926
+ </xsl:for-each>
927
+ </fo:block>
928
+ </fo:footnote-body>
929
+ </fo:footnote>
930
+ </xsl:when>
931
+ <xsl:otherwise>
932
+ <fo:inline font-size="60%" keep-with-previous.within-line="always" vertical-align="super">
933
+ <fo:basic-link internal-destination="footnote_{@reference}_{$number}" fox:alt-text="footnote {@reference} {$number}">
934
+ <xsl:value-of select="$number + count(//itu:bibitem/itu:note)"/>
935
+ </fo:basic-link>
936
+ </fo:inline>
937
+ </xsl:otherwise>
938
+ </xsl:choose>
939
+ </xsl:template>
940
+
941
+
942
+ <xsl:template match="*[local-name()='tt']" priority="2">
943
+ <xsl:variable name="element-name">
944
+ <xsl:choose>
945
+ <xsl:when test="ancestor::itu:dd">fo:inline</xsl:when>
946
+ <xsl:when test="normalize-space(ancestor::itu:p[1]//text()[not(parent::itu:tt)]) != ''">fo:inline</xsl:when>
947
+ <xsl:otherwise>fo:block</xsl:otherwise>
948
+ </xsl:choose>
949
+ </xsl:variable>
950
+ <xsl:element name="{$element-name}">
951
+ <xsl:attribute name="font-family">Courier</xsl:attribute>
952
+ <xsl:attribute name="font-size">10pt</xsl:attribute>
953
+ <xsl:if test="local-name(..) != 'dt' and not(ancestor::itu:dd)">
954
+ <xsl:attribute name="text-align">center</xsl:attribute>
955
+ </xsl:if>
956
+ <xsl:apply-templates/>
957
+ </xsl:element>
958
+ </xsl:template>
959
+
960
+
961
+
962
+ <!-- Examples:
963
+ [b-ASM] b-ASM, http://www.eecs.umich.edu/gasm/ (accessed 20 March 2018).
964
+ [b-Börger & Stärk] b-Börger & Stärk, Börger, E., and Stärk, R. S. (2003), Abstract State Machines: A Method for High-Level System Design and Analysis, Springer-Verlag.
965
+ -->
966
+ <xsl:template match="itu:annex//itu:bibitem">
967
+ <fo:block margin-top="6pt" margin-left="10mm" text-indent="-10mm">
968
+ <fo:inline id="{@id}" padding-right="5mm">[<xsl:value-of select="itu:docidentifier"/>]</fo:inline>
969
+ <xsl:text> </xsl:text>
970
+ <xsl:apply-templates select="itu:docidentifier" mode="content"/>
971
+ <xsl:if test="node()[local-name(.) != current()/itu:docidentifier]">, </xsl:if>
972
+ <xsl:apply-templates/>
973
+ </fo:block>
974
+ </xsl:template>
975
+
976
+ <xsl:template match="itu:docidentifier" mode="content">
977
+ <xsl:apply-templates/>
978
+ </xsl:template>
979
+ <xsl:template match="itu:docidentifier"/>
980
+
981
+
982
+ <xsl:template match="itu:ul | itu:ol | itu:sections/itu:ul | itu:sections/itu:ol">
983
+ <xsl:if test="preceding-sibling::*[1][local-name() = 'title']">
984
+ <fo:block padding-top="-8pt" font-size="1pt"> </fo:block>
985
+ </xsl:if>
986
+ <fo:list-block>
987
+ <xsl:apply-templates/>
988
+ </fo:list-block>
989
+ <xsl:apply-templates select="./itu:note" mode="process"/>
990
+ </xsl:template>
991
+
992
+ <xsl:template match="itu:ul//itu:note | itu:ol//itu:note" priority="2"/>
993
+ <xsl:template match="itu:ul//itu:note | itu:ol//itu:note" mode="process">
994
+ <fo:block id="{@id}">
995
+ <xsl:apply-templates select="../itu:name" mode="presentation"/>
996
+ <xsl:apply-templates mode="process"/>
997
+ </fo:block>
998
+ </xsl:template>
999
+ <xsl:template match="itu:ul//itu:note/itu:name | itu:ol//itu:note/itu:name" mode="process"/>
1000
+ <xsl:template match="itu:ul//itu:note/itu:p | itu:ol//itu:note/itu:p" mode="process">
1001
+ <fo:block font-size="11pt" margin-top="4pt">
1002
+ <xsl:apply-templates/>
1003
+ </fo:block>
1004
+ </xsl:template>
1005
+
1006
+ <xsl:template match="itu:li">
1007
+ <fo:list-item id="{@id}">
1008
+ <fo:list-item-label end-indent="label-end()">
1009
+ <fo:block>
1010
+ <xsl:call-template name="getListItemFormat"/>
1011
+ </fo:block>
1012
+ </fo:list-item-label>
1013
+ <fo:list-item-body start-indent="body-start()">
1014
+ <fo:block-container>
1015
+ <xsl:if test="../preceding-sibling::*[1][local-name() = 'title']">
1016
+ <xsl:attribute name="margin-left">18mm</xsl:attribute>
1017
+ </xsl:if>
1018
+ <xsl:if test="local-name(..) = 'ul'">
1019
+ <xsl:attribute name="margin-left">7mm</xsl:attribute><!-- 15mm -->
1020
+ <xsl:if test="ancestor::itu:table">
1021
+ <xsl:attribute name="margin-left">4.5mm</xsl:attribute>
1022
+ </xsl:if>
1023
+ <!-- <xsl:if test="count(ancestor::itu:ol) + count(ancestor::itu:ul) &gt; 1">
1024
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
1025
+ </xsl:if> -->
1026
+ </xsl:if>
1027
+ <fo:block-container margin-left="0mm">
1028
+ <fo:block>
1029
+ <xsl:apply-templates/>
1030
+ <xsl:apply-templates select=".//itu:note" mode="process"/>
1031
+ </fo:block>
1032
+ </fo:block-container>
1033
+ </fo:block-container>
1034
+ </fo:list-item-body>
1035
+ </fo:list-item>
1036
+ </xsl:template>
1037
+
1038
+ <xsl:template match="itu:li//itu:p[not(parent::itu:dd)]">
1039
+ <fo:block margin-bottom="0pt"> <!-- margin-bottom="6pt" -->
1040
+ <!-- <xsl:if test="local-name(ancestor::itu:li[1]/..) = 'ul'">
1041
+ <xsl:attribute name="margin-bottom">0pt</xsl:attribute>
1042
+ </xsl:if> -->
1043
+ <xsl:apply-templates/>
1044
+ </fo:block>
1045
+ </xsl:template>
1046
+
1047
+ <xsl:template match="itu:link" priority="2">
1048
+ <fo:inline color="blue">
1049
+ <xsl:if test="local-name(..) = 'formattedref' or ancestor::itu:preface">
1050
+ <xsl:attribute name="text-decoration">underline</xsl:attribute>
1051
+ <!-- <xsl:attribute name="font-family">Arial</xsl:attribute>
1052
+ <xsl:attribute name="font-size">8pt</xsl:attribute> -->
1053
+ </xsl:if>
1054
+ <xsl:call-template name="link"/>
1055
+ </fo:inline>
1056
+ </xsl:template>
1057
+
1058
+
1059
+ <!--
1060
+ <xsl:template match="itu:annex/itu:clause">
1061
+ <xsl:apply-templates />
1062
+ </xsl:template> -->
1063
+
1064
+ <!-- Clause without title -->
1065
+ <!-- <xsl:template match="itu:clause[not(itu:title)]">
1066
+
1067
+ <xsl:variable name="section">
1068
+ <xsl:for-each select="*[1]">
1069
+ <xsl:call-template name="getSection">
1070
+ <xsl:with-param name="sectionNum" select="$sectionNum"/>
1071
+ </xsl:call-template>
1072
+ </xsl:for-each>
1073
+ </xsl:variable>
1074
+ <fo:block space-before="12pt" space-after="18pt" font-weight="bold">
1075
+ <fo:inline id="{@id}"><xsl:value-of select="$section"/></fo:inline>
1076
+ </fo:block>
1077
+ <xsl:apply-templates />
1078
+ </xsl:template> -->
1079
+
1080
+
1081
+ <xsl:template match="itu:formula/itu:stem">
1082
+ <fo:table table-layout="fixed" width="100%">
1083
+ <fo:table-column column-width="95%"/>
1084
+ <fo:table-column column-width="5%"/>
1085
+ <fo:table-body>
1086
+ <fo:table-row>
1087
+ <fo:table-cell display-align="center">
1088
+ <fo:block text-align="center" margin-left="0mm">
1089
+ <xsl:apply-templates/>
1090
+ </fo:block>
1091
+ </fo:table-cell>
1092
+ <fo:table-cell display-align="center">
1093
+ <fo:block text-align="right" margin-left="0mm">
1094
+ <xsl:apply-templates select="../itu:name" mode="presentation"/>
1095
+ </fo:block>
1096
+ </fo:table-cell>
1097
+ </fo:table-row>
1098
+ </fo:table-body>
1099
+ </fo:table>
1100
+ </xsl:template>
1101
+
1102
+
1103
+ <xsl:template match="itu:formula" mode="process">
1104
+ <xsl:call-template name="formula"/>
1105
+ </xsl:template>
1106
+
1107
+ <xsl:template match="mathml:math" priority="2">
1108
+ <fo:inline font-family="STIX2Math" font-size="11pt">
1109
+ <fo:instream-foreign-object fox:alt-text="Math">
1110
+ <xsl:copy-of select="."/>
1111
+ </fo:instream-foreign-object>
1112
+ </fo:inline>
1113
+ </xsl:template>
1114
+
1115
+
1116
+ <xsl:template match="itu:references[1]">
1117
+ <fo:block id="{@id}">
1118
+ <xsl:apply-templates/>
1119
+ </fo:block>
1120
+ </xsl:template>
1121
+
1122
+ <xsl:template match="itu:references[position() &gt; 1]">
1123
+ <fo:block break-after="page"/>
1124
+ <fo:block id="{@id}">
1125
+ <xsl:apply-templates/>
1126
+ </fo:block>
1127
+ </xsl:template>
1128
+
1129
+
1130
+
1131
+ <xsl:template name="insertHeaderFooter">
1132
+ <fo:static-content flow-name="footer-even" font-family="Times New Roman" font-size="11pt">
1133
+ <fo:block-container height="19mm" display-align="after">
1134
+ <fo:table table-layout="fixed" width="100%" display-align="after">
1135
+ <fo:table-column column-width="10%"/>
1136
+ <fo:table-column column-width="90%"/>
1137
+ <fo:table-body>
1138
+ <fo:table-row>
1139
+ <fo:table-cell text-align="left" padding-bottom="8mm">
1140
+ <fo:block><fo:page-number/></fo:block>
1141
+ </fo:table-cell>
1142
+ <fo:table-cell font-weight="bold" text-align="left" padding-bottom="8mm">
1143
+ <fo:block>
1144
+ <xsl:value-of select="concat($footerprefix, $docname, ' ', $docdate)"/>
1145
+ </fo:block>
1146
+ </fo:table-cell>
1147
+ </fo:table-row>
1148
+ </fo:table-body>
1149
+ </fo:table>
1150
+ </fo:block-container>
1151
+ </fo:static-content>
1152
+ <fo:static-content flow-name="footer-odd" font-family="Times New Roman" font-size="11pt">
1153
+ <fo:block-container height="19mm" display-align="after">
1154
+ <fo:table table-layout="fixed" width="100%" display-align="after">
1155
+ <fo:table-column column-width="90%"/>
1156
+ <fo:table-column column-width="10%"/>
1157
+ <fo:table-body>
1158
+ <fo:table-row>
1159
+ <fo:table-cell font-weight="bold" text-align="right" padding-bottom="8mm">
1160
+ <fo:block>
1161
+ <xsl:value-of select="concat($footerprefix, $docname, ' ', $docdate)"/>
1162
+ </fo:block>
1163
+ </fo:table-cell>
1164
+ <fo:table-cell text-align="right" padding-bottom="8mm" padding-right="2mm">
1165
+ <fo:block><fo:page-number/></fo:block>
1166
+ </fo:table-cell>
1167
+ </fo:table-row>
1168
+ </fo:table-body>
1169
+ </fo:table>
1170
+ </fo:block-container>
1171
+ </fo:static-content>
1172
+ </xsl:template>
1173
+
1174
+
1175
+ <xsl:variable name="Image-Fond-Rec">
1176
+ <xsl:text>iVBORw0KGgoAAAANSUhEUgAAAHoAAANLCAMAAAC5SXlDAAADAFBMVEX2kYX1zcLNeITqUw/+7NnhcnP3yr3/jD72iYD+xZnWY2vwhH7z0MbSW2bCSVzmgX3so5n3vrG5RFy5SGD5wr7+9evUbXH5h0TzmYz+z6uuLErblZj/ZQD+n1vDUmP3xLiyMU3+qGv4wbTsaze1OlT+eRryraD+lkzDWmvpubPyoZL+vIu9PVT2jILcgoLNVGL1pHfoi4PcfHv2j4TynI7/sn/cChv0lYnyv7Xim5rps67ztqjyqJrmZmv+4svqlIr/2L/hlJL2iH/2uazyrJ3UdXrynpDypJXVjZPzsKHLZHDrnZPmfHrUhIz//vztwrn+bAnacXPz1MrHS1znoZ7uqqLeior02c/YFyf53drKYW3CRVn//PzjkY72vK6pIkTjiYT+giz0l4r1uKrrfnrkravyppj0183LUF/4cx/LWWXhjouzNVHNaXSzLkupH0LxsabuekzrkIfKXWnzuZ/fo6PCQlfkmJX+2bWuJkb0taapIEP3x7vMc3/ylne4NlDObXj+n1jYhIj00MSkGD/HZXTcZmvkTFLxiIDVaG7+bwzcam7rmY7qpaD2kobmeHbUcHbWen/yopPrenf+7uPzsqLWiY7+snbgbnD++PPnqaXzlYnzmIzz08fqhX/+1LTGanrzs6XuycD+3cP+17zyqpvjhYDCVWjonpn+dBXwimX+/Pr+9u/1h3/ATmH+aATz1szyuK/0po3adnjBXm/1lIndf379/fytKUjsgmv0zsLeh4b1longLTe3PVb+0av0s6Tz1cr53NDpXR+pI0X++/f2k4fzm4ziO0T0mIv//f3mc3P0rJv3zcv408TWf4XfJS/feXjGV2b0ppL2rZuuLk32zMDGaHfuglrwi4O6QFjwk5fgp6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wYo7AdNOpT6a4JR2HSg3ZakAcg368qo/H9lWc/6NFehlQAAAABJRU5ErkJggg==</xsl:text>
1177
+ </xsl:variable>
1178
+
1179
+ <xsl:variable name="Image-Logo">
1180
+ <xsl:text>iVBORw0KGgoAAAANSUhEUgAAAKEAAABDCAMAAADDA5UNAAADAFBMVEX////0oLP50NnqUHPwgJnkIE3nMFnhADP4wM398PPucI3d4u7CyuGHlcS/yN/T2OnoP2b1r7/e5+2Vo8uLnMVpe7WsudXW3ere5+7c5uvb5uvZ5OrL1+Oks9FKY6ZWa6zi5fHhDz/9/v6jr9I6U589V6C6xtzi6u/h6e7c5+zY4+nV4ejS3+efsc9yjbhec7ClsNPx8/hRZ6ksRpjk6/Dm7fK/zt6mt9JxhLl7k71JYqbA0N/J2eKarMxierH74ObDWINrgLYzTpt4iL16jb20vdpTbKqBlsC8zduftM1abq7sYICMW5FCW6LY4+rp7/Pq8PTs8fXo7vO6zN2MoMXS3+aZss1IYaTC1d5keLMdOJDZCDpdY6Pu8vbs8va1xNladK1uhLjK2ePI2OFRaqmyydclQZTYgpvSIU/v8/bx9Pevv9Xa5ezW4+pMZqbL2uRnf7RWb6ze6O7UFETjWXry9vj09/gOK4nD1d+1ythEX6O90N26z9vW4ujSucfqk6nt8vX2+fr4+vvF0eHT4OfO3ea2zNnDy+Lmq7z7/PzQ3uaFmcJedq+/0tywxdevyNXl3eXvx9P9/v39/f6Yp8xKYKfG1+GOp8arxtTyytT8/f1gdrHM2+XE1uCpxdOauMy6R3Oux9Wjv9F6mL3bydTdPGThZYXidZLWaou4PGnB1N5bf6+nwdOeu85QbqlmirXa5eqZe6m5ztqLrcbmt8bU4Oiduc2XtspNbKe4y9qUq8m70dynw9GAn8CWtcrb2N+lwdE/YKGOsMdMaabhLFZih7O+0uC3zdyxyNj///+SsshkfbJUd6yevNDU4ukqR5ehvc9wlrrQTHDJytZVeKx+psHZJ1K1vc3Eqrymjang5PCWtszv8fdpjrZNcKh+kMBGaKWGqsR3nr3GV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kLePgBALTx8BYWA362Dd3roT6lIWkN0ps7aaPtd/ghHSlW5z1EOSjnGgXsaLMMUaP0YMTTaV98/oAJ5SV8ACLynCELbR5gxtG6s41NNQ8oLtfw9GFKnjMM7TcwfO0RM/6DRfwnA3iPt89S8pV9DILNMorRannIuvpf/ALSiFbWj7bhEV/30c5np5W7D605/H57DBkY4bIwuDYbOxwhY9q/+f7GHLPS7uBrAxbLkR6HwLnzH5rRne9fDsk/cQyUe/csNosNymIbXv/fePrBJZ7vn5SIRax/qT6H0UhZh0PECPKCy2SQtyfxzSg/kGOzWi2WET6r7bSQG4DPxbuiri48IyJIsixki8XW19PT02ezXFHJxKP2ujz/LDAC7f1Sr9d/+dhdy/ZMfjYYv0rL9rg7ifF/FLKviJ4tGb0AAAAASUVORK5CYII=</xsl:text>
1181
+ </xsl:variable>
1182
+
1183
+ <!-- convert YYYY-MM-DD to (MM/YYYY) -->
1184
+ <xsl:template name="formatDate">
1185
+ <xsl:param name="date"/>
1186
+ <xsl:variable name="year" select="substring($date, 1, 4)"/>
1187
+ <xsl:variable name="month" select="substring($date, 6, 2)"/>
1188
+ <xsl:if test="$month != '' and $year != ''">
1189
+ <xsl:text>(</xsl:text><xsl:value-of select="$month"/>/<xsl:value-of select="$year"/><xsl:text>)</xsl:text>
1190
+ </xsl:if>
1191
+ </xsl:template>
1192
+
1193
+
1194
+ <xsl:template name="addLetterSpacing">
1195
+ <xsl:param name="text"/>
1196
+ <xsl:if test="string-length($text) &gt; 0">
1197
+ <xsl:variable name="char" select="substring($text, 1, 1)"/>
1198
+ <xsl:value-of select="$char"/><fo:inline font-size="15pt"><xsl:value-of select="' '"/></fo:inline>
1199
+ <xsl:call-template name="addLetterSpacing">
1200
+ <xsl:with-param name="text" select="substring($text, 2)"/>
1201
+ </xsl:call-template>
1202
+ </xsl:if>
1203
+ </xsl:template>
1204
+
1205
+ <xsl:variable name="titles" select="xalan:nodeset($titles_)"/><xsl:variable name="titles_">
1206
+
1207
+ <title-annex lang="en">Annex </title-annex>
1208
+ <title-annex lang="fr">Annexe </title-annex>
1209
+
1210
+ <title-annex lang="zh">Annex </title-annex>
1211
+
1212
+
1213
+
1214
+ <title-edition lang="en">
1215
+
1216
+ <xsl:text>Edition </xsl:text>
1217
+
1218
+
1219
+ </title-edition>
1220
+
1221
+
1222
+ <title-toc lang="en">
1223
+
1224
+
1225
+ <xsl:text>Table of Contents</xsl:text>
1226
+
1227
+
1228
+ </title-toc>
1229
+ <title-toc lang="fr">Sommaire</title-toc>
1230
+
1231
+ <title-toc lang="zh">Contents</title-toc>
1232
+
1233
+
1234
+
1235
+ <title-page lang="en">Page</title-page>
1236
+ <title-page lang="fr">Page</title-page>
1237
+
1238
+ <title-key lang="en">Key</title-key>
1239
+ <title-key lang="fr">Légende</title-key>
1240
+
1241
+ <title-where lang="en">where</title-where>
1242
+ <title-where lang="fr">où</title-where>
1243
+
1244
+ <title-descriptors lang="en">Descriptors</title-descriptors>
1245
+
1246
+ <title-part lang="en">
1247
+
1248
+
1249
+ </title-part>
1250
+ <title-part lang="fr">
1251
+
1252
+
1253
+ </title-part>
1254
+ <title-part lang="zh">第 # 部分:</title-part>
1255
+
1256
+ <title-modified lang="en">modified</title-modified>
1257
+ <title-modified lang="fr">modifiée</title-modified>
1258
+
1259
+ <title-modified lang="zh">modified</title-modified>
1260
+
1261
+
1262
+
1263
+ <title-source lang="en">SOURCE</title-source>
1264
+
1265
+ <title-keywords lang="en">Keywords</title-keywords>
1266
+
1267
+ <title-deprecated lang="en">DEPRECATED</title-deprecated>
1268
+ <title-deprecated lang="fr">DEPRECATED</title-deprecated>
1269
+
1270
+ <title-list-tables lang="en">List of Tables</title-list-tables>
1271
+
1272
+ <title-list-figures lang="en">List of Figures</title-list-figures>
1273
+
1274
+ <title-list-recommendations lang="en">List of Recommendations</title-list-recommendations>
1275
+
1276
+ <title-acknowledgements lang="en">Acknowledgements</title-acknowledgements>
1277
+
1278
+ <title-abstract lang="en">Abstract</title-abstract>
1279
+
1280
+ <title-summary lang="en">Summary</title-summary>
1281
+
1282
+ <title-in lang="en">in </title-in>
1283
+
1284
+ <title-partly-supercedes lang="en">Partly Supercedes </title-partly-supercedes>
1285
+ <title-partly-supercedes lang="zh">部分代替 </title-partly-supercedes>
1286
+
1287
+ <title-completion-date lang="en">Completion date for this manuscript</title-completion-date>
1288
+ <title-completion-date lang="zh">本稿完成日期</title-completion-date>
1289
+
1290
+ <title-issuance-date lang="en">Issuance Date: #</title-issuance-date>
1291
+ <title-issuance-date lang="zh"># 发布</title-issuance-date>
1292
+
1293
+ <title-implementation-date lang="en">Implementation Date: #</title-implementation-date>
1294
+ <title-implementation-date lang="zh"># 实施</title-implementation-date>
1295
+
1296
+ <title-obligation-normative lang="en">normative</title-obligation-normative>
1297
+ <title-obligation-normative lang="zh">规范性附录</title-obligation-normative>
1298
+
1299
+ <title-caution lang="en">CAUTION</title-caution>
1300
+ <title-caution lang="zh">注意</title-caution>
1301
+
1302
+ <title-warning lang="en">WARNING</title-warning>
1303
+ <title-warning lang="zh">警告</title-warning>
1304
+
1305
+ <title-amendment lang="en">AMENDMENT</title-amendment>
1306
+ </xsl:variable><xsl:variable name="tab_zh"> </xsl:variable><xsl:template name="getTitle">
1307
+ <xsl:param name="name"/>
1308
+ <xsl:variable name="lang">
1309
+ <xsl:call-template name="getLang"/>
1310
+ </xsl:variable>
1311
+ <xsl:variable name="title_" select="$titles/*[local-name() = $name][@lang = $lang]"/>
1312
+ <xsl:choose>
1313
+ <xsl:when test="normalize-space($title_) != ''">
1314
+ <xsl:value-of select="$title_"/>
1315
+ </xsl:when>
1316
+ <xsl:otherwise>
1317
+ <xsl:value-of select="$titles/*[local-name() = $name][@lang = 'en']"/>
1318
+ </xsl:otherwise>
1319
+ </xsl:choose>
1320
+ </xsl:template><xsl:variable name="lower">abcdefghijklmnopqrstuvwxyz</xsl:variable><xsl:variable name="upper">ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable><xsl:variable name="en_chars" select="concat($lower,$upper,',.`1234567890-=~!@#$%^*()_+[]{}\|?/')"/><xsl:variable name="linebreak" select="'&#8232;'"/><xsl:attribute-set name="link-style">
1321
+
1322
+
1323
+ </xsl:attribute-set><xsl:attribute-set name="sourcecode-style">
1324
+ <xsl:attribute name="white-space">pre</xsl:attribute>
1325
+ <xsl:attribute name="wrap-option">wrap</xsl:attribute>
1326
+
1327
+
1328
+
1329
+
1330
+
1331
+ <xsl:attribute name="font-family">Courier</xsl:attribute>
1332
+ <xsl:attribute name="font-size">10pt</xsl:attribute>
1333
+ <xsl:attribute name="margin-top">6pt</xsl:attribute>
1334
+ <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
1335
+
1336
+
1337
+
1338
+
1339
+ </xsl:attribute-set><xsl:attribute-set name="permission-style">
1340
+
1341
+ </xsl:attribute-set><xsl:attribute-set name="permission-name-style">
1342
+
1343
+ </xsl:attribute-set><xsl:attribute-set name="permission-label-style">
1344
+
1345
+ </xsl:attribute-set><xsl:attribute-set name="requirement-style">
1346
+
1347
+ </xsl:attribute-set><xsl:attribute-set name="requirement-name-style">
1348
+
1349
+ </xsl:attribute-set><xsl:attribute-set name="requirement-label-style">
1350
+
1351
+ </xsl:attribute-set><xsl:attribute-set name="requirement-subject-style">
1352
+ </xsl:attribute-set><xsl:attribute-set name="requirement-inherit-style">
1353
+ </xsl:attribute-set><xsl:attribute-set name="recommendation-style">
1354
+
1355
+
1356
+ </xsl:attribute-set><xsl:attribute-set name="recommendation-name-style">
1357
+
1358
+
1359
+ </xsl:attribute-set><xsl:attribute-set name="recommendation-label-style">
1360
+
1361
+ </xsl:attribute-set><xsl:attribute-set name="termexample-style">
1362
+
1363
+
1364
+
1365
+
1366
+
1367
+
1368
+
1369
+ </xsl:attribute-set><xsl:attribute-set name="example-style">
1370
+
1371
+
1372
+
1373
+
1374
+
1375
+ <xsl:attribute name="font-size">10pt</xsl:attribute>
1376
+ <xsl:attribute name="margin-top">12pt</xsl:attribute>
1377
+
1378
+
1379
+
1380
+
1381
+
1382
+
1383
+ </xsl:attribute-set><xsl:attribute-set name="example-body-style">
1384
+
1385
+
1386
+ </xsl:attribute-set><xsl:attribute-set name="example-name-style">
1387
+
1388
+
1389
+
1390
+
1391
+
1392
+
1393
+ <xsl:attribute name="font-weight">bold</xsl:attribute>
1394
+
1395
+
1396
+
1397
+
1398
+
1399
+
1400
+
1401
+
1402
+
1403
+
1404
+ </xsl:attribute-set><xsl:attribute-set name="example-p-style">
1405
+
1406
+
1407
+
1408
+
1409
+
1410
+ <xsl:attribute name="font-size">10pt</xsl:attribute>
1411
+ <xsl:attribute name="margin-top">12pt</xsl:attribute>
1412
+ <xsl:attribute name="margin-bottom">12pt</xsl:attribute>
1413
+
1414
+
1415
+
1416
+
1417
+
1418
+
1419
+
1420
+ </xsl:attribute-set><xsl:attribute-set name="termexample-name-style">
1421
+
1422
+
1423
+
1424
+
1425
+ </xsl:attribute-set><xsl:attribute-set name="table-name-style">
1426
+ <xsl:attribute name="keep-with-next">always</xsl:attribute>
1427
+
1428
+ <xsl:attribute name="font-weight">bold</xsl:attribute>
1429
+ <xsl:attribute name="text-align">center</xsl:attribute>
1430
+ <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
1431
+
1432
+
1433
+
1434
+
1435
+
1436
+
1437
+
1438
+
1439
+
1440
+
1441
+ </xsl:attribute-set><xsl:attribute-set name="appendix-style">
1442
+
1443
+
1444
+
1445
+ </xsl:attribute-set><xsl:attribute-set name="appendix-example-style">
1446
+
1447
+
1448
+
1449
+ </xsl:attribute-set><xsl:attribute-set name="xref-style">
1450
+
1451
+
1452
+ <xsl:attribute name="color">blue</xsl:attribute>
1453
+ <xsl:attribute name="text-decoration">underline</xsl:attribute>
1454
+
1455
+ </xsl:attribute-set><xsl:attribute-set name="eref-style">
1456
+
1457
+
1458
+ <xsl:attribute name="color">blue</xsl:attribute>
1459
+ <xsl:attribute name="text-decoration">underline</xsl:attribute>
1460
+
1461
+
1462
+ </xsl:attribute-set><xsl:attribute-set name="note-style">
1463
+
1464
+
1465
+
1466
+
1467
+
1468
+
1469
+
1470
+ <xsl:attribute name="font-size">11pt</xsl:attribute>
1471
+ <xsl:attribute name="space-before">4pt</xsl:attribute>
1472
+ <xsl:attribute name="text-align">justify</xsl:attribute>
1473
+
1474
+
1475
+
1476
+
1477
+
1478
+
1479
+
1480
+
1481
+
1482
+ </xsl:attribute-set><xsl:attribute-set name="note-name-style">
1483
+
1484
+
1485
+
1486
+
1487
+
1488
+
1489
+
1490
+
1491
+
1492
+
1493
+
1494
+ </xsl:attribute-set><xsl:attribute-set name="note-p-style">
1495
+
1496
+
1497
+
1498
+
1499
+
1500
+
1501
+
1502
+ <xsl:attribute name="space-before">4pt</xsl:attribute>
1503
+
1504
+
1505
+
1506
+
1507
+
1508
+
1509
+
1510
+ </xsl:attribute-set><xsl:attribute-set name="termnote-style">
1511
+
1512
+
1513
+
1514
+
1515
+ <xsl:attribute name="margin-top">4pt</xsl:attribute>
1516
+
1517
+
1518
+ </xsl:attribute-set><xsl:attribute-set name="quote-style">
1519
+
1520
+
1521
+
1522
+
1523
+
1524
+ <xsl:attribute name="margin-top">6pt</xsl:attribute>
1525
+ <xsl:attribute name="margin-left">12mm</xsl:attribute>
1526
+ <xsl:attribute name="margin-right">12mm</xsl:attribute>
1527
+
1528
+
1529
+ </xsl:attribute-set><xsl:attribute-set name="quote-source-style">
1530
+
1531
+
1532
+ <xsl:attribute name="text-align">right</xsl:attribute>
1533
+
1534
+
1535
+ </xsl:attribute-set><xsl:attribute-set name="termsource-style">
1536
+
1537
+
1538
+
1539
+
1540
+
1541
+ </xsl:attribute-set><xsl:attribute-set name="origin-style">
1542
+
1543
+
1544
+ </xsl:attribute-set><xsl:attribute-set name="term-style">
1545
+
1546
+ </xsl:attribute-set><xsl:attribute-set name="figure-name-style">
1547
+
1548
+
1549
+
1550
+
1551
+
1552
+
1553
+
1554
+ <xsl:attribute name="font-weight">bold</xsl:attribute>
1555
+ <xsl:attribute name="text-align">center</xsl:attribute>
1556
+ <xsl:attribute name="margin-top">6pt</xsl:attribute>
1557
+ <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
1558
+ <xsl:attribute name="keep-with-previous">always</xsl:attribute>
1559
+
1560
+
1561
+
1562
+
1563
+
1564
+
1565
+
1566
+
1567
+
1568
+
1569
+ </xsl:attribute-set><xsl:attribute-set name="formula-style">
1570
+
1571
+ <xsl:attribute name="margin-top">6pt</xsl:attribute>
1572
+ <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
1573
+
1574
+ </xsl:attribute-set><xsl:attribute-set name="image-style">
1575
+ <xsl:attribute name="text-align">center</xsl:attribute>
1576
+
1577
+
1578
+
1579
+
1580
+
1581
+ </xsl:attribute-set><xsl:attribute-set name="figure-pseudocode-p-style">
1582
+
1583
+ <xsl:attribute name="font-size">10pt</xsl:attribute>
1584
+ <xsl:attribute name="margin-top">6pt</xsl:attribute>
1585
+ <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
1586
+
1587
+ </xsl:attribute-set><xsl:attribute-set name="image-graphic-style">
1588
+
1589
+
1590
+
1591
+
1592
+ <xsl:attribute name="width">75%</xsl:attribute>
1593
+ <xsl:attribute name="content-height">100%</xsl:attribute>
1594
+ <xsl:attribute name="content-width">scale-to-fit</xsl:attribute>
1595
+ <xsl:attribute name="scaling">uniform</xsl:attribute>
1596
+
1597
+
1598
+ </xsl:attribute-set><xsl:attribute-set name="tt-style">
1599
+
1600
+
1601
+ </xsl:attribute-set><xsl:attribute-set name="sourcecode-name-style">
1602
+ <xsl:attribute name="font-size">11pt</xsl:attribute>
1603
+ <xsl:attribute name="font-weight">bold</xsl:attribute>
1604
+ <xsl:attribute name="text-align">center</xsl:attribute>
1605
+ <xsl:attribute name="margin-bottom">12pt</xsl:attribute>
1606
+ </xsl:attribute-set><xsl:attribute-set name="domain-style">
1607
+
1608
+ </xsl:attribute-set><xsl:attribute-set name="admitted-style">
1609
+
1610
+
1611
+ </xsl:attribute-set><xsl:attribute-set name="deprecates-style">
1612
+
1613
+ </xsl:attribute-set><xsl:attribute-set name="definition-style">
1614
+
1615
+
1616
+ </xsl:attribute-set><xsl:template match="text()">
1617
+ <xsl:value-of select="."/>
1618
+ </xsl:template><xsl:template match="*[local-name()='br']">
1619
+ <xsl:value-of select="$linebreak"/>
1620
+ </xsl:template><xsl:template match="*[local-name()='td']//text() | *[local-name()='th']//text() | *[local-name()='dt']//text() | *[local-name()='dd']//text()" priority="1">
1621
+ <!-- <xsl:call-template name="add-zero-spaces"/> -->
1622
+ <xsl:call-template name="add-zero-spaces-java"/>
1623
+ </xsl:template><xsl:template match="*[local-name()='table']">
1624
+
1625
+ <xsl:variable name="simple-table">
1626
+ <xsl:call-template name="getSimpleTable"/>
1627
+ </xsl:variable>
1628
+
1629
+
1630
+ <fo:block space-before="18pt"> </fo:block>
1631
+
1632
+
1633
+
1634
+
1635
+ <xsl:apply-templates select="*[local-name()='name']" mode="presentation"/>
1636
+
1637
+
1638
+
1639
+ <xsl:call-template name="fn_name_display"/>
1640
+
1641
+
1642
+
1643
+ <xsl:variable name="cols-count" select="count(xalan:nodeset($simple-table)//tr[1]/td)"/>
1644
+
1645
+ <!-- <xsl:variable name="cols-count">
1646
+ <xsl:choose>
1647
+ <xsl:when test="*[local-name()='thead']">
1648
+ <xsl:call-template name="calculate-columns-numbers">
1649
+ <xsl:with-param name="table-row" select="*[local-name()='thead']/*[local-name()='tr'][1]"/>
1650
+ </xsl:call-template>
1651
+ </xsl:when>
1652
+ <xsl:otherwise>
1653
+ <xsl:call-template name="calculate-columns-numbers">
1654
+ <xsl:with-param name="table-row" select="*[local-name()='tbody']/*[local-name()='tr'][1]"/>
1655
+ </xsl:call-template>
1656
+ </xsl:otherwise>
1657
+ </xsl:choose>
1658
+ </xsl:variable> -->
1659
+ <!-- cols-count=<xsl:copy-of select="$cols-count"/> -->
1660
+ <!-- cols-count2=<xsl:copy-of select="$cols-count2"/> -->
1661
+
1662
+
1663
+
1664
+ <xsl:variable name="colwidths">
1665
+ <xsl:call-template name="calculate-column-widths">
1666
+ <xsl:with-param name="cols-count" select="$cols-count"/>
1667
+ <xsl:with-param name="table" select="$simple-table"/>
1668
+ </xsl:call-template>
1669
+ </xsl:variable>
1670
+
1671
+ <!-- <xsl:variable name="colwidths2">
1672
+ <xsl:call-template name="calculate-column-widths">
1673
+ <xsl:with-param name="cols-count" select="$cols-count"/>
1674
+ </xsl:call-template>
1675
+ </xsl:variable> -->
1676
+
1677
+ <!-- cols-count=<xsl:copy-of select="$cols-count"/>
1678
+ colwidthsNew=<xsl:copy-of select="$colwidths"/>
1679
+ colwidthsOld=<xsl:copy-of select="$colwidths2"/>z -->
1680
+
1681
+ <xsl:variable name="margin-left">
1682
+ <xsl:choose>
1683
+ <xsl:when test="sum(xalan:nodeset($colwidths)//column) &gt; 75">15</xsl:when>
1684
+ <xsl:otherwise>0</xsl:otherwise>
1685
+ </xsl:choose>
1686
+ </xsl:variable>
1687
+
1688
+ <fo:block-container margin-left="-{$margin-left}mm" margin-right="-{$margin-left}mm">
1689
+
1690
+ <xsl:attribute name="space-after">6pt</xsl:attribute>
1691
+
1692
+
1693
+
1694
+
1695
+
1696
+ <xsl:attribute name="margin-left">0mm</xsl:attribute>
1697
+ <xsl:attribute name="margin-right">0mm</xsl:attribute>
1698
+ <xsl:attribute name="space-after">18pt</xsl:attribute>
1699
+
1700
+
1701
+
1702
+
1703
+ <fo:table id="{@id}" table-layout="fixed" width="100%" margin-left="{$margin-left}mm" margin-right="{$margin-left}mm" table-omit-footer-at-break="true">
1704
+
1705
+
1706
+
1707
+ <xsl:attribute name="margin-left">0mm</xsl:attribute>
1708
+ <xsl:attribute name="margin-right">0mm</xsl:attribute>
1709
+
1710
+
1711
+
1712
+
1713
+
1714
+
1715
+
1716
+ <xsl:attribute name="font-size">10pt</xsl:attribute>
1717
+
1718
+
1719
+
1720
+ <xsl:for-each select="xalan:nodeset($colwidths)//column">
1721
+ <xsl:choose>
1722
+ <xsl:when test=". = 1 or . = 0">
1723
+ <fo:table-column column-width="proportional-column-width(2)"/>
1724
+ </xsl:when>
1725
+ <xsl:otherwise>
1726
+ <fo:table-column column-width="proportional-column-width({.})"/>
1727
+ </xsl:otherwise>
1728
+ </xsl:choose>
1729
+ </xsl:for-each>
1730
+
1731
+ <xsl:choose>
1732
+ <xsl:when test="not(*[local-name()='tbody']) and *[local-name()='thead']">
1733
+ <xsl:apply-templates select="*[local-name()='thead']" mode="process_tbody"/>
1734
+ </xsl:when>
1735
+ <xsl:otherwise>
1736
+ <xsl:apply-templates/>
1737
+ </xsl:otherwise>
1738
+ </xsl:choose>
1739
+
1740
+ </fo:table>
1741
+
1742
+
1743
+
1744
+
1745
+
1746
+ </fo:block-container>
1747
+ </xsl:template><xsl:template match="*[local-name()='table']/*[local-name() = 'name']"/><xsl:template match="*[local-name()='table']/*[local-name() = 'name']" mode="presentation">
1748
+ <xsl:if test="normalize-space() != ''">
1749
+ <fo:block xsl:use-attribute-sets="table-name-style">
1750
+ <xsl:apply-templates/>
1751
+ </fo:block>
1752
+ </xsl:if>
1753
+ </xsl:template><xsl:template name="calculate-columns-numbers">
1754
+ <xsl:param name="table-row"/>
1755
+ <xsl:variable name="columns-count" select="count($table-row/*)"/>
1756
+ <xsl:variable name="sum-colspans" select="sum($table-row/*/@colspan)"/>
1757
+ <xsl:variable name="columns-with-colspan" select="count($table-row/*[@colspan])"/>
1758
+ <xsl:value-of select="$columns-count + $sum-colspans - $columns-with-colspan"/>
1759
+ </xsl:template><xsl:template name="calculate-column-widths">
1760
+ <xsl:param name="table"/>
1761
+ <xsl:param name="cols-count"/>
1762
+ <xsl:param name="curr-col" select="1"/>
1763
+ <xsl:param name="width" select="0"/>
1764
+
1765
+ <xsl:if test="$curr-col &lt;= $cols-count">
1766
+ <xsl:variable name="widths">
1767
+ <xsl:choose>
1768
+ <xsl:when test="not($table)"><!-- this branch is not using in production, for debug only -->
1769
+ <xsl:for-each select="*[local-name()='thead']//*[local-name()='tr']">
1770
+ <xsl:variable name="words">
1771
+ <xsl:call-template name="tokenize">
1772
+ <xsl:with-param name="text" select="translate(*[local-name()='th'][$curr-col],'- —:', ' ')"/>
1773
+ </xsl:call-template>
1774
+ </xsl:variable>
1775
+ <xsl:variable name="max_length">
1776
+ <xsl:call-template name="max_length">
1777
+ <xsl:with-param name="words" select="xalan:nodeset($words)"/>
1778
+ </xsl:call-template>
1779
+ </xsl:variable>
1780
+ <width>
1781
+ <xsl:value-of select="$max_length"/>
1782
+ </width>
1783
+ </xsl:for-each>
1784
+ <xsl:for-each select="*[local-name()='tbody']//*[local-name()='tr']">
1785
+ <xsl:variable name="words">
1786
+ <xsl:call-template name="tokenize">
1787
+ <xsl:with-param name="text" select="translate(*[local-name()='td'][$curr-col],'- —:', ' ')"/>
1788
+ </xsl:call-template>
1789
+ </xsl:variable>
1790
+ <xsl:variable name="max_length">
1791
+ <xsl:call-template name="max_length">
1792
+ <xsl:with-param name="words" select="xalan:nodeset($words)"/>
1793
+ </xsl:call-template>
1794
+ </xsl:variable>
1795
+ <width>
1796
+ <xsl:value-of select="$max_length"/>
1797
+ </width>
1798
+
1799
+ </xsl:for-each>
1800
+ </xsl:when>
1801
+ <xsl:otherwise>
1802
+ <xsl:for-each select="xalan:nodeset($table)//tr">
1803
+ <xsl:variable name="td_text">
1804
+ <xsl:apply-templates select="td[$curr-col]" mode="td_text"/>
1805
+ </xsl:variable>
1806
+ <xsl:variable name="words">
1807
+ <xsl:variable name="string_with_added_zerospaces">
1808
+ <xsl:call-template name="add-zero-spaces-java">
1809
+ <xsl:with-param name="text" select="$td_text"/>
1810
+ </xsl:call-template>
1811
+ </xsl:variable>
1812
+ <xsl:call-template name="tokenize">
1813
+ <!-- <xsl:with-param name="text" select="translate(td[$curr-col],'- —:', ' ')"/> -->
1814
+ <!-- 2009 thinspace -->
1815
+ <!-- <xsl:with-param name="text" select="translate(normalize-space($td_text),'- —:', ' ')"/> -->
1816
+ <xsl:with-param name="text" select="normalize-space(translate($string_with_added_zerospaces, '​', ' '))"/>
1817
+ </xsl:call-template>
1818
+ </xsl:variable>
1819
+ <xsl:variable name="max_length">
1820
+ <xsl:call-template name="max_length">
1821
+ <xsl:with-param name="words" select="xalan:nodeset($words)"/>
1822
+ </xsl:call-template>
1823
+ </xsl:variable>
1824
+ <width>
1825
+ <xsl:variable name="divider">
1826
+ <xsl:choose>
1827
+ <xsl:when test="td[$curr-col]/@divide">
1828
+ <xsl:value-of select="td[$curr-col]/@divide"/>
1829
+ </xsl:when>
1830
+ <xsl:otherwise>1</xsl:otherwise>
1831
+ </xsl:choose>
1832
+ </xsl:variable>
1833
+ <xsl:value-of select="$max_length div $divider"/>
1834
+ </width>
1835
+
1836
+ </xsl:for-each>
1837
+
1838
+ </xsl:otherwise>
1839
+ </xsl:choose>
1840
+ </xsl:variable>
1841
+
1842
+
1843
+ <column>
1844
+ <xsl:for-each select="xalan:nodeset($widths)//width">
1845
+ <xsl:sort select="." data-type="number" order="descending"/>
1846
+ <xsl:if test="position()=1">
1847
+ <xsl:value-of select="."/>
1848
+ </xsl:if>
1849
+ </xsl:for-each>
1850
+ </column>
1851
+ <xsl:call-template name="calculate-column-widths">
1852
+ <xsl:with-param name="cols-count" select="$cols-count"/>
1853
+ <xsl:with-param name="curr-col" select="$curr-col +1"/>
1854
+ <xsl:with-param name="table" select="$table"/>
1855
+ </xsl:call-template>
1856
+ </xsl:if>
1857
+ </xsl:template><xsl:template match="text()" mode="td_text">
1858
+ <xsl:variable name="zero-space">​</xsl:variable>
1859
+ <xsl:value-of select="translate(., $zero-space, ' ')"/><xsl:text> </xsl:text>
1860
+ </xsl:template><xsl:template match="*[local-name()='termsource']" mode="td_text">
1861
+ <xsl:value-of select="*[local-name()='origin']/@citeas"/>
1862
+ </xsl:template><xsl:template match="*[local-name()='link']" mode="td_text">
1863
+ <xsl:value-of select="@target"/>
1864
+ </xsl:template><xsl:template match="*[local-name()='table2']"/><xsl:template match="*[local-name()='thead']"/><xsl:template match="*[local-name()='thead']" mode="process">
1865
+ <xsl:param name="cols-count"/>
1866
+ <!-- font-weight="bold" -->
1867
+ <fo:table-header>
1868
+
1869
+ <xsl:apply-templates/>
1870
+ </fo:table-header>
1871
+ </xsl:template><xsl:template match="*[local-name()='thead']" mode="process_tbody">
1872
+ <fo:table-body>
1873
+ <xsl:apply-templates/>
1874
+ </fo:table-body>
1875
+ </xsl:template><xsl:template match="*[local-name()='tfoot']"/><xsl:template match="*[local-name()='tfoot']" mode="process">
1876
+ <xsl:apply-templates/>
1877
+ </xsl:template><xsl:template name="insertTableFooter">
1878
+ <xsl:param name="cols-count"/>
1879
+ <xsl:variable name="isNoteOrFnExist" select="../*[local-name()='note'] or ..//*[local-name()='fn'][local-name(..) != 'name']"/>
1880
+ <xsl:if test="../*[local-name()='tfoot'] or $isNoteOrFnExist = 'true'">
1881
+
1882
+ <fo:table-footer>
1883
+
1884
+ <xsl:apply-templates select="../*[local-name()='tfoot']" mode="process"/>
1885
+
1886
+ <!-- if there are note(s) or fn(s) then create footer row -->
1887
+ <xsl:if test="$isNoteOrFnExist = 'true'">
1888
+
1889
+
1890
+
1891
+ <fo:table-row>
1892
+ <fo:table-cell border="solid black 1pt" padding-left="1mm" padding-right="1mm" padding-top="1mm" number-columns-spanned="{$cols-count}">
1893
+
1894
+
1895
+
1896
+ <xsl:if test="ancestor::*[local-name()='preface']">
1897
+ <xsl:attribute name="border">solid black 0pt</xsl:attribute>
1898
+ </xsl:if>
1899
+
1900
+ <!-- fn will be processed inside 'note' processing -->
1901
+
1902
+
1903
+ <!-- except gb -->
1904
+
1905
+ <xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
1906
+
1907
+
1908
+ <!-- horizontal row separator -->
1909
+
1910
+
1911
+ <!-- fn processing -->
1912
+ <xsl:call-template name="fn_display"/>
1913
+
1914
+ </fo:table-cell>
1915
+ </fo:table-row>
1916
+
1917
+ </xsl:if>
1918
+ </fo:table-footer>
1919
+
1920
+ </xsl:if>
1921
+ </xsl:template><xsl:template match="*[local-name()='tbody']">
1922
+
1923
+ <xsl:variable name="cols-count">
1924
+ <xsl:choose>
1925
+ <xsl:when test="../*[local-name()='thead']">
1926
+ <xsl:call-template name="calculate-columns-numbers">
1927
+ <xsl:with-param name="table-row" select="../*[local-name()='thead']/*[local-name()='tr'][1]"/>
1928
+ </xsl:call-template>
1929
+ </xsl:when>
1930
+ <xsl:otherwise>
1931
+ <xsl:call-template name="calculate-columns-numbers">
1932
+ <xsl:with-param name="table-row" select="./*[local-name()='tr'][1]"/>
1933
+ </xsl:call-template>
1934
+ </xsl:otherwise>
1935
+ </xsl:choose>
1936
+ </xsl:variable>
1937
+
1938
+ <xsl:apply-templates select="../*[local-name()='thead']" mode="process">
1939
+ <xsl:with-param name="cols-count" select="$cols-count"/>
1940
+ </xsl:apply-templates>
1941
+
1942
+ <xsl:call-template name="insertTableFooter">
1943
+ <xsl:with-param name="cols-count" select="$cols-count"/>
1944
+ </xsl:call-template>
1945
+
1946
+ <fo:table-body>
1947
+ <xsl:apply-templates/>
1948
+ <!-- <xsl:apply-templates select="../*[local-name()='tfoot']" mode="process"/> -->
1949
+
1950
+ </fo:table-body>
1951
+
1952
+ </xsl:template><xsl:template match="*[local-name()='tr']">
1953
+ <xsl:variable name="parent-name" select="local-name(..)"/>
1954
+ <!-- <xsl:variable name="namespace" select="substring-before(name(/*), '-')"/> -->
1955
+ <fo:table-row min-height="4mm">
1956
+ <xsl:if test="$parent-name = 'thead'">
1957
+ <xsl:attribute name="font-weight">bold</xsl:attribute>
1958
+
1959
+
1960
+
1961
+
1962
+
1963
+ </xsl:if>
1964
+ <xsl:if test="$parent-name = 'tfoot'">
1965
+
1966
+
1967
+ </xsl:if>
1968
+
1969
+
1970
+ <xsl:apply-templates/>
1971
+ </fo:table-row>
1972
+ </xsl:template><xsl:template match="*[local-name()='th']">
1973
+ <fo:table-cell text-align="{@align}" font-weight="bold" border="solid black 1pt" padding-left="1mm" display-align="center">
1974
+
1975
+
1976
+
1977
+ <xsl:if test="ancestor::*[local-name()='preface']">
1978
+ <xsl:attribute name="border">solid black 0pt</xsl:attribute>
1979
+ </xsl:if>
1980
+
1981
+
1982
+
1983
+
1984
+
1985
+
1986
+ <xsl:if test="@colspan">
1987
+ <xsl:attribute name="number-columns-spanned">
1988
+ <xsl:value-of select="@colspan"/>
1989
+ </xsl:attribute>
1990
+ </xsl:if>
1991
+ <xsl:if test="@rowspan">
1992
+ <xsl:attribute name="number-rows-spanned">
1993
+ <xsl:value-of select="@rowspan"/>
1994
+ </xsl:attribute>
1995
+ </xsl:if>
1996
+ <fo:block>
1997
+ <xsl:apply-templates/>
1998
+ </fo:block>
1999
+ </fo:table-cell>
2000
+ </xsl:template><xsl:template match="*[local-name()='td']">
2001
+ <fo:table-cell text-align="{@align}" display-align="center" border="solid black 1pt" padding-left="1mm">
2002
+
2003
+
2004
+ <xsl:if test="ancestor::*[local-name()='preface']">
2005
+ <xsl:attribute name="border">solid black 0pt</xsl:attribute>
2006
+ </xsl:if>
2007
+ <xsl:attribute name="display-align">before</xsl:attribute>
2008
+
2009
+
2010
+
2011
+
2012
+
2013
+
2014
+
2015
+
2016
+ <xsl:if test="@colspan">
2017
+ <xsl:attribute name="number-columns-spanned">
2018
+ <xsl:value-of select="@colspan"/>
2019
+ </xsl:attribute>
2020
+ </xsl:if>
2021
+ <xsl:if test="@rowspan">
2022
+ <xsl:attribute name="number-rows-spanned">
2023
+ <xsl:value-of select="@rowspan"/>
2024
+ </xsl:attribute>
2025
+ </xsl:if>
2026
+ <fo:block>
2027
+
2028
+ <xsl:apply-templates/>
2029
+ </fo:block>
2030
+ </fo:table-cell>
2031
+ </xsl:template><xsl:template match="*[local-name()='table']/*[local-name()='note']" priority="2"/><xsl:template match="*[local-name()='table']/*[local-name()='note']" mode="process">
2032
+
2033
+
2034
+ <fo:block font-size="10pt" margin-bottom="12pt">
2035
+
2036
+
2037
+
2038
+
2039
+ <fo:inline padding-right="2mm">
2040
+
2041
+
2042
+
2043
+
2044
+ <xsl:apply-templates select="*[local-name() = 'name']" mode="presentation"/>
2045
+
2046
+ </fo:inline>
2047
+ <xsl:apply-templates mode="process"/>
2048
+ </fo:block>
2049
+
2050
+ </xsl:template><xsl:template match="*[local-name()='table']/*[local-name()='note']/*[local-name()='name']" mode="process"/><xsl:template match="*[local-name()='table']/*[local-name()='note']/*[local-name()='p']" mode="process">
2051
+ <xsl:apply-templates/>
2052
+ </xsl:template><xsl:template name="fn_display">
2053
+ <xsl:variable name="references">
2054
+ <xsl:for-each select="..//*[local-name()='fn'][local-name(..) != 'name']">
2055
+ <fn reference="{@reference}" id="{@reference}_{ancestor::*[@id][1]/@id}">
2056
+
2057
+ <xsl:if test="ancestor::*[local-name()='preface']">
2058
+ <xsl:attribute name="preface">true</xsl:attribute>
2059
+ </xsl:if>
2060
+
2061
+
2062
+ <xsl:apply-templates/>
2063
+ </fn>
2064
+ </xsl:for-each>
2065
+ </xsl:variable>
2066
+ <xsl:for-each select="xalan:nodeset($references)//fn">
2067
+ <xsl:variable name="reference" select="@reference"/>
2068
+ <xsl:if test="not(preceding-sibling::*[@reference = $reference])"> <!-- only unique reference puts in note-->
2069
+ <fo:block margin-bottom="12pt">
2070
+
2071
+
2072
+
2073
+
2074
+ <xsl:attribute name="margin-bottom">2pt</xsl:attribute>
2075
+ <xsl:attribute name="line-height-shift-adjustment">disregard-shifts</xsl:attribute>
2076
+ <xsl:attribute name="text-indent">-5mm</xsl:attribute>
2077
+ <xsl:attribute name="start-indent">5mm</xsl:attribute>
2078
+
2079
+ <fo:inline font-size="80%" padding-right="5mm" id="{@id}">
2080
+
2081
+ <xsl:attribute name="vertical-align">super</xsl:attribute>
2082
+
2083
+
2084
+
2085
+
2086
+
2087
+ <xsl:attribute name="padding-right">3mm</xsl:attribute>
2088
+ <xsl:attribute name="font-size">70%</xsl:attribute>
2089
+
2090
+
2091
+ <xsl:value-of select="@reference"/>
2092
+
2093
+ <!-- <xsl:if test="@preface = 'true'"> -->
2094
+ <xsl:text>)</xsl:text>
2095
+ <!-- </xsl:if> -->
2096
+
2097
+ </fo:inline>
2098
+ <fo:inline>
2099
+
2100
+ <xsl:apply-templates/>
2101
+ </fo:inline>
2102
+ </fo:block>
2103
+ </xsl:if>
2104
+ </xsl:for-each>
2105
+ </xsl:template><xsl:template name="fn_name_display">
2106
+ <!-- <xsl:variable name="references">
2107
+ <xsl:for-each select="*[local-name()='name']//*[local-name()='fn']">
2108
+ <fn reference="{@reference}" id="{@reference}_{ancestor::*[@id][1]/@id}">
2109
+ <xsl:apply-templates />
2110
+ </fn>
2111
+ </xsl:for-each>
2112
+ </xsl:variable>
2113
+ $references=<xsl:copy-of select="$references"/> -->
2114
+ <xsl:for-each select="*[local-name()='name']//*[local-name()='fn']">
2115
+ <xsl:variable name="reference" select="@reference"/>
2116
+ <fo:block id="{@reference}_{ancestor::*[@id][1]/@id}"><xsl:value-of select="@reference"/></fo:block>
2117
+ <fo:block margin-bottom="12pt">
2118
+ <xsl:apply-templates/>
2119
+ </fo:block>
2120
+ </xsl:for-each>
2121
+ </xsl:template><xsl:template name="fn_display_figure">
2122
+ <xsl:variable name="key_iso">
2123
+ <!-- and (not(@class) or @class !='pseudocode') -->
2124
+ </xsl:variable>
2125
+ <xsl:variable name="references">
2126
+ <xsl:for-each select=".//*[local-name()='fn'][not(parent::*[local-name()='name'])]">
2127
+ <fn reference="{@reference}" id="{@reference}_{ancestor::*[@id][1]/@id}">
2128
+ <xsl:apply-templates/>
2129
+ </fn>
2130
+ </xsl:for-each>
2131
+ </xsl:variable>
2132
+
2133
+ <!-- current hierarchy is 'figure' element -->
2134
+ <xsl:variable name="following_dl_colwidths">
2135
+ <xsl:if test="*[local-name() = 'dl']"><!-- if there is a 'dl', then set the same columns width as for 'dl' -->
2136
+ <xsl:variable name="html-table">
2137
+ <xsl:variable name="ns" select="substring-before(name(/*), '-')"/>
2138
+ <xsl:element name="{$ns}:table">
2139
+ <xsl:for-each select="*[local-name() = 'dl'][1]">
2140
+ <tbody>
2141
+ <xsl:apply-templates mode="dl"/>
2142
+ </tbody>
2143
+ </xsl:for-each>
2144
+ </xsl:element>
2145
+ </xsl:variable>
2146
+
2147
+ <xsl:call-template name="calculate-column-widths">
2148
+ <xsl:with-param name="cols-count" select="2"/>
2149
+ <xsl:with-param name="table" select="$html-table"/>
2150
+ </xsl:call-template>
2151
+
2152
+ </xsl:if>
2153
+ </xsl:variable>
2154
+
2155
+
2156
+ <xsl:variable name="maxlength_dt">
2157
+ <xsl:for-each select="*[local-name() = 'dl'][1]">
2158
+ <xsl:call-template name="getMaxLength_dt"/>
2159
+ </xsl:for-each>
2160
+ </xsl:variable>
2161
+
2162
+ <xsl:if test="xalan:nodeset($references)//fn">
2163
+ <fo:block>
2164
+ <fo:table width="95%" table-layout="fixed">
2165
+ <xsl:if test="normalize-space($key_iso) = 'true'">
2166
+ <xsl:attribute name="font-size">10pt</xsl:attribute>
2167
+
2168
+ </xsl:if>
2169
+ <xsl:choose>
2170
+ <!-- if there 'dl', then set same columns width -->
2171
+ <xsl:when test="xalan:nodeset($following_dl_colwidths)//column">
2172
+ <xsl:call-template name="setColumnWidth_dl">
2173
+ <xsl:with-param name="colwidths" select="$following_dl_colwidths"/>
2174
+ <xsl:with-param name="maxlength_dt" select="$maxlength_dt"/>
2175
+ </xsl:call-template>
2176
+ </xsl:when>
2177
+ <xsl:otherwise>
2178
+ <fo:table-column column-width="15%"/>
2179
+ <fo:table-column column-width="85%"/>
2180
+ </xsl:otherwise>
2181
+ </xsl:choose>
2182
+ <fo:table-body>
2183
+ <xsl:for-each select="xalan:nodeset($references)//fn">
2184
+ <xsl:variable name="reference" select="@reference"/>
2185
+ <xsl:if test="not(preceding-sibling::*[@reference = $reference])"> <!-- only unique reference puts in note-->
2186
+ <fo:table-row>
2187
+ <fo:table-cell>
2188
+ <fo:block>
2189
+ <fo:inline font-size="80%" padding-right="5mm" vertical-align="super" id="{@id}">
2190
+
2191
+ <xsl:value-of select="@reference"/>
2192
+ </fo:inline>
2193
+ </fo:block>
2194
+ </fo:table-cell>
2195
+ <fo:table-cell>
2196
+ <fo:block text-align="justify" margin-bottom="12pt">
2197
+
2198
+ <xsl:if test="normalize-space($key_iso) = 'true'">
2199
+ <xsl:attribute name="margin-bottom">0</xsl:attribute>
2200
+ </xsl:if>
2201
+
2202
+ <xsl:apply-templates/>
2203
+ </fo:block>
2204
+ </fo:table-cell>
2205
+ </fo:table-row>
2206
+ </xsl:if>
2207
+ </xsl:for-each>
2208
+ </fo:table-body>
2209
+ </fo:table>
2210
+ </fo:block>
2211
+ </xsl:if>
2212
+
2213
+ </xsl:template><xsl:template match="*[local-name()='fn']">
2214
+ <!-- <xsl:variable name="namespace" select="substring-before(name(/*), '-')"/> -->
2215
+ <fo:inline font-size="80%" keep-with-previous.within-line="always">
2216
+
2217
+
2218
+
2219
+ <xsl:attribute name="vertical-align">super</xsl:attribute>
2220
+ <xsl:attribute name="color">blue</xsl:attribute>
2221
+
2222
+
2223
+ <fo:basic-link internal-destination="{@reference}_{ancestor::*[@id][1]/@id}" fox:alt-text="{@reference}"> <!-- @reference | ancestor::*[local-name()='clause'][1]/@id-->
2224
+
2225
+ <xsl:value-of select="@reference"/>
2226
+ </fo:basic-link>
2227
+ </fo:inline>
2228
+ </xsl:template><xsl:template match="*[local-name()='fn']/*[local-name()='p']">
2229
+ <fo:inline>
2230
+ <xsl:apply-templates/>
2231
+ </fo:inline>
2232
+ </xsl:template><xsl:template match="*[local-name()='dl']">
2233
+ <xsl:variable name="parent" select="local-name(..)"/>
2234
+
2235
+ <xsl:variable name="key_iso">
2236
+ <!-- and (not(../@class) or ../@class !='pseudocode') -->
2237
+ </xsl:variable>
2238
+
2239
+ <xsl:choose>
2240
+ <xsl:when test="$parent = 'formula' and count(*[local-name()='dt']) = 1"> <!-- only one component -->
2241
+
2242
+
2243
+ <fo:block margin-bottom="12pt" text-align="left">
2244
+
2245
+ <xsl:variable name="title-where">
2246
+ <xsl:call-template name="getTitle">
2247
+ <xsl:with-param name="name" select="'title-where'"/>
2248
+ </xsl:call-template>
2249
+ </xsl:variable>
2250
+ <xsl:value-of select="$title-where"/><xsl:text> </xsl:text>
2251
+ <xsl:apply-templates select="*[local-name()='dt']/*"/>
2252
+ <xsl:text/>
2253
+ <xsl:apply-templates select="*[local-name()='dd']/*" mode="inline"/>
2254
+ </fo:block>
2255
+
2256
+ </xsl:when>
2257
+ <xsl:when test="$parent = 'formula'"> <!-- a few components -->
2258
+ <fo:block margin-bottom="12pt" text-align="left">
2259
+
2260
+
2261
+
2262
+ <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
2263
+
2264
+
2265
+ <xsl:variable name="title-where">
2266
+ <xsl:call-template name="getTitle">
2267
+ <xsl:with-param name="name" select="'title-where'"/>
2268
+ </xsl:call-template>
2269
+ </xsl:variable>
2270
+ <xsl:value-of select="$title-where"/>:
2271
+ </fo:block>
2272
+ </xsl:when>
2273
+ <xsl:when test="$parent = 'figure' and (not(../@class) or ../@class !='pseudocode')">
2274
+ <fo:block font-weight="bold" text-align="left" margin-bottom="12pt" keep-with-next="always">
2275
+
2276
+
2277
+
2278
+ <xsl:variable name="title-key">
2279
+ <xsl:call-template name="getTitle">
2280
+ <xsl:with-param name="name" select="'title-key'"/>
2281
+ </xsl:call-template>
2282
+ </xsl:variable>
2283
+ <xsl:value-of select="$title-key"/>
2284
+ </fo:block>
2285
+ </xsl:when>
2286
+ </xsl:choose>
2287
+
2288
+ <!-- a few components -->
2289
+ <xsl:if test="not($parent = 'formula' and count(*[local-name()='dt']) = 1)">
2290
+ <fo:block>
2291
+
2292
+
2293
+ <xsl:if test="$parent = 'figure' or $parent = 'formula'">
2294
+ <xsl:attribute name="margin-left">7.4mm</xsl:attribute>
2295
+ </xsl:if>
2296
+ <xsl:if test="$parent = 'li'">
2297
+ <!-- <xsl:attribute name="margin-left">-4mm</xsl:attribute> -->
2298
+ </xsl:if>
2299
+
2300
+
2301
+
2302
+ <fo:block>
2303
+
2304
+
2305
+
2306
+
2307
+ <fo:table width="95%" table-layout="fixed">
2308
+
2309
+ <xsl:choose>
2310
+ <xsl:when test="normalize-space($key_iso) = 'true' and $parent = 'formula'">
2311
+ <!-- <xsl:attribute name="font-size">11pt</xsl:attribute> -->
2312
+ </xsl:when>
2313
+ <xsl:when test="normalize-space($key_iso) = 'true'">
2314
+ <xsl:attribute name="font-size">10pt</xsl:attribute>
2315
+
2316
+ </xsl:when>
2317
+ </xsl:choose>
2318
+ <!-- create virtual html table for dl/[dt and dd] -->
2319
+ <xsl:variable name="html-table">
2320
+ <xsl:variable name="ns" select="substring-before(name(/*), '-')"/>
2321
+ <xsl:element name="{$ns}:table">
2322
+ <tbody>
2323
+ <xsl:apply-templates mode="dl"/>
2324
+ </tbody>
2325
+ </xsl:element>
2326
+ </xsl:variable>
2327
+ <!-- html-table<xsl:copy-of select="$html-table"/> -->
2328
+ <xsl:variable name="colwidths">
2329
+ <xsl:call-template name="calculate-column-widths">
2330
+ <xsl:with-param name="cols-count" select="2"/>
2331
+ <xsl:with-param name="table" select="$html-table"/>
2332
+ </xsl:call-template>
2333
+ </xsl:variable>
2334
+ <!-- colwidths=<xsl:value-of select="$colwidths"/> -->
2335
+ <xsl:variable name="maxlength_dt">
2336
+ <xsl:call-template name="getMaxLength_dt"/>
2337
+ </xsl:variable>
2338
+ <xsl:call-template name="setColumnWidth_dl">
2339
+ <xsl:with-param name="colwidths" select="$colwidths"/>
2340
+ <xsl:with-param name="maxlength_dt" select="$maxlength_dt"/>
2341
+ </xsl:call-template>
2342
+ <fo:table-body>
2343
+ <xsl:apply-templates>
2344
+ <xsl:with-param name="key_iso" select="normalize-space($key_iso)"/>
2345
+ </xsl:apply-templates>
2346
+ </fo:table-body>
2347
+ </fo:table>
2348
+ </fo:block>
2349
+ </fo:block>
2350
+ </xsl:if>
2351
+ </xsl:template><xsl:template name="setColumnWidth_dl">
2352
+ <xsl:param name="colwidths"/>
2353
+ <xsl:param name="maxlength_dt"/>
2354
+ <xsl:choose>
2355
+ <xsl:when test="ancestor::*[local-name()='dl']"><!-- second level, i.e. inlined table -->
2356
+ <fo:table-column column-width="50%"/>
2357
+ <fo:table-column column-width="50%"/>
2358
+ </xsl:when>
2359
+ <xsl:otherwise>
2360
+ <xsl:choose>
2361
+ <xsl:when test="normalize-space($maxlength_dt) != '' and number($maxlength_dt) &lt;= 2"> <!-- if dt contains short text like t90, a, etc -->
2362
+ <fo:table-column column-width="5%"/>
2363
+ <fo:table-column column-width="95%"/>
2364
+ </xsl:when>
2365
+ <xsl:when test="normalize-space($maxlength_dt) != '' and number($maxlength_dt) &lt;= 5"> <!-- if dt contains short text like t90, a, etc -->
2366
+ <fo:table-column column-width="10%"/>
2367
+ <fo:table-column column-width="90%"/>
2368
+ </xsl:when>
2369
+ <!-- <xsl:when test="xalan:nodeset($colwidths)/column[1] div xalan:nodeset($colwidths)/column[2] &gt; 1.7">
2370
+ <fo:table-column column-width="60%"/>
2371
+ <fo:table-column column-width="40%"/>
2372
+ </xsl:when> -->
2373
+ <xsl:when test="xalan:nodeset($colwidths)/column[1] div xalan:nodeset($colwidths)/column[2] &gt; 1.3">
2374
+ <fo:table-column column-width="50%"/>
2375
+ <fo:table-column column-width="50%"/>
2376
+ </xsl:when>
2377
+ <xsl:when test="xalan:nodeset($colwidths)/column[1] div xalan:nodeset($colwidths)/column[2] &gt; 0.5">
2378
+ <fo:table-column column-width="40%"/>
2379
+ <fo:table-column column-width="60%"/>
2380
+ </xsl:when>
2381
+ <xsl:otherwise>
2382
+ <xsl:for-each select="xalan:nodeset($colwidths)//column">
2383
+ <xsl:choose>
2384
+ <xsl:when test=". = 1 or . = 0">
2385
+ <fo:table-column column-width="proportional-column-width(2)"/>
2386
+ </xsl:when>
2387
+ <xsl:otherwise>
2388
+ <fo:table-column column-width="proportional-column-width({.})"/>
2389
+ </xsl:otherwise>
2390
+ </xsl:choose>
2391
+ </xsl:for-each>
2392
+ </xsl:otherwise>
2393
+ </xsl:choose>
2394
+ <!-- <fo:table-column column-width="15%"/>
2395
+ <fo:table-column column-width="85%"/> -->
2396
+ </xsl:otherwise>
2397
+ </xsl:choose>
2398
+ </xsl:template><xsl:template name="getMaxLength_dt">
2399
+ <xsl:for-each select="*[local-name()='dt']">
2400
+ <xsl:sort select="string-length(normalize-space(.))" data-type="number" order="descending"/>
2401
+ <xsl:if test="position() = 1">
2402
+ <xsl:value-of select="string-length(normalize-space(.))"/>
2403
+ </xsl:if>
2404
+ </xsl:for-each>
2405
+ </xsl:template><xsl:template match="*[local-name()='dl']/*[local-name()='note']" priority="2">
2406
+ <xsl:param name="key_iso"/>
2407
+
2408
+ <!-- <tr>
2409
+ <td>NOTE</td>
2410
+ <td>
2411
+ <xsl:apply-templates />
2412
+ </td>
2413
+ </tr>
2414
+ -->
2415
+ <fo:table-row>
2416
+ <fo:table-cell>
2417
+ <fo:block margin-top="6pt">
2418
+ <xsl:if test="normalize-space($key_iso) = 'true'">
2419
+ <xsl:attribute name="margin-top">0</xsl:attribute>
2420
+ </xsl:if>
2421
+ <xsl:apply-templates select="*[local-name() = 'name']" mode="presentation"/>
2422
+ </fo:block>
2423
+ </fo:table-cell>
2424
+ <fo:table-cell>
2425
+ <fo:block>
2426
+ <xsl:apply-templates/>
2427
+ </fo:block>
2428
+ </fo:table-cell>
2429
+ </fo:table-row>
2430
+ </xsl:template><xsl:template match="*[local-name()='dt']" mode="dl">
2431
+ <tr>
2432
+ <td>
2433
+ <xsl:apply-templates/>
2434
+ </td>
2435
+ <td>
2436
+
2437
+
2438
+ <xsl:apply-templates select="following-sibling::*[local-name()='dd'][1]" mode="process"/>
2439
+
2440
+ </td>
2441
+ </tr>
2442
+
2443
+ </xsl:template><xsl:template match="*[local-name()='dt']">
2444
+ <xsl:param name="key_iso"/>
2445
+
2446
+ <fo:table-row>
2447
+ <fo:table-cell>
2448
+
2449
+ <xsl:if test="ancestor::*[1][local-name() = 'dl']/preceding-sibling::*[1][local-name() = 'formula']">
2450
+ <xsl:attribute name="padding-right">3mm</xsl:attribute>
2451
+ </xsl:if>
2452
+
2453
+ <fo:block margin-top="6pt">
2454
+
2455
+
2456
+ <xsl:if test="normalize-space($key_iso) = 'true'">
2457
+ <xsl:attribute name="margin-top">0</xsl:attribute>
2458
+
2459
+ </xsl:if>
2460
+
2461
+
2462
+
2463
+
2464
+ <xsl:if test="ancestor::*[1][local-name() = 'dl']/preceding-sibling::*[1][local-name() = 'formula']">
2465
+ <xsl:attribute name="text-align">right</xsl:attribute>
2466
+ </xsl:if>
2467
+
2468
+
2469
+ <xsl:apply-templates/>
2470
+ <!-- <xsl:if test="$namespace = 'gb'">
2471
+ <xsl:if test="ancestor::*[local-name()='formula']">
2472
+ <xsl:text>—</xsl:text>
2473
+ </xsl:if>
2474
+ </xsl:if> -->
2475
+ </fo:block>
2476
+ </fo:table-cell>
2477
+ <fo:table-cell>
2478
+ <fo:block>
2479
+
2480
+ <xsl:attribute name="text-align">justify</xsl:attribute>
2481
+
2482
+
2483
+
2484
+ <xsl:apply-templates select="following-sibling::*[local-name()='dd'][1]" mode="process"/>
2485
+
2486
+ </fo:block>
2487
+ </fo:table-cell>
2488
+ </fo:table-row>
2489
+
2490
+ </xsl:template><xsl:template match="*[local-name()='dd']" mode="dl"/><xsl:template match="*[local-name()='dd']" mode="dl_process">
2491
+ <xsl:apply-templates/>
2492
+ </xsl:template><xsl:template match="*[local-name()='dd']"/><xsl:template match="*[local-name()='dd']" mode="process">
2493
+ <xsl:apply-templates/>
2494
+ </xsl:template><xsl:template match="*[local-name()='dd']/*[local-name()='p']" mode="inline">
2495
+ <fo:inline><xsl:text> </xsl:text><xsl:apply-templates/></fo:inline>
2496
+ </xsl:template><xsl:template match="*[local-name()='em']">
2497
+ <fo:inline font-style="italic">
2498
+ <xsl:apply-templates/>
2499
+ </fo:inline>
2500
+ </xsl:template><xsl:template match="*[local-name()='strong'] | *[local-name()='b']">
2501
+ <fo:inline font-weight="bold">
2502
+ <xsl:apply-templates/>
2503
+ </fo:inline>
2504
+ </xsl:template><xsl:template match="*[local-name()='sup']">
2505
+ <fo:inline font-size="80%" vertical-align="super">
2506
+ <xsl:apply-templates/>
2507
+ </fo:inline>
2508
+ </xsl:template><xsl:template match="*[local-name()='sub']">
2509
+ <fo:inline font-size="80%" vertical-align="sub">
2510
+ <xsl:apply-templates/>
2511
+ </fo:inline>
2512
+ </xsl:template><xsl:template match="*[local-name()='tt']">
2513
+ <fo:inline xsl:use-attribute-sets="tt-style">
2514
+ <xsl:apply-templates/>
2515
+ </fo:inline>
2516
+ </xsl:template><xsl:template match="*[local-name()='del']">
2517
+ <fo:inline font-size="10pt" color="red" text-decoration="line-through">
2518
+ <xsl:apply-templates/>
2519
+ </fo:inline>
2520
+ </xsl:template><xsl:template match="text()[ancestor::*[local-name()='smallcap']]">
2521
+ <xsl:variable name="text" select="normalize-space(.)"/>
2522
+ <fo:inline font-size="75%">
2523
+ <xsl:if test="string-length($text) &gt; 0">
2524
+ <xsl:call-template name="recursiveSmallCaps">
2525
+ <xsl:with-param name="text" select="$text"/>
2526
+ </xsl:call-template>
2527
+ </xsl:if>
2528
+ </fo:inline>
2529
+ </xsl:template><xsl:template name="recursiveSmallCaps">
2530
+ <xsl:param name="text"/>
2531
+ <xsl:variable name="char" select="substring($text,1,1)"/>
2532
+ <!-- <xsl:variable name="upperCase" select="translate($char, $lower, $upper)"/> -->
2533
+ <xsl:variable name="upperCase" select="java:toUpperCase(java:java.lang.String.new($char))"/>
2534
+ <xsl:choose>
2535
+ <xsl:when test="$char=$upperCase">
2536
+ <fo:inline font-size="{100 div 0.75}%">
2537
+ <xsl:value-of select="$upperCase"/>
2538
+ </fo:inline>
2539
+ </xsl:when>
2540
+ <xsl:otherwise>
2541
+ <xsl:value-of select="$upperCase"/>
2542
+ </xsl:otherwise>
2543
+ </xsl:choose>
2544
+ <xsl:if test="string-length($text) &gt; 1">
2545
+ <xsl:call-template name="recursiveSmallCaps">
2546
+ <xsl:with-param name="text" select="substring($text,2)"/>
2547
+ </xsl:call-template>
2548
+ </xsl:if>
2549
+ </xsl:template><xsl:template name="tokenize">
2550
+ <xsl:param name="text"/>
2551
+ <xsl:param name="separator" select="' '"/>
2552
+ <xsl:choose>
2553
+ <xsl:when test="not(contains($text, $separator))">
2554
+ <word>
2555
+ <xsl:variable name="str_no_en_chars" select="normalize-space(translate($text, $en_chars, ''))"/>
2556
+ <xsl:variable name="len_str_no_en_chars" select="string-length($str_no_en_chars)"/>
2557
+ <xsl:variable name="len_str_tmp" select="string-length(normalize-space($text))"/>
2558
+ <xsl:variable name="len_str">
2559
+ <xsl:choose>
2560
+ <xsl:when test="normalize-space(translate($text, $upper, '')) = ''"> <!-- english word in CAPITAL letters -->
2561
+ <xsl:value-of select="$len_str_tmp * 1.5"/>
2562
+ </xsl:when>
2563
+ <xsl:otherwise>
2564
+ <xsl:value-of select="$len_str_tmp"/>
2565
+ </xsl:otherwise>
2566
+ </xsl:choose>
2567
+ </xsl:variable>
2568
+
2569
+ <!-- <xsl:if test="$len_str_no_en_chars div $len_str &gt; 0.8">
2570
+ <xsl:message>
2571
+ div=<xsl:value-of select="$len_str_no_en_chars div $len_str"/>
2572
+ len_str=<xsl:value-of select="$len_str"/>
2573
+ len_str_no_en_chars=<xsl:value-of select="$len_str_no_en_chars"/>
2574
+ </xsl:message>
2575
+ </xsl:if> -->
2576
+ <!-- <len_str_no_en_chars><xsl:value-of select="$len_str_no_en_chars"/></len_str_no_en_chars>
2577
+ <len_str><xsl:value-of select="$len_str"/></len_str> -->
2578
+ <xsl:choose>
2579
+ <xsl:when test="$len_str_no_en_chars div $len_str &gt; 0.8"> <!-- means non-english string -->
2580
+ <xsl:value-of select="$len_str - $len_str_no_en_chars"/>
2581
+ </xsl:when>
2582
+ <xsl:otherwise>
2583
+ <xsl:value-of select="$len_str"/>
2584
+ </xsl:otherwise>
2585
+ </xsl:choose>
2586
+ </word>
2587
+ </xsl:when>
2588
+ <xsl:otherwise>
2589
+ <word>
2590
+ <xsl:value-of select="string-length(normalize-space(substring-before($text, $separator)))"/>
2591
+ </word>
2592
+ <xsl:call-template name="tokenize">
2593
+ <xsl:with-param name="text" select="substring-after($text, $separator)"/>
2594
+ </xsl:call-template>
2595
+ </xsl:otherwise>
2596
+ </xsl:choose>
2597
+ </xsl:template><xsl:template name="max_length">
2598
+ <xsl:param name="words"/>
2599
+ <xsl:for-each select="$words//word">
2600
+ <xsl:sort select="." data-type="number" order="descending"/>
2601
+ <xsl:if test="position()=1">
2602
+ <xsl:value-of select="."/>
2603
+ </xsl:if>
2604
+ </xsl:for-each>
2605
+ </xsl:template><xsl:template name="add-zero-spaces-java">
2606
+ <xsl:param name="text" select="."/>
2607
+ <!-- add zero-width space (#x200B) after characters: dash, dot, colon, equal, underscore, em dash, thin space -->
2608
+ <xsl:value-of select="java:replaceAll(java:java.lang.String.new($text),'(-|\.|:|=|_|—| )','$1​')"/>
2609
+ </xsl:template><xsl:template name="add-zero-spaces">
2610
+ <xsl:param name="text" select="."/>
2611
+ <xsl:variable name="zero-space-after-chars">-</xsl:variable>
2612
+ <xsl:variable name="zero-space-after-dot">.</xsl:variable>
2613
+ <xsl:variable name="zero-space-after-colon">:</xsl:variable>
2614
+ <xsl:variable name="zero-space-after-equal">=</xsl:variable>
2615
+ <xsl:variable name="zero-space-after-underscore">_</xsl:variable>
2616
+ <xsl:variable name="zero-space">​</xsl:variable>
2617
+ <xsl:choose>
2618
+ <xsl:when test="contains($text, $zero-space-after-chars)">
2619
+ <xsl:value-of select="substring-before($text, $zero-space-after-chars)"/>
2620
+ <xsl:value-of select="$zero-space-after-chars"/>
2621
+ <xsl:value-of select="$zero-space"/>
2622
+ <xsl:call-template name="add-zero-spaces">
2623
+ <xsl:with-param name="text" select="substring-after($text, $zero-space-after-chars)"/>
2624
+ </xsl:call-template>
2625
+ </xsl:when>
2626
+ <xsl:when test="contains($text, $zero-space-after-dot)">
2627
+ <xsl:value-of select="substring-before($text, $zero-space-after-dot)"/>
2628
+ <xsl:value-of select="$zero-space-after-dot"/>
2629
+ <xsl:value-of select="$zero-space"/>
2630
+ <xsl:call-template name="add-zero-spaces">
2631
+ <xsl:with-param name="text" select="substring-after($text, $zero-space-after-dot)"/>
2632
+ </xsl:call-template>
2633
+ </xsl:when>
2634
+ <xsl:when test="contains($text, $zero-space-after-colon)">
2635
+ <xsl:value-of select="substring-before($text, $zero-space-after-colon)"/>
2636
+ <xsl:value-of select="$zero-space-after-colon"/>
2637
+ <xsl:value-of select="$zero-space"/>
2638
+ <xsl:call-template name="add-zero-spaces">
2639
+ <xsl:with-param name="text" select="substring-after($text, $zero-space-after-colon)"/>
2640
+ </xsl:call-template>
2641
+ </xsl:when>
2642
+ <xsl:when test="contains($text, $zero-space-after-equal)">
2643
+ <xsl:value-of select="substring-before($text, $zero-space-after-equal)"/>
2644
+ <xsl:value-of select="$zero-space-after-equal"/>
2645
+ <xsl:value-of select="$zero-space"/>
2646
+ <xsl:call-template name="add-zero-spaces">
2647
+ <xsl:with-param name="text" select="substring-after($text, $zero-space-after-equal)"/>
2648
+ </xsl:call-template>
2649
+ </xsl:when>
2650
+ <xsl:when test="contains($text, $zero-space-after-underscore)">
2651
+ <xsl:value-of select="substring-before($text, $zero-space-after-underscore)"/>
2652
+ <xsl:value-of select="$zero-space-after-underscore"/>
2653
+ <xsl:value-of select="$zero-space"/>
2654
+ <xsl:call-template name="add-zero-spaces">
2655
+ <xsl:with-param name="text" select="substring-after($text, $zero-space-after-underscore)"/>
2656
+ </xsl:call-template>
2657
+ </xsl:when>
2658
+ <xsl:otherwise>
2659
+ <xsl:value-of select="$text"/>
2660
+ </xsl:otherwise>
2661
+ </xsl:choose>
2662
+ </xsl:template><xsl:template name="add-zero-spaces-equal">
2663
+ <xsl:param name="text" select="."/>
2664
+ <xsl:variable name="zero-space-after-equals">==========</xsl:variable>
2665
+ <xsl:variable name="zero-space-after-equal">=</xsl:variable>
2666
+ <xsl:variable name="zero-space">​</xsl:variable>
2667
+ <xsl:choose>
2668
+ <xsl:when test="contains($text, $zero-space-after-equals)">
2669
+ <xsl:value-of select="substring-before($text, $zero-space-after-equals)"/>
2670
+ <xsl:value-of select="$zero-space-after-equals"/>
2671
+ <xsl:value-of select="$zero-space"/>
2672
+ <xsl:call-template name="add-zero-spaces-equal">
2673
+ <xsl:with-param name="text" select="substring-after($text, $zero-space-after-equals)"/>
2674
+ </xsl:call-template>
2675
+ </xsl:when>
2676
+ <xsl:when test="contains($text, $zero-space-after-equal)">
2677
+ <xsl:value-of select="substring-before($text, $zero-space-after-equal)"/>
2678
+ <xsl:value-of select="$zero-space-after-equal"/>
2679
+ <xsl:value-of select="$zero-space"/>
2680
+ <xsl:call-template name="add-zero-spaces-equal">
2681
+ <xsl:with-param name="text" select="substring-after($text, $zero-space-after-equal)"/>
2682
+ </xsl:call-template>
2683
+ </xsl:when>
2684
+ <xsl:otherwise>
2685
+ <xsl:value-of select="$text"/>
2686
+ </xsl:otherwise>
2687
+ </xsl:choose>
2688
+ </xsl:template><xsl:template name="getSimpleTable">
2689
+ <xsl:variable name="simple-table">
2690
+
2691
+ <!-- Step 1. colspan processing -->
2692
+ <xsl:variable name="simple-table-colspan">
2693
+ <tbody>
2694
+ <xsl:apply-templates mode="simple-table-colspan"/>
2695
+ </tbody>
2696
+ </xsl:variable>
2697
+
2698
+ <!-- Step 2. rowspan processing -->
2699
+ <xsl:variable name="simple-table-rowspan">
2700
+ <xsl:apply-templates select="xalan:nodeset($simple-table-colspan)" mode="simple-table-rowspan"/>
2701
+ </xsl:variable>
2702
+
2703
+ <xsl:copy-of select="xalan:nodeset($simple-table-rowspan)"/>
2704
+
2705
+ <!-- <xsl:choose>
2706
+ <xsl:when test="current()//*[local-name()='th'][@colspan] or current()//*[local-name()='td'][@colspan] ">
2707
+
2708
+ </xsl:when>
2709
+ <xsl:otherwise>
2710
+ <xsl:copy-of select="current()"/>
2711
+ </xsl:otherwise>
2712
+ </xsl:choose> -->
2713
+ </xsl:variable>
2714
+ <xsl:copy-of select="$simple-table"/>
2715
+ </xsl:template><xsl:template match="*[local-name()='thead'] | *[local-name()='tbody']" mode="simple-table-colspan">
2716
+ <xsl:apply-templates mode="simple-table-colspan"/>
2717
+ </xsl:template><xsl:template match="*[local-name()='fn']" mode="simple-table-colspan"/><xsl:template match="*[local-name()='th'] | *[local-name()='td']" mode="simple-table-colspan">
2718
+ <xsl:choose>
2719
+ <xsl:when test="@colspan">
2720
+ <xsl:variable name="td">
2721
+ <xsl:element name="td">
2722
+ <xsl:attribute name="divide"><xsl:value-of select="@colspan"/></xsl:attribute>
2723
+ <xsl:apply-templates select="@*" mode="simple-table-colspan"/>
2724
+ <xsl:apply-templates mode="simple-table-colspan"/>
2725
+ </xsl:element>
2726
+ </xsl:variable>
2727
+ <xsl:call-template name="repeatNode">
2728
+ <xsl:with-param name="count" select="@colspan"/>
2729
+ <xsl:with-param name="node" select="$td"/>
2730
+ </xsl:call-template>
2731
+ </xsl:when>
2732
+ <xsl:otherwise>
2733
+ <xsl:element name="td">
2734
+ <xsl:apply-templates select="@*" mode="simple-table-colspan"/>
2735
+ <xsl:apply-templates mode="simple-table-colspan"/>
2736
+ </xsl:element>
2737
+ </xsl:otherwise>
2738
+ </xsl:choose>
2739
+ </xsl:template><xsl:template match="@colspan" mode="simple-table-colspan"/><xsl:template match="*[local-name()='tr']" mode="simple-table-colspan">
2740
+ <xsl:element name="tr">
2741
+ <xsl:apply-templates select="@*" mode="simple-table-colspan"/>
2742
+ <xsl:apply-templates mode="simple-table-colspan"/>
2743
+ </xsl:element>
2744
+ </xsl:template><xsl:template match="@*|node()" mode="simple-table-colspan">
2745
+ <xsl:copy>
2746
+ <xsl:apply-templates select="@*|node()" mode="simple-table-colspan"/>
2747
+ </xsl:copy>
2748
+ </xsl:template><xsl:template name="repeatNode">
2749
+ <xsl:param name="count"/>
2750
+ <xsl:param name="node"/>
2751
+
2752
+ <xsl:if test="$count &gt; 0">
2753
+ <xsl:call-template name="repeatNode">
2754
+ <xsl:with-param name="count" select="$count - 1"/>
2755
+ <xsl:with-param name="node" select="$node"/>
2756
+ </xsl:call-template>
2757
+ <xsl:copy-of select="$node"/>
2758
+ </xsl:if>
2759
+ </xsl:template><xsl:template match="@*|node()" mode="simple-table-rowspan">
2760
+ <xsl:copy>
2761
+ <xsl:apply-templates select="@*|node()" mode="simple-table-rowspan"/>
2762
+ </xsl:copy>
2763
+ </xsl:template><xsl:template match="tbody" mode="simple-table-rowspan">
2764
+ <xsl:copy>
2765
+ <xsl:copy-of select="tr[1]"/>
2766
+ <xsl:apply-templates select="tr[2]" mode="simple-table-rowspan">
2767
+ <xsl:with-param name="previousRow" select="tr[1]"/>
2768
+ </xsl:apply-templates>
2769
+ </xsl:copy>
2770
+ </xsl:template><xsl:template match="tr" mode="simple-table-rowspan">
2771
+ <xsl:param name="previousRow"/>
2772
+ <xsl:variable name="currentRow" select="."/>
2773
+
2774
+ <xsl:variable name="normalizedTDs">
2775
+ <xsl:for-each select="xalan:nodeset($previousRow)//td">
2776
+ <xsl:choose>
2777
+ <xsl:when test="@rowspan &gt; 1">
2778
+ <xsl:copy>
2779
+ <xsl:attribute name="rowspan">
2780
+ <xsl:value-of select="@rowspan - 1"/>
2781
+ </xsl:attribute>
2782
+ <xsl:copy-of select="@*[not(name() = 'rowspan')]"/>
2783
+ <xsl:copy-of select="node()"/>
2784
+ </xsl:copy>
2785
+ </xsl:when>
2786
+ <xsl:otherwise>
2787
+ <xsl:copy-of select="$currentRow/td[1 + count(current()/preceding-sibling::td[not(@rowspan) or (@rowspan = 1)])]"/>
2788
+ </xsl:otherwise>
2789
+ </xsl:choose>
2790
+ </xsl:for-each>
2791
+ </xsl:variable>
2792
+
2793
+ <xsl:variable name="newRow">
2794
+ <xsl:copy>
2795
+ <xsl:copy-of select="$currentRow/@*"/>
2796
+ <xsl:copy-of select="xalan:nodeset($normalizedTDs)"/>
2797
+ </xsl:copy>
2798
+ </xsl:variable>
2799
+ <xsl:copy-of select="$newRow"/>
2800
+
2801
+ <xsl:apply-templates select="following-sibling::tr[1]" mode="simple-table-rowspan">
2802
+ <xsl:with-param name="previousRow" select="$newRow"/>
2803
+ </xsl:apply-templates>
2804
+ </xsl:template><xsl:template name="getLang">
2805
+ <xsl:variable name="language" select="//*[local-name()='bibdata']//*[local-name()='language']"/>
2806
+ <xsl:choose>
2807
+ <xsl:when test="$language = 'English'">en</xsl:when>
2808
+ <xsl:otherwise><xsl:value-of select="$language"/></xsl:otherwise>
2809
+ </xsl:choose>
2810
+ </xsl:template><xsl:template name="capitalizeWords">
2811
+ <xsl:param name="str"/>
2812
+ <xsl:variable name="str2" select="translate($str, '-', ' ')"/>
2813
+ <xsl:choose>
2814
+ <xsl:when test="contains($str2, ' ')">
2815
+ <xsl:variable name="substr" select="substring-before($str2, ' ')"/>
2816
+ <!-- <xsl:value-of select="translate(substring($substr, 1, 1), $lower, $upper)"/>
2817
+ <xsl:value-of select="substring($substr, 2)"/> -->
2818
+ <xsl:call-template name="capitalize">
2819
+ <xsl:with-param name="str" select="$substr"/>
2820
+ </xsl:call-template>
2821
+ <xsl:text> </xsl:text>
2822
+ <xsl:call-template name="capitalizeWords">
2823
+ <xsl:with-param name="str" select="substring-after($str2, ' ')"/>
2824
+ </xsl:call-template>
2825
+ </xsl:when>
2826
+ <xsl:otherwise>
2827
+ <!-- <xsl:value-of select="translate(substring($str2, 1, 1), $lower, $upper)"/>
2828
+ <xsl:value-of select="substring($str2, 2)"/> -->
2829
+ <xsl:call-template name="capitalize">
2830
+ <xsl:with-param name="str" select="$str2"/>
2831
+ </xsl:call-template>
2832
+ </xsl:otherwise>
2833
+ </xsl:choose>
2834
+ </xsl:template><xsl:template name="capitalize">
2835
+ <xsl:param name="str"/>
2836
+ <xsl:value-of select="java:toUpperCase(java:java.lang.String.new(substring($str, 1, 1)))"/>
2837
+ <xsl:value-of select="substring($str, 2)"/>
2838
+ </xsl:template><xsl:template match="mathml:math">
2839
+ <fo:inline font-family="STIX2Math">
2840
+ <fo:instream-foreign-object fox:alt-text="Math">
2841
+ <xsl:copy-of select="."/>
2842
+ </fo:instream-foreign-object>
2843
+ </fo:inline>
2844
+ </xsl:template><xsl:template match="*[local-name()='localityStack']"/><xsl:template match="*[local-name()='link']" name="link">
2845
+ <xsl:variable name="target">
2846
+ <xsl:choose>
2847
+ <xsl:when test="starts-with(normalize-space(@target), 'mailto:')">
2848
+ <xsl:value-of select="normalize-space(substring-after(@target, 'mailto:'))"/>
2849
+ </xsl:when>
2850
+ <xsl:otherwise>
2851
+ <xsl:value-of select="normalize-space(@target)"/>
2852
+ </xsl:otherwise>
2853
+ </xsl:choose>
2854
+ </xsl:variable>
2855
+ <fo:inline xsl:use-attribute-sets="link-style">
2856
+ <xsl:choose>
2857
+ <xsl:when test="$target = ''">
2858
+ <xsl:apply-templates/>
2859
+ </xsl:when>
2860
+ <xsl:otherwise>
2861
+ <fo:basic-link external-destination="{@target}" fox:alt-text="{@target}">
2862
+ <xsl:choose>
2863
+ <xsl:when test="normalize-space(.) = ''">
2864
+ <xsl:value-of select="$target"/>
2865
+ </xsl:when>
2866
+ <xsl:otherwise>
2867
+ <xsl:apply-templates/>
2868
+ </xsl:otherwise>
2869
+ </xsl:choose>
2870
+ </fo:basic-link>
2871
+ </xsl:otherwise>
2872
+ </xsl:choose>
2873
+ </fo:inline>
2874
+ </xsl:template><xsl:template match="*[local-name()='bookmark']">
2875
+ <fo:inline id="{@id}"/>
2876
+ </xsl:template><xsl:template match="*[local-name()='appendix']">
2877
+ <fo:block id="{@id}" xsl:use-attribute-sets="appendix-style">
2878
+ <xsl:apply-templates select="*[local-name()='title']" mode="process"/>
2879
+ </fo:block>
2880
+ <xsl:apply-templates/>
2881
+ </xsl:template><xsl:template match="*[local-name()='appendix']/*[local-name()='title']"/><xsl:template match="*[local-name()='appendix']/*[local-name()='title']" mode="process">
2882
+ <fo:inline><xsl:apply-templates/></fo:inline>
2883
+ </xsl:template><xsl:template match="*[local-name()='appendix']//*[local-name()='example']" priority="2">
2884
+ <fo:block id="{@id}" xsl:use-attribute-sets="appendix-example-style">
2885
+ <xsl:apply-templates select="*[local-name()='name']" mode="presentation"/>
2886
+ </fo:block>
2887
+ <xsl:apply-templates/>
2888
+ </xsl:template><xsl:template match="*[local-name() = 'callout']">
2889
+ <fo:basic-link internal-destination="{@target}" fox:alt-text="{@target}">&lt;<xsl:apply-templates/>&gt;</fo:basic-link>
2890
+ </xsl:template><xsl:template match="*[local-name() = 'annotation']">
2891
+ <xsl:variable name="annotation-id" select="@id"/>
2892
+ <xsl:variable name="callout" select="//*[@target = $annotation-id]/text()"/>
2893
+ <fo:block id="{$annotation-id}" white-space="nowrap">
2894
+ <fo:inline>
2895
+ <xsl:apply-templates>
2896
+ <xsl:with-param name="callout" select="concat('&lt;', $callout, '&gt; ')"/>
2897
+ </xsl:apply-templates>
2898
+ </fo:inline>
2899
+ </fo:block>
2900
+ </xsl:template><xsl:template match="*[local-name() = 'annotation']/*[local-name() = 'p']">
2901
+ <xsl:param name="callout"/>
2902
+ <fo:inline id="{@id}">
2903
+ <!-- for first p in annotation, put <x> -->
2904
+ <xsl:if test="not(preceding-sibling::*[local-name() = 'p'])"><xsl:value-of select="$callout"/></xsl:if>
2905
+ <xsl:apply-templates/>
2906
+ </fo:inline>
2907
+ </xsl:template><xsl:template match="*[local-name() = 'modification']">
2908
+ <xsl:variable name="title-modified">
2909
+ <xsl:call-template name="getTitle">
2910
+ <xsl:with-param name="name" select="'title-modified'"/>
2911
+ </xsl:call-template>
2912
+ </xsl:variable>
2913
+ <xsl:choose>
2914
+ <xsl:when test="$lang = 'zh'"><xsl:text>、</xsl:text><xsl:value-of select="$title-modified"/><xsl:text>—</xsl:text></xsl:when>
2915
+ <xsl:otherwise><xsl:text>, </xsl:text><xsl:value-of select="$title-modified"/><xsl:text> — </xsl:text></xsl:otherwise>
2916
+ </xsl:choose>
2917
+ <xsl:apply-templates/>
2918
+ </xsl:template><xsl:template match="*[local-name() = 'xref']">
2919
+ <fo:basic-link internal-destination="{@target}" fox:alt-text="{@target}" xsl:use-attribute-sets="xref-style">
2920
+
2921
+ <xsl:apply-templates/>
2922
+ </fo:basic-link>
2923
+ </xsl:template><xsl:template match="*[local-name() = 'formula']" name="formula">
2924
+ <fo:block id="{@id}" xsl:use-attribute-sets="formula-style">
2925
+ <xsl:apply-templates/>
2926
+ </fo:block>
2927
+ </xsl:template><xsl:template match="*[local-name() = 'formula']/*[local-name() = 'dt']/*[local-name() = 'stem']">
2928
+ <fo:inline>
2929
+ <xsl:apply-templates/>
2930
+ </fo:inline>
2931
+ </xsl:template><xsl:template match="*[local-name() = 'admitted']/*[local-name() = 'stem']">
2932
+ <fo:inline>
2933
+ <xsl:apply-templates/>
2934
+ </fo:inline>
2935
+ </xsl:template><xsl:template match="*[local-name() = 'formula']/*[local-name() = 'name']"/><xsl:template match="*[local-name() = 'formula']/*[local-name() = 'name']" mode="presentation">
2936
+ <xsl:if test="normalize-space() != ''">
2937
+ <xsl:text>(</xsl:text><xsl:apply-templates/><xsl:text>)</xsl:text>
2938
+ </xsl:if>
2939
+ </xsl:template><xsl:template match="*[local-name() = 'note']" name="note">
2940
+
2941
+ <fo:block-container id="{@id}" xsl:use-attribute-sets="note-style">
2942
+
2943
+
2944
+
2945
+
2946
+ <fo:block-container margin-left="0mm">
2947
+
2948
+
2949
+
2950
+
2951
+
2952
+
2953
+
2954
+
2955
+ <fo:block>
2956
+
2957
+ <xsl:if test="ancestor::itu:figure">
2958
+ <xsl:attribute name="keep-with-previous">always</xsl:attribute>
2959
+ </xsl:if>
2960
+
2961
+
2962
+
2963
+
2964
+ <fo:inline xsl:use-attribute-sets="note-name-style">
2965
+ <xsl:apply-templates select="*[local-name() = 'name']" mode="presentation"/>
2966
+ </fo:inline>
2967
+ <xsl:apply-templates/>
2968
+ </fo:block>
2969
+
2970
+
2971
+ </fo:block-container>
2972
+ </fo:block-container>
2973
+
2974
+ </xsl:template><xsl:template match="*[local-name() = 'note']/*[local-name() = 'p']">
2975
+ <xsl:variable name="num"><xsl:number/></xsl:variable>
2976
+ <xsl:choose>
2977
+ <xsl:when test="$num = 1">
2978
+ <fo:inline xsl:use-attribute-sets="note-p-style">
2979
+ <xsl:apply-templates/>
2980
+ </fo:inline>
2981
+ </xsl:when>
2982
+ <xsl:otherwise>
2983
+ <fo:block xsl:use-attribute-sets="note-p-style">
2984
+ <xsl:apply-templates/>
2985
+ </fo:block>
2986
+ </xsl:otherwise>
2987
+ </xsl:choose>
2988
+ </xsl:template><xsl:template match="*[local-name() = 'termnote']">
2989
+ <fo:block id="{@id}" xsl:use-attribute-sets="termnote-style">
2990
+ <xsl:apply-templates select="*[local-name() = 'name']" mode="presentation"/>
2991
+ <xsl:apply-templates/>
2992
+ </fo:block>
2993
+ </xsl:template><xsl:template match="*[local-name() = 'note']/*[local-name() = 'name'] | *[local-name() = 'termnote']/*[local-name() = 'name']"/><xsl:template match="*[local-name() = 'note']/*[local-name() = 'name']" mode="presentation">
2994
+ <xsl:param name="sfx"/>
2995
+ <xsl:variable name="suffix">
2996
+ <xsl:choose>
2997
+ <xsl:when test="$sfx != ''">
2998
+ <xsl:value-of select="$sfx"/>
2999
+ </xsl:when>
3000
+ <xsl:otherwise>
3001
+
3002
+
3003
+ <xsl:text> – </xsl:text>
3004
+
3005
+ </xsl:otherwise>
3006
+ </xsl:choose>
3007
+ </xsl:variable>
3008
+ <xsl:if test="normalize-space() != ''">
3009
+ <xsl:apply-templates/>
3010
+ <xsl:value-of select="$suffix"/>
3011
+ </xsl:if>
3012
+ </xsl:template><xsl:template match="*[local-name() = 'termnote']/*[local-name() = 'name']" mode="presentation">
3013
+ <xsl:param name="sfx"/>
3014
+ <xsl:variable name="suffix">
3015
+ <xsl:choose>
3016
+ <xsl:when test="$sfx != ''">
3017
+ <xsl:value-of select="$sfx"/>
3018
+ </xsl:when>
3019
+ <xsl:otherwise>
3020
+
3021
+
3022
+ <xsl:text> – </xsl:text>
3023
+
3024
+ </xsl:otherwise>
3025
+ </xsl:choose>
3026
+ </xsl:variable>
3027
+ <xsl:if test="normalize-space() != ''">
3028
+ <xsl:apply-templates/>
3029
+ <xsl:value-of select="$suffix"/>
3030
+ </xsl:if>
3031
+ </xsl:template><xsl:template match="*[local-name() = 'termnote']/*[local-name() = 'p']">
3032
+ <fo:inline><xsl:apply-templates/></fo:inline>
3033
+ </xsl:template><xsl:template match="*[local-name() = 'terms']">
3034
+ <fo:block id="{@id}">
3035
+ <xsl:apply-templates/>
3036
+ </fo:block>
3037
+ </xsl:template><xsl:template match="*[local-name() = 'term']">
3038
+ <fo:block id="{@id}" xsl:use-attribute-sets="term-style">
3039
+
3040
+
3041
+
3042
+ <xsl:apply-templates/>
3043
+ </fo:block>
3044
+ </xsl:template><xsl:template match="*[local-name() = 'term']/*[local-name() = 'name']"/><xsl:template match="*[local-name() = 'term']/*[local-name() = 'name']" mode="presentation">
3045
+ <xsl:if test="normalize-space() != ''">
3046
+ <fo:inline>
3047
+ <xsl:apply-templates/>
3048
+ <!-- <xsl:if test="$namespace = 'gb' or $namespace = 'ogc'">
3049
+ <xsl:text>.</xsl:text>
3050
+ </xsl:if> -->
3051
+ </fo:inline>
3052
+ </xsl:if>
3053
+ </xsl:template><xsl:template match="*[local-name() = 'figure']">
3054
+ <fo:block-container id="{@id}">
3055
+ <fo:block>
3056
+ <xsl:apply-templates/>
3057
+ </fo:block>
3058
+ <xsl:call-template name="fn_display_figure"/>
3059
+ <xsl:for-each select="*[local-name() = 'note']">
3060
+ <xsl:call-template name="note"/>
3061
+ </xsl:for-each>
3062
+ <xsl:apply-templates select="*[local-name() = 'name']" mode="presentation"/>
3063
+ </fo:block-container>
3064
+ </xsl:template><xsl:template match="*[local-name() = 'figure'][@class = 'pseudocode']">
3065
+ <fo:block id="{@id}">
3066
+ <xsl:apply-templates/>
3067
+ </fo:block>
3068
+ </xsl:template><xsl:template match="*[local-name() = 'figure'][@class = 'pseudocode']//*[local-name() = 'p']">
3069
+ <fo:block xsl:use-attribute-sets="figure-pseudocode-p-style">
3070
+ <xsl:apply-templates/>
3071
+ </fo:block>
3072
+ </xsl:template><xsl:template match="*[local-name() = 'image']">
3073
+ <fo:block xsl:use-attribute-sets="image-style">
3074
+
3075
+
3076
+ <xsl:variable name="src">
3077
+ <xsl:choose>
3078
+ <xsl:when test="@mimetype = 'image/svg+xml' and $images/images/image[@id = current()/@id]">
3079
+ <xsl:value-of select="$images/images/image[@id = current()/@id]/@src"/>
3080
+ </xsl:when>
3081
+ <xsl:otherwise>
3082
+ <xsl:value-of select="@src"/>
3083
+ </xsl:otherwise>
3084
+ </xsl:choose>
3085
+ </xsl:variable>
3086
+
3087
+ <fo:external-graphic src="{$src}" fox:alt-text="Image {@alt}" xsl:use-attribute-sets="image-graphic-style"/>
3088
+ </fo:block>
3089
+ </xsl:template><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name']"/><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name'] | *[local-name() = 'table']/*[local-name() = 'name'] | *[local-name() = 'permission']/*[local-name() = 'name'] | *[local-name() = 'recommendation']/*[local-name() = 'name'] | *[local-name() = 'requirement']/*[local-name() = 'name']" mode="contents">
3090
+ <xsl:apply-templates mode="contents"/>
3091
+ <xsl:text> </xsl:text>
3092
+ </xsl:template><xsl:template match="text()" mode="contents">
3093
+ <xsl:value-of select="."/>
3094
+ </xsl:template><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name'] | *[local-name() = 'image']/*[local-name() = 'name']" mode="presentation">
3095
+ <xsl:if test="normalize-space() != ''">
3096
+ <fo:block xsl:use-attribute-sets="figure-name-style">
3097
+
3098
+ <xsl:apply-templates/>
3099
+ </fo:block>
3100
+ </xsl:if>
3101
+ </xsl:template><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'fn']" priority="2"/><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'note']"/><xsl:template match="*[local-name() = 'title']" mode="contents_item">
3102
+ <xsl:apply-templates mode="contents_item"/>
3103
+ <!-- <xsl:text> </xsl:text> -->
3104
+ </xsl:template><xsl:template name="getSection">
3105
+ <xsl:value-of select="*[local-name() = 'title']/*[local-name() = 'tab'][1]/preceding-sibling::node()"/>
3106
+ </xsl:template><xsl:template name="getName">
3107
+ <xsl:choose>
3108
+ <xsl:when test="*[local-name() = 'title']/*[local-name() = 'tab']">
3109
+ <xsl:copy-of select="*[local-name() = 'title']/*[local-name() = 'tab'][1]/following-sibling::node()"/>
3110
+ </xsl:when>
3111
+ <xsl:otherwise>
3112
+ <xsl:copy-of select="*[local-name() = 'title']/node()"/>
3113
+ </xsl:otherwise>
3114
+ </xsl:choose>
3115
+ </xsl:template><xsl:template name="insertTitleAsListItem">
3116
+ <xsl:param name="provisional-distance-between-starts" select="'9.5mm'"/>
3117
+ <xsl:variable name="section">
3118
+ <xsl:for-each select="..">
3119
+ <xsl:call-template name="getSection"/>
3120
+ </xsl:for-each>
3121
+ </xsl:variable>
3122
+ <fo:list-block provisional-distance-between-starts="{$provisional-distance-between-starts}">
3123
+ <fo:list-item>
3124
+ <fo:list-item-label end-indent="label-end()">
3125
+ <fo:block>
3126
+ <xsl:value-of select="$section"/>
3127
+ </fo:block>
3128
+ </fo:list-item-label>
3129
+ <fo:list-item-body start-indent="body-start()">
3130
+ <fo:block>
3131
+ <xsl:choose>
3132
+ <xsl:when test="*[local-name() = 'tab']">
3133
+ <xsl:apply-templates select="*[local-name() = 'tab'][1]/following-sibling::node()"/>
3134
+ </xsl:when>
3135
+ <xsl:otherwise>
3136
+ <xsl:apply-templates/>
3137
+ </xsl:otherwise>
3138
+ </xsl:choose>
3139
+ </fo:block>
3140
+ </fo:list-item-body>
3141
+ </fo:list-item>
3142
+ </fo:list-block>
3143
+ </xsl:template><xsl:template name="extractTitle">
3144
+ <xsl:choose>
3145
+ <xsl:when test="*[local-name() = 'tab']">
3146
+ <xsl:apply-templates select="*[local-name() = 'tab'][1]/following-sibling::node()"/>
3147
+ </xsl:when>
3148
+ <xsl:otherwise>
3149
+ <xsl:apply-templates/>
3150
+ </xsl:otherwise>
3151
+ </xsl:choose>
3152
+ </xsl:template><xsl:template match="*[local-name() = 'fn']" mode="contents"/><xsl:template match="*[local-name() = 'fn']" mode="contents_item"/><xsl:template match="*[local-name() = 'tab']" mode="contents_item">
3153
+ <xsl:text> </xsl:text>
3154
+ </xsl:template><xsl:template match="*[local-name() = 'strong']" mode="contents_item">
3155
+ <xsl:copy>
3156
+ <xsl:apply-templates mode="contents_item"/>
3157
+ </xsl:copy>
3158
+ </xsl:template><xsl:template match="*[local-name() = 'br']" mode="contents_item">
3159
+ <xsl:text> </xsl:text>
3160
+ </xsl:template><xsl:template match="*[local-name()='sourcecode']" name="sourcecode">
3161
+ <fo:block xsl:use-attribute-sets="sourcecode-style">
3162
+ <xsl:apply-templates/>
3163
+ </fo:block>
3164
+ <xsl:apply-templates select="*[local-name()='name']" mode="presentation"/>
3165
+ </xsl:template><xsl:template match="*[local-name()='sourcecode']/text()">
3166
+ <xsl:variable name="text">
3167
+ <xsl:call-template name="add-zero-spaces-equal"/>
3168
+ </xsl:variable>
3169
+ <xsl:call-template name="add-zero-spaces">
3170
+ <xsl:with-param name="text" select="$text"/>
3171
+ </xsl:call-template>
3172
+ </xsl:template><xsl:template match="*[local-name() = 'sourcecode']/*[local-name() = 'name']"/><xsl:template match="*[local-name() = 'sourcecode']/*[local-name() = 'name']" mode="presentation">
3173
+ <xsl:if test="normalize-space() != ''">
3174
+ <fo:block xsl:use-attribute-sets="sourcecode-name-style">
3175
+
3176
+ <xsl:apply-templates/>
3177
+ </fo:block>
3178
+ </xsl:if>
3179
+ </xsl:template><xsl:template match="*[local-name() = 'permission']">
3180
+ <fo:block id="{@id}" xsl:use-attribute-sets="permission-style">
3181
+ <xsl:apply-templates select="*[local-name()='name']" mode="presentation"/>
3182
+ <xsl:apply-templates/>
3183
+ </fo:block>
3184
+ </xsl:template><xsl:template match="*[local-name() = 'permission']/*[local-name() = 'name']"/><xsl:template match="*[local-name() = 'permission']/*[local-name() = 'name']" mode="presentation">
3185
+ <xsl:if test="normalize-space() != ''">
3186
+ <fo:block xsl:use-attribute-sets="permission-name-style">
3187
+ <xsl:apply-templates/>
3188
+
3189
+ </fo:block>
3190
+ </xsl:if>
3191
+ </xsl:template><xsl:template match="*[local-name() = 'permission']/*[local-name() = 'label']">
3192
+ <fo:block xsl:use-attribute-sets="permission-label-style">
3193
+ <xsl:apply-templates/>
3194
+ </fo:block>
3195
+ </xsl:template><xsl:template match="*[local-name() = 'requirement']">
3196
+ <fo:block id="{@id}" xsl:use-attribute-sets="requirement-style">
3197
+ <xsl:apply-templates select="*[local-name()='name']" mode="presentation"/>
3198
+ <xsl:apply-templates select="*[local-name()='label']" mode="presentation"/>
3199
+ <xsl:apply-templates select="@obligation" mode="presentation"/>
3200
+ <xsl:apply-templates select="*[local-name()='subject']" mode="presentation"/>
3201
+ <xsl:apply-templates/>
3202
+ </fo:block>
3203
+ </xsl:template><xsl:template match="*[local-name() = 'requirement']/*[local-name() = 'name']"/><xsl:template match="*[local-name() = 'requirement']/*[local-name() = 'name']" mode="presentation">
3204
+ <xsl:if test="normalize-space() != ''">
3205
+ <fo:block xsl:use-attribute-sets="requirement-name-style">
3206
+
3207
+ <xsl:apply-templates/>
3208
+
3209
+ </fo:block>
3210
+ </xsl:if>
3211
+ </xsl:template><xsl:template match="*[local-name() = 'requirement']/*[local-name() = 'label']"/><xsl:template match="*[local-name() = 'requirement']/*[local-name() = 'label']" mode="presentation">
3212
+ <fo:block xsl:use-attribute-sets="requirement-label-style">
3213
+ <xsl:apply-templates/>
3214
+ </fo:block>
3215
+ </xsl:template><xsl:template match="*[local-name() = 'requirement']/@obligation" mode="presentation">
3216
+ <fo:block>
3217
+ <fo:inline padding-right="3mm">Obligation</fo:inline><xsl:value-of select="."/>
3218
+ </fo:block>
3219
+ </xsl:template><xsl:template match="*[local-name() = 'requirement']/*[local-name() = 'subject']"/><xsl:template match="*[local-name() = 'requirement']/*[local-name() = 'subject']" mode="presentation">
3220
+ <fo:block xsl:use-attribute-sets="requirement-subject-style">
3221
+ <xsl:text>Target Type </xsl:text><xsl:apply-templates/>
3222
+ </fo:block>
3223
+ </xsl:template><xsl:template match="*[local-name() = 'requirement']/*[local-name() = 'inherit']">
3224
+ <fo:block xsl:use-attribute-sets="requirement-inherit-style">
3225
+ <xsl:text>Dependency </xsl:text><xsl:apply-templates/>
3226
+ </fo:block>
3227
+ </xsl:template><xsl:template match="*[local-name() = 'recommendation']">
3228
+ <fo:block id="{@id}" xsl:use-attribute-sets="recommendation-style">
3229
+ <xsl:apply-templates select="*[local-name()='name']" mode="presentation"/>
3230
+ <xsl:apply-templates/>
3231
+ </fo:block>
3232
+ </xsl:template><xsl:template match="*[local-name() = 'recommendation']/*[local-name() = 'name']"/><xsl:template match="*[local-name() = 'recommendation']/*[local-name() = 'name']" mode="presentation">
3233
+ <xsl:if test="normalize-space() != ''">
3234
+ <fo:block xsl:use-attribute-sets="recommendation-name-style">
3235
+ <xsl:apply-templates/>
3236
+
3237
+ </fo:block>
3238
+ </xsl:if>
3239
+ </xsl:template><xsl:template match="*[local-name() = 'recommendation']/*[local-name() = 'label']">
3240
+ <fo:block xsl:use-attribute-sets="recommendation-label-style">
3241
+ <xsl:apply-templates/>
3242
+ </fo:block>
3243
+ </xsl:template><xsl:template match="*[local-name() = 'termexample']">
3244
+ <fo:block id="{@id}" xsl:use-attribute-sets="termexample-style">
3245
+ <xsl:apply-templates select="*[local-name()='name']" mode="presentation"/>
3246
+ <xsl:apply-templates/>
3247
+ </fo:block>
3248
+ </xsl:template><xsl:template match="*[local-name() = 'termexample']/*[local-name() = 'name']"/><xsl:template match="*[local-name() = 'termexample']/*[local-name() = 'name']" mode="presentation">
3249
+ <xsl:if test="normalize-space() != ''">
3250
+ <fo:inline xsl:use-attribute-sets="termexample-name-style">
3251
+ <xsl:apply-templates/>
3252
+ </fo:inline>
3253
+ </xsl:if>
3254
+ </xsl:template><xsl:template match="*[local-name() = 'termexample']/*[local-name() = 'p']">
3255
+ <fo:inline><xsl:apply-templates/></fo:inline>
3256
+ </xsl:template><xsl:template match="*[local-name() = 'example']">
3257
+ <fo:block id="{@id}" xsl:use-attribute-sets="example-style">
3258
+
3259
+ <xsl:apply-templates select="*[local-name()='name']" mode="presentation"/>
3260
+
3261
+ <xsl:variable name="element">
3262
+ block
3263
+
3264
+ </xsl:variable>
3265
+
3266
+ <xsl:choose>
3267
+ <xsl:when test="normalize-space($element) = 'block'">
3268
+ <fo:block xsl:use-attribute-sets="example-body-style">
3269
+ <xsl:apply-templates/>
3270
+ </fo:block>
3271
+ </xsl:when>
3272
+ <xsl:otherwise>
3273
+ <fo:inline>
3274
+ <xsl:apply-templates/>
3275
+ </fo:inline>
3276
+ </xsl:otherwise>
3277
+ </xsl:choose>
3278
+
3279
+ </fo:block>
3280
+ </xsl:template><xsl:template match="*[local-name() = 'example']/*[local-name() = 'name']"/><xsl:template match="*[local-name() = 'example']/*[local-name() = 'name']" mode="presentation">
3281
+
3282
+ <xsl:variable name="element">
3283
+ block
3284
+
3285
+ </xsl:variable>
3286
+ <xsl:choose>
3287
+ <xsl:when test="ancestor::*[local-name() = 'appendix']">
3288
+ <fo:inline>
3289
+ <xsl:apply-templates/>
3290
+ </fo:inline>
3291
+ </xsl:when>
3292
+ <xsl:when test="normalize-space($element) = 'block'">
3293
+ <fo:block xsl:use-attribute-sets="example-name-style">
3294
+ <xsl:apply-templates/>
3295
+ </fo:block>
3296
+ </xsl:when>
3297
+ <xsl:otherwise>
3298
+ <fo:inline xsl:use-attribute-sets="example-name-style">
3299
+ <xsl:apply-templates/>
3300
+ </fo:inline>
3301
+ </xsl:otherwise>
3302
+ </xsl:choose>
3303
+
3304
+ </xsl:template><xsl:template match="*[local-name() = 'example']/*[local-name() = 'p']">
3305
+ <fo:block xsl:use-attribute-sets="example-p-style">
3306
+
3307
+ <xsl:apply-templates/>
3308
+ </fo:block>
3309
+ </xsl:template><xsl:template match="*[local-name() = 'termsource']">
3310
+ <fo:block xsl:use-attribute-sets="termsource-style">
3311
+ <!-- Example: [SOURCE: ISO 5127:2017, 3.1.6.02] -->
3312
+ <xsl:variable name="termsource_text">
3313
+ <xsl:apply-templates/>
3314
+ </xsl:variable>
3315
+ <xsl:choose>
3316
+ <xsl:when test="starts-with(normalize-space($termsource_text), '[')">
3317
+ <xsl:apply-templates/>
3318
+ </xsl:when>
3319
+ <xsl:otherwise>
3320
+ <xsl:text>[</xsl:text>
3321
+ <xsl:apply-templates/>
3322
+ <xsl:text>]</xsl:text>
3323
+ </xsl:otherwise>
3324
+ </xsl:choose>
3325
+ </fo:block>
3326
+ </xsl:template><xsl:template match="*[local-name() = 'termsource']/text()">
3327
+ <xsl:if test="normalize-space() != ''">
3328
+ <xsl:value-of select="."/>
3329
+ </xsl:if>
3330
+ </xsl:template><xsl:template match="*[local-name() = 'origin']">
3331
+ <fo:basic-link internal-destination="{@bibitemid}" fox:alt-text="{@citeas}">
3332
+
3333
+ <fo:inline xsl:use-attribute-sets="origin-style">
3334
+ <xsl:apply-templates/>
3335
+ </fo:inline>
3336
+ </fo:basic-link>
3337
+ </xsl:template><xsl:template match="*[local-name() = 'modification']/*[local-name() = 'p']">
3338
+ <fo:inline><xsl:apply-templates/></fo:inline>
3339
+ </xsl:template><xsl:template match="*[local-name() = 'modification']/text()">
3340
+ <xsl:if test="normalize-space() != ''">
3341
+ <xsl:value-of select="."/>
3342
+ </xsl:if>
3343
+ </xsl:template><xsl:template match="*[local-name() = 'quote']">
3344
+
3345
+ <fo:block xsl:use-attribute-sets="quote-style">
3346
+ <xsl:apply-templates select=".//*[local-name() = 'p']"/>
3347
+ </fo:block>
3348
+ <xsl:if test="*[local-name() = 'author'] or *[local-name() = 'source']">
3349
+ <fo:block xsl:use-attribute-sets="quote-source-style">
3350
+ <!-- — ISO, ISO 7301:2011, Clause 1 -->
3351
+ <xsl:apply-templates select="*[local-name() = 'author']"/>
3352
+ <xsl:apply-templates select="*[local-name() = 'source']"/>
3353
+ </fo:block>
3354
+ </xsl:if>
3355
+ </xsl:template><xsl:template match="*[local-name() = 'source']">
3356
+ <xsl:if test="../*[local-name() = 'author']">
3357
+ <xsl:text>, </xsl:text>
3358
+ </xsl:if>
3359
+ <fo:basic-link internal-destination="{@bibitemid}" fox:alt-text="{@citeas}">
3360
+ <xsl:apply-templates/>
3361
+ </fo:basic-link>
3362
+ </xsl:template><xsl:template match="*[local-name() = 'author']">
3363
+ <xsl:text>— </xsl:text>
3364
+ <xsl:apply-templates/>
3365
+ </xsl:template><xsl:template match="*[local-name() = 'eref']">
3366
+ <fo:inline xsl:use-attribute-sets="eref-style">
3367
+ <xsl:if test="@type = 'footnote'">
3368
+
3369
+ <xsl:attribute name="keep-together.within-line">always</xsl:attribute>
3370
+ <xsl:attribute name="font-size">80%</xsl:attribute>
3371
+ <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
3372
+ <xsl:attribute name="vertical-align">super</xsl:attribute>
3373
+
3374
+
3375
+ </xsl:if>
3376
+
3377
+ <fo:basic-link internal-destination="{@bibitemid}" fox:alt-text="{@citeas}">
3378
+
3379
+ <xsl:if test="@type = 'inline'">
3380
+
3381
+
3382
+ </xsl:if>
3383
+
3384
+
3385
+ <xsl:apply-templates/>
3386
+ </fo:basic-link>
3387
+ </fo:inline>
3388
+ </xsl:template><xsl:template match="*[local-name() = 'tab']">
3389
+ <!-- zero-space char -->
3390
+ <xsl:variable name="depth">
3391
+ <xsl:call-template name="getLevel">
3392
+ <xsl:with-param name="depth" select="../@depth"/>
3393
+ </xsl:call-template>
3394
+ </xsl:variable>
3395
+
3396
+ <xsl:variable name="padding">
3397
+
3398
+
3399
+
3400
+
3401
+
3402
+
3403
+
3404
+ <xsl:choose>
3405
+ <xsl:when test="$depth = 5">7</xsl:when>
3406
+ <xsl:when test="$depth = 4">10</xsl:when>
3407
+ <xsl:when test="$depth = 3">6</xsl:when>
3408
+ <xsl:when test="$depth = 2">9</xsl:when>
3409
+ <xsl:otherwise>12</xsl:otherwise>
3410
+ </xsl:choose>
3411
+
3412
+
3413
+
3414
+
3415
+
3416
+
3417
+
3418
+
3419
+
3420
+
3421
+
3422
+ </xsl:variable>
3423
+
3424
+ <xsl:variable name="padding-right">
3425
+ <xsl:choose>
3426
+ <xsl:when test="normalize-space($padding) = ''">0</xsl:when>
3427
+ <xsl:otherwise>
3428
+ <xsl:value-of select="normalize-space($padding)"/>
3429
+ </xsl:otherwise>
3430
+ </xsl:choose>
3431
+ </xsl:variable>
3432
+
3433
+ <xsl:variable name="language" select="//*[local-name()='bibdata']//*[local-name()='language']"/>
3434
+
3435
+ <xsl:choose>
3436
+ <xsl:when test="$language = 'zh'">
3437
+ <fo:inline><xsl:value-of select="$tab_zh"/></fo:inline>
3438
+ </xsl:when>
3439
+ <xsl:when test="../../@inline-header = 'true'">
3440
+ <fo:inline font-size="90%">
3441
+ <xsl:call-template name="insertNonBreakSpaces">
3442
+ <xsl:with-param name="count" select="$padding-right"/>
3443
+ </xsl:call-template>
3444
+ </fo:inline>
3445
+ </xsl:when>
3446
+ <xsl:otherwise>
3447
+ <fo:inline padding-right="{$padding-right}mm">​</fo:inline>
3448
+ </xsl:otherwise>
3449
+ </xsl:choose>
3450
+
3451
+ </xsl:template><xsl:template name="insertNonBreakSpaces">
3452
+ <xsl:param name="count"/>
3453
+ <xsl:if test="$count &gt; 0">
3454
+ <xsl:text> </xsl:text>
3455
+ <xsl:call-template name="insertNonBreakSpaces">
3456
+ <xsl:with-param name="count" select="$count - 1"/>
3457
+ </xsl:call-template>
3458
+ </xsl:if>
3459
+ </xsl:template><xsl:template match="*[local-name() = 'domain']">
3460
+ <fo:inline xsl:use-attribute-sets="domain-style">&lt;<xsl:apply-templates/>&gt;</fo:inline>
3461
+ <xsl:text> </xsl:text>
3462
+ </xsl:template><xsl:template match="*[local-name() = 'admitted']">
3463
+ <fo:block xsl:use-attribute-sets="admitted-style">
3464
+ <xsl:apply-templates/>
3465
+ </fo:block>
3466
+ </xsl:template><xsl:template match="*[local-name() = 'deprecates']">
3467
+ <xsl:variable name="title-deprecated">
3468
+ <xsl:call-template name="getTitle">
3469
+ <xsl:with-param name="name" select="'title-deprecated'"/>
3470
+ </xsl:call-template>
3471
+ </xsl:variable>
3472
+ <fo:block xsl:use-attribute-sets="deprecates-style">
3473
+ <xsl:value-of select="$title-deprecated"/>: <xsl:apply-templates/>
3474
+ </fo:block>
3475
+ </xsl:template><xsl:template match="*[local-name() = 'definition']">
3476
+ <fo:block xsl:use-attribute-sets="definition-style">
3477
+ <xsl:apply-templates/>
3478
+ </fo:block>
3479
+ </xsl:template><xsl:template match="*[local-name() = 'definition'][preceding-sibling::*[local-name() = 'domain']]">
3480
+ <xsl:apply-templates/>
3481
+ </xsl:template><xsl:template match="*[local-name() = 'definition'][preceding-sibling::*[local-name() = 'domain']]/*[local-name() = 'p']">
3482
+ <fo:inline> <xsl:apply-templates/></fo:inline>
3483
+ <fo:block> </fo:block>
3484
+ </xsl:template><xsl:template match="/*/*[local-name() = 'sections']/*" priority="2">
3485
+
3486
+ <fo:block>
3487
+ <xsl:call-template name="setId"/>
3488
+
3489
+
3490
+
3491
+
3492
+
3493
+
3494
+
3495
+
3496
+
3497
+
3498
+ <xsl:apply-templates/>
3499
+ </fo:block>
3500
+
3501
+
3502
+
3503
+ </xsl:template><xsl:template match="/*/*[local-name() = 'preface']/*" priority="2">
3504
+ <fo:block break-after="page"/>
3505
+ <fo:block>
3506
+ <xsl:call-template name="setId"/>
3507
+ <xsl:apply-templates/>
3508
+ </fo:block>
3509
+ </xsl:template><xsl:template match="*[local-name() = 'clause']">
3510
+ <fo:block>
3511
+ <xsl:call-template name="setId"/>
3512
+ <xsl:apply-templates/>
3513
+ </fo:block>
3514
+ </xsl:template><xsl:template match="*[local-name() = 'definitions']">
3515
+ <fo:block id="{@id}">
3516
+ <xsl:apply-templates/>
3517
+ </fo:block>
3518
+ </xsl:template><xsl:template match="/*/*[local-name() = 'bibliography']/*[local-name() = 'references'][@id = '_normative_references' or @id = '_references']">
3519
+
3520
+ <fo:block id="{@id}">
3521
+ <xsl:apply-templates/>
3522
+ </fo:block>
3523
+ </xsl:template><xsl:template match="*[local-name() = 'annex']">
3524
+ <fo:block break-after="page"/>
3525
+ <fo:block id="{@id}">
3526
+
3527
+ </fo:block>
3528
+ <xsl:apply-templates/>
3529
+ </xsl:template><xsl:template match="*[local-name() = 'review']">
3530
+ <!-- comment 2019-11-29 -->
3531
+ <!-- <fo:block font-weight="bold">Review:</fo:block>
3532
+ <xsl:apply-templates /> -->
3533
+ </xsl:template><xsl:template match="*[local-name() = 'name']/text()">
3534
+ <!-- 0xA0 to space replacement -->
3535
+ <xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),' ',' ')"/>
3536
+ </xsl:template><xsl:template match="*[local-name() = 'errata']">
3537
+ <!-- <row>
3538
+ <date>05-07-2013</date>
3539
+ <type>Editorial</type>
3540
+ <change>Changed CA-9 Priority Code from P1 to P2 in <xref target="tabled2"/>.</change>
3541
+ <pages>D-3</pages>
3542
+ </row>
3543
+ -->
3544
+ <fo:table table-layout="fixed" width="100%" font-size="10pt" border="1pt solid black">
3545
+ <fo:table-column column-width="20mm"/>
3546
+ <fo:table-column column-width="23mm"/>
3547
+ <fo:table-column column-width="107mm"/>
3548
+ <fo:table-column column-width="15mm"/>
3549
+ <fo:table-body>
3550
+ <fo:table-row font-family="Arial" text-align="center" font-weight="bold" background-color="black" color="white">
3551
+ <fo:table-cell border="1pt solid black"><fo:block>Date</fo:block></fo:table-cell>
3552
+ <fo:table-cell border="1pt solid black"><fo:block>Type</fo:block></fo:table-cell>
3553
+ <fo:table-cell border="1pt solid black"><fo:block>Change</fo:block></fo:table-cell>
3554
+ <fo:table-cell border="1pt solid black"><fo:block>Pages</fo:block></fo:table-cell>
3555
+ </fo:table-row>
3556
+ <xsl:apply-templates/>
3557
+ </fo:table-body>
3558
+ </fo:table>
3559
+ </xsl:template><xsl:template match="*[local-name() = 'errata']/*[local-name() = 'row']">
3560
+ <fo:table-row>
3561
+ <xsl:apply-templates/>
3562
+ </fo:table-row>
3563
+ </xsl:template><xsl:template match="*[local-name() = 'errata']/*[local-name() = 'row']/*">
3564
+ <fo:table-cell border="1pt solid black" padding-left="1mm" padding-top="0.5mm">
3565
+ <fo:block><xsl:apply-templates/></fo:block>
3566
+ </fo:table-cell>
3567
+ </xsl:template><xsl:template name="convertDate">
3568
+ <xsl:param name="date"/>
3569
+ <xsl:param name="format" select="'short'"/>
3570
+ <xsl:variable name="year" select="substring($date, 1, 4)"/>
3571
+ <xsl:variable name="month" select="substring($date, 6, 2)"/>
3572
+ <xsl:variable name="day" select="substring($date, 9, 2)"/>
3573
+ <xsl:variable name="monthStr">
3574
+ <xsl:choose>
3575
+ <xsl:when test="$month = '01'">January</xsl:when>
3576
+ <xsl:when test="$month = '02'">February</xsl:when>
3577
+ <xsl:when test="$month = '03'">March</xsl:when>
3578
+ <xsl:when test="$month = '04'">April</xsl:when>
3579
+ <xsl:when test="$month = '05'">May</xsl:when>
3580
+ <xsl:when test="$month = '06'">June</xsl:when>
3581
+ <xsl:when test="$month = '07'">July</xsl:when>
3582
+ <xsl:when test="$month = '08'">August</xsl:when>
3583
+ <xsl:when test="$month = '09'">September</xsl:when>
3584
+ <xsl:when test="$month = '10'">October</xsl:when>
3585
+ <xsl:when test="$month = '11'">November</xsl:when>
3586
+ <xsl:when test="$month = '12'">December</xsl:when>
3587
+ </xsl:choose>
3588
+ </xsl:variable>
3589
+ <xsl:variable name="result">
3590
+ <xsl:choose>
3591
+ <xsl:when test="$format = 'short' or $day = ''">
3592
+ <xsl:value-of select="normalize-space(concat($monthStr, ' ', $year))"/>
3593
+ </xsl:when>
3594
+ <xsl:otherwise>
3595
+ <xsl:value-of select="normalize-space(concat($monthStr, ' ', $day, ', ' , $year))"/>
3596
+ </xsl:otherwise>
3597
+ </xsl:choose>
3598
+ </xsl:variable>
3599
+ <xsl:value-of select="$result"/>
3600
+ </xsl:template><xsl:template name="insertKeywords">
3601
+ <xsl:param name="sorting" select="'true'"/>
3602
+ <xsl:param name="charAtEnd" select="'.'"/>
3603
+ <xsl:param name="charDelim" select="', '"/>
3604
+ <xsl:choose>
3605
+ <xsl:when test="$sorting = 'true' or $sorting = 'yes'">
3606
+ <xsl:for-each select="/*/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
3607
+ <xsl:sort data-type="text" order="ascending"/>
3608
+ <xsl:call-template name="insertKeyword">
3609
+ <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
3610
+ <xsl:with-param name="charDelim" select="$charDelim"/>
3611
+ </xsl:call-template>
3612
+ </xsl:for-each>
3613
+ </xsl:when>
3614
+ <xsl:otherwise>
3615
+ <xsl:for-each select="/*/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
3616
+ <xsl:call-template name="insertKeyword">
3617
+ <xsl:with-param name="charAtEnd" select="$charAtEnd"/>
3618
+ <xsl:with-param name="charDelim" select="$charDelim"/>
3619
+ </xsl:call-template>
3620
+ </xsl:for-each>
3621
+ </xsl:otherwise>
3622
+ </xsl:choose>
3623
+ </xsl:template><xsl:template name="insertKeyword">
3624
+ <xsl:param name="charAtEnd"/>
3625
+ <xsl:param name="charDelim"/>
3626
+ <xsl:apply-templates/>
3627
+ <xsl:choose>
3628
+ <xsl:when test="position() != last()"><xsl:value-of select="$charDelim"/></xsl:when>
3629
+ <xsl:otherwise><xsl:value-of select="$charAtEnd"/></xsl:otherwise>
3630
+ </xsl:choose>
3631
+ </xsl:template><xsl:template name="addPDFUAmeta">
3632
+ <fo:declarations>
3633
+ <pdf:catalog xmlns:pdf="http://xmlgraphics.apache.org/fop/extensions/pdf">
3634
+ <pdf:dictionary type="normal" key="ViewerPreferences">
3635
+ <pdf:boolean key="DisplayDocTitle">true</pdf:boolean>
3636
+ </pdf:dictionary>
3637
+ </pdf:catalog>
3638
+ <x:xmpmeta xmlns:x="adobe:ns:meta/">
3639
+ <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
3640
+ <rdf:Description xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pdf="http://ns.adobe.com/pdf/1.3/" rdf:about="">
3641
+ <!-- Dublin Core properties go here -->
3642
+ <dc:title>
3643
+ <xsl:variable name="title">
3644
+
3645
+
3646
+
3647
+
3648
+ <xsl:value-of select="/*/*[local-name() = 'bibdata']/*[local-name() = 'title'][@type='main']"/>
3649
+
3650
+ </xsl:variable>
3651
+ <xsl:choose>
3652
+ <xsl:when test="normalize-space($title) != ''">
3653
+ <xsl:value-of select="$title"/>
3654
+ </xsl:when>
3655
+ <xsl:otherwise>
3656
+ <xsl:text> </xsl:text>
3657
+ </xsl:otherwise>
3658
+ </xsl:choose>
3659
+ </dc:title>
3660
+ <dc:creator>
3661
+
3662
+ <xsl:value-of select="/*/*[local-name() = 'bibdata']/*[local-name() = 'contributor'][*[local-name() = 'role']/@type='author']/*[local-name() = 'organization']/*[local-name() = 'name']"/>
3663
+
3664
+
3665
+ </dc:creator>
3666
+ <dc:description>
3667
+ <xsl:variable name="abstract">
3668
+
3669
+
3670
+
3671
+
3672
+ <xsl:copy-of select="/*/*[local-name() = 'bibdata']/*[local-name() = 'abstract']//text()"/>
3673
+
3674
+ </xsl:variable>
3675
+ <xsl:value-of select="normalize-space($abstract)"/>
3676
+ </dc:description>
3677
+ <pdf:Keywords>
3678
+ <xsl:call-template name="insertKeywords"/>
3679
+ </pdf:Keywords>
3680
+ </rdf:Description>
3681
+ <rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
3682
+ <!-- XMP properties go here -->
3683
+ <xmp:CreatorTool/>
3684
+ </rdf:Description>
3685
+ </rdf:RDF>
3686
+ </x:xmpmeta>
3687
+ </fo:declarations>
3688
+ </xsl:template><xsl:template name="getId">
3689
+ <xsl:choose>
3690
+ <xsl:when test="../@id">
3691
+ <xsl:value-of select="../@id"/>
3692
+ </xsl:when>
3693
+ <xsl:otherwise>
3694
+ <!-- <xsl:value-of select="concat(local-name(..), '_', text())"/> -->
3695
+ <xsl:value-of select="concat(generate-id(..), '_', text())"/>
3696
+ </xsl:otherwise>
3697
+ </xsl:choose>
3698
+ </xsl:template><xsl:template name="getLevel">
3699
+ <xsl:param name="depth"/>
3700
+ <xsl:choose>
3701
+ <xsl:when test="normalize-space(@depth) != ''">
3702
+ <xsl:value-of select="@depth"/>
3703
+ </xsl:when>
3704
+ <xsl:when test="normalize-space($depth) != ''">
3705
+ <xsl:value-of select="$depth"/>
3706
+ </xsl:when>
3707
+ <xsl:otherwise>
3708
+ <xsl:variable name="level_total" select="count(ancestor::*)"/>
3709
+ <xsl:variable name="level">
3710
+ <xsl:choose>
3711
+ <xsl:when test="parent::*[local-name() = 'preface']">
3712
+ <xsl:value-of select="$level_total - 1"/>
3713
+ </xsl:when>
3714
+ <xsl:when test="ancestor::*[local-name() = 'preface']">
3715
+ <xsl:value-of select="$level_total - 2"/>
3716
+ </xsl:when>
3717
+ <!-- <xsl:when test="parent::*[local-name() = 'sections']">
3718
+ <xsl:value-of select="$level_total - 1"/>
3719
+ </xsl:when> -->
3720
+ <xsl:when test="ancestor::*[local-name() = 'sections']">
3721
+ <xsl:value-of select="$level_total - 1"/>
3722
+ </xsl:when>
3723
+ <xsl:when test="ancestor::*[local-name() = 'bibliography']">
3724
+ <xsl:value-of select="$level_total - 1"/>
3725
+ </xsl:when>
3726
+ <xsl:when test="parent::*[local-name() = 'annex']">
3727
+ <xsl:value-of select="$level_total - 1"/>
3728
+ </xsl:when>
3729
+ <xsl:when test="ancestor::*[local-name() = 'annex']">
3730
+ <xsl:value-of select="$level_total"/>
3731
+ </xsl:when>
3732
+ <xsl:when test="local-name() = 'annex'">1</xsl:when>
3733
+ <xsl:when test="local-name(ancestor::*[1]) = 'annex'">1</xsl:when>
3734
+ <xsl:otherwise>
3735
+ <xsl:value-of select="$level_total - 1"/>
3736
+ </xsl:otherwise>
3737
+ </xsl:choose>
3738
+ </xsl:variable>
3739
+ <xsl:value-of select="$level"/>
3740
+ </xsl:otherwise>
3741
+ </xsl:choose>
3742
+ </xsl:template><xsl:template name="split">
3743
+ <xsl:param name="pText" select="."/>
3744
+ <xsl:param name="sep" select="','"/>
3745
+ <xsl:if test="string-length($pText) &gt;0">
3746
+ <item>
3747
+ <xsl:value-of select="normalize-space(substring-before(concat($pText, ','), $sep))"/>
3748
+ </item>
3749
+ <xsl:call-template name="split">
3750
+ <xsl:with-param name="pText" select="substring-after($pText, $sep)"/>
3751
+ <xsl:with-param name="sep" select="$sep"/>
3752
+ </xsl:call-template>
3753
+ </xsl:if>
3754
+ </xsl:template><xsl:template name="getDocumentId">
3755
+ <xsl:call-template name="getLang"/><xsl:value-of select="//*[local-name() = 'p'][1]/@id"/>
3756
+ </xsl:template><xsl:template name="namespaceCheck">
3757
+ <xsl:variable name="documentNS" select="namespace-uri(/*)"/>
3758
+ <xsl:variable name="XSLNS">
3759
+
3760
+
3761
+
3762
+ <xsl:value-of select="document('')//*/namespace::itu"/>
3763
+
3764
+
3765
+
3766
+
3767
+
3768
+
3769
+
3770
+
3771
+
3772
+
3773
+ </xsl:variable>
3774
+ <xsl:if test="$documentNS != $XSLNS">
3775
+ <xsl:message>[WARNING]: Document namespace: '<xsl:value-of select="$documentNS"/>' doesn't equal to xslt namespace '<xsl:value-of select="$XSLNS"/>'</xsl:message>
3776
+ </xsl:if>
3777
+ </xsl:template><xsl:template name="getLanguage">
3778
+ <xsl:param name="lang"/>
3779
+ <xsl:variable name="language" select="java:toLowerCase(java:java.lang.String.new($lang))"/>
3780
+ <xsl:choose>
3781
+ <xsl:when test="$language = 'en'">English</xsl:when>
3782
+ <xsl:when test="$language = 'fr'">French</xsl:when>
3783
+ <xsl:when test="$language = 'de'">Deutsch</xsl:when>
3784
+ <xsl:when test="$language = 'cn'">Chinese</xsl:when>
3785
+ <xsl:otherwise><xsl:value-of select="$language"/></xsl:otherwise>
3786
+ </xsl:choose>
3787
+ </xsl:template><xsl:template name="setId">
3788
+ <xsl:attribute name="id">
3789
+ <xsl:choose>
3790
+ <xsl:when test="@id">
3791
+ <xsl:value-of select="@id"/>
3792
+ </xsl:when>
3793
+ <xsl:otherwise>
3794
+ <xsl:value-of select="generate-id()"/>
3795
+ </xsl:otherwise>
3796
+ </xsl:choose>
3797
+ </xsl:attribute>
3798
+ </xsl:template></xsl:stylesheet>