metanorma-ogc 2.3.8 → 2.3.10

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 (33) hide show
  1. checksums.yaml +4 -4
  2. data/lib/isodoc/ogc/html/html_ogc_intro.html +0 -1
  3. data/lib/isodoc/ogc/html/word_ogc_intro.html +0 -3
  4. data/lib/isodoc/ogc/html/word_ogc_intro_wp.html +0 -3
  5. data/lib/isodoc/ogc/html_convert.rb +1 -11
  6. data/lib/isodoc/ogc/i18n-en.yaml +1 -0
  7. data/lib/isodoc/ogc/metadata.rb +10 -0
  8. data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +852 -315
  9. data/lib/isodoc/ogc/ogc.best-practice.xsl +852 -315
  10. data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +852 -315
  11. data/lib/isodoc/ogc/ogc.community-practice.xsl +852 -315
  12. data/lib/isodoc/ogc/ogc.community-standard.xsl +852 -315
  13. data/lib/isodoc/ogc/ogc.discussion-paper.xsl +852 -315
  14. data/lib/isodoc/ogc/ogc.draft-standard.xsl +852 -315
  15. data/lib/isodoc/ogc/ogc.engineering-report.xsl +852 -315
  16. data/lib/isodoc/ogc/ogc.other.xsl +852 -315
  17. data/lib/isodoc/ogc/ogc.policy.xsl +852 -315
  18. data/lib/isodoc/ogc/ogc.reference-model.xsl +852 -315
  19. data/lib/isodoc/ogc/ogc.release-notes.xsl +852 -315
  20. data/lib/isodoc/ogc/ogc.standard.xsl +852 -315
  21. data/lib/isodoc/ogc/ogc.test-suite.xsl +852 -315
  22. data/lib/isodoc/ogc/ogc.user-guide.xsl +852 -315
  23. data/lib/isodoc/ogc/ogc.white-paper.xsl +814 -271
  24. data/lib/isodoc/ogc/presentation_xml_convert.rb +9 -6
  25. data/lib/isodoc/ogc/sections.rb +48 -48
  26. data/lib/isodoc/ogc/word_convert.rb +3 -0
  27. data/lib/isodoc/ogc/xref.rb +1 -1
  28. data/lib/metanorma/ogc/boilerplate.xml +1 -1
  29. data/lib/metanorma/ogc/isodoc.rng +16 -7
  30. data/lib/metanorma/ogc/ogc.rng +3 -8
  31. data/lib/metanorma/ogc/validate.rb +18 -11
  32. data/lib/metanorma/ogc/version.rb +1 -1
  33. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ba096aa5f1709fe1e79cf9d278bf4b2bf81490b8e46d51a3e06a9319976d7bc0
4
- data.tar.gz: f3d1b8df07f6d1cbf638a8b332c57cd0c7cbae5b780d340dfaadfeeac6dd6507
3
+ metadata.gz: 9183a03e97f8b3696c2c331bae148dd68da657377b21498d46ec9979d01a90b3
4
+ data.tar.gz: 60b41c7e75930794348ff33de9d375b1c297cd93dcb36e670a80aa61424bf34c
5
5
  SHA512:
6
- metadata.gz: dd84925e8131c832424bfc4055bba96ee16775621e79eecb38a78698f4249b56d799cfeb4bc96466101d902a44207f52b09684ba5cf8c6d38accee8b96cb78a4
7
- data.tar.gz: 0b8ac1b19ba3be249dc26febcc4f246310e40eddd1462d7dce10bd7325e31dba4e8684d0c76dc7f3a8ca8319399576cf87ce39793b3ad79e05e95a00844ec867
6
+ metadata.gz: 4c4fddf1abf4133f3ad0350c65524da184d313264fd4ba3dd88c7b47ca677aa0e3b1b15fe3a03391b4dd0a9d23af072f3353b7761b1ce014d2f66d1d3fada73c
7
+ data.tar.gz: cadaba89b08e33ba50912814bea94b2f1b1373f5698c371ce941b87065412a6ce071e95bc2c695095c63380e862dacaab9051945df4530548cb9449c8594597c
@@ -8,7 +8,6 @@
8
8
  </div>
9
9
 
10
10
  <nav>
11
- <h1 id="content">Contents</h1>
12
11
  <div id="toc"></div>
13
12
 
14
13
  </nav>
@@ -11,6 +11,3 @@ mso-fareast-font-family:"Times New Roman";mso-ansi-language:EN-US;mso-fareast-la
11
11
  EN-US;mso-bidi-language:AR-SA'><br clear="all" style='mso-special-character:line-break;page-break-before:always'>
12
12
  </span>
13
13
 
14
- <p class="zzContents" style='margin-top:0cm'><span lang="EN-GB">Contents</span></p>
15
-
16
- WORDTOC
@@ -8,6 +8,3 @@ mso-fareast-font-family:"Times New Roman";mso-ansi-language:EN-US;mso-fareast-la
8
8
  EN-US;mso-bidi-language:AR-SA'><br clear="all" style='mso-special-character:line-break;page-break-before:always'>
9
9
  </span>
10
10
 
11
- <p class="zzContents"><span lang="EN-GB">Table of Contents</span></p>
12
-
13
- WORDTOC
@@ -64,17 +64,7 @@ module IsoDoc
64
64
  body.div class: "main-section" do |div3|
65
65
  @prefacenum = 0
66
66
  boilerplate docxml, div3
67
- preface_block docxml, div3
68
- abstract docxml, div3
69
- executivesummary docxml, div3
70
- keywords docxml, div3
71
- foreword docxml, div3
72
- introduction docxml, div3
73
- security docxml, div3
74
- submittingorgs docxml, div3
75
- submitters docxml, div3
76
- preface docxml, div3
77
- acknowledgements docxml, div3
67
+ front docxml, div3
78
68
  middle docxml, div3
79
69
  footnotes div3
80
70
  comments div3
@@ -10,6 +10,7 @@ permissionclass: Permissions class
10
10
  abstracttest: Abstract test
11
11
  conformanceclass: Conformance class
12
12
  example: Example
13
+ table_of_contents: Contents
13
14
  security_empty: No security considerations have been made for this document.
14
15
  internal_terms_boilerplate: |
15
16
  <p>This document uses the terms defined in <link target="https://portal.ogc.org/public_ogc/directives/directives.php">OGC Policy Directive 49</link>, which is based on the ISO/IEC Directives, Part 2, Rules for the structure and drafting of International Standards. In particular, the word “shall” (not “must”) is the verb form used to indicate a requirement to be strictly followed to conform to this document and OGC documents do not use the equivalent phrases in the ISO/IEC Directives, Part 2.</p>
@@ -70,6 +70,16 @@ module IsoDoc
70
70
  "[role/@type = 'contributor']/person"))
71
71
  set(:contributors, extract_person_names(contributors))
72
72
  agency(isoxml)
73
+ copyright(isoxml)
74
+ end
75
+
76
+ def copyright(isoxml)
77
+ c = isoxml.xpath(ns("//bibdata/copyright/owner/organization/name"))
78
+ .each_with_object([]) do |n, m|
79
+ m << n.text
80
+ end
81
+ c.empty? and c = ["Open Geospatial Consortium"]
82
+ set(:copyright_holder, @i18n.boolean_conj(c, "and"))
73
83
  end
74
84
 
75
85
  def docid(isoxml, _out)