metanorma-iho 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/isodoc/iho/html/htmlstyle.css +626 -370
- data/lib/isodoc/iho/html/htmlstyle.scss +1 -1
- data/lib/isodoc/iho/html/iho.css +197 -136
- data/lib/isodoc/iho/html/wordstyle.css +422 -352
- data/lib/metanorma/iho/basicdoc.rng +37 -32
- data/lib/metanorma/iho/isodoc.rng +23 -17
- data/lib/metanorma/iho/version.rb +1 -1
- data/metanorma-iho.gemspec +3 -2
- metadata +24 -10
| @@ -599,17 +599,9 @@ It is included for convenience, in case processing the citation to extract the a | |
| 599 599 | 
             
                    <a:documentation>The caption of the block</a:documentation>
         | 
| 600 600 | 
             
                  </ref>
         | 
| 601 601 | 
             
                </optional>
         | 
| 602 | 
            -
                < | 
| 603 | 
            -
                  < | 
| 604 | 
            -
             | 
| 605 | 
            -
                      <a:documentation>The computer code or other such text presented in the block, as a single unformatted string. 
         | 
| 606 | 
            -
            (The string should be treated as pre-formatted text, with whitespace treated as significant)</a:documentation>
         | 
| 607 | 
            -
                    </text>
         | 
| 608 | 
            -
                    <ref name="callout">
         | 
| 609 | 
            -
                      <a:documentation>Zero or more cross-references; these are intended to be embedded within the content string, and link to annotations</a:documentation>
         | 
| 610 | 
            -
                    </ref>
         | 
| 611 | 
            -
                  </choice>
         | 
| 612 | 
            -
                </oneOrMore>
         | 
| 602 | 
            +
                <ref name="sourcecodebody">
         | 
| 603 | 
            +
                  <a:documentation>The sourcecode content</a:documentation>
         | 
| 604 | 
            +
                </ref>
         | 
| 613 605 | 
             
                <zeroOrMore>
         | 
| 614 606 | 
             
                  <ref name="annotation">
         | 
| 615 607 | 
             
                    <a:documentation>Annotations to the source code; each annotation consists of zero or more paragraphs,
         | 
| @@ -628,17 +620,9 @@ and is intended to be referenced by a callout within the source code</a:document | |
| 628 620 | 
             
                    <a:documentation>The caption of the block</a:documentation>
         | 
| 629 621 | 
             
                  </ref>
         | 
| 630 622 | 
             
                </optional>
         | 
| 631 | 
            -
                < | 
| 632 | 
            -
                  < | 
| 633 | 
            -
             | 
| 634 | 
            -
                      <a:documentation>The computer code or other such text presented in the block, as a single unformatted string. 
         | 
| 635 | 
            -
            (The string should be treated as pre-formatted text, with whitespace treated as significant)</a:documentation>
         | 
| 636 | 
            -
                    </text>
         | 
| 637 | 
            -
                    <ref name="callout">
         | 
| 638 | 
            -
                      <a:documentation>Zero or more cross-references; these are intended to be embedded within the content string, and link to annotations</a:documentation>
         | 
| 639 | 
            -
                    </ref>
         | 
| 640 | 
            -
                  </choice>
         | 
| 641 | 
            -
                </oneOrMore>
         | 
| 623 | 
            +
                <ref name="sourcecodebody">
         | 
| 624 | 
            +
                  <a:documentation>The sourcecode content</a:documentation>
         | 
| 625 | 
            +
                </ref>
         | 
| 642 626 | 
             
                <zeroOrMore>
         | 
| 643 627 | 
             
                  <ref name="annotation">
         | 
| 644 628 | 
             
                    <a:documentation>Annotations to the source code; each annotation consists of zero or more paragraphs,
         | 
| @@ -651,6 +635,20 @@ and is intended to be referenced by a callout within the source code</a:document | |
| 651 635 | 
             
                  </ref>
         | 
| 652 636 | 
             
                </zeroOrMore>
         | 
| 653 637 | 
             
              </define>
         | 
| 638 | 
            +
              <define name="sourcecodebody">
         | 
| 639 | 
            +
                <a:documentation>The computer code or other such text presented in the block, as a single unformatted string. 
         | 
| 640 | 
            +
            (The string should be treated as pre-formatted text, with whitespace treated as significant)</a:documentation>
         | 
| 641 | 
            +
                <element name="body">
         | 
| 642 | 
            +
                  <oneOrMore>
         | 
| 643 | 
            +
                    <choice>
         | 
| 644 | 
            +
                      <text/>
         | 
| 645 | 
            +
                      <ref name="callout">
         | 
| 646 | 
            +
                        <a:documentation>Zero or more cross-references; these are intended to be embedded within the content string, and link to annotations</a:documentation>
         | 
| 647 | 
            +
                      </ref>
         | 
| 648 | 
            +
                    </choice>
         | 
| 649 | 
            +
                  </oneOrMore>
         | 
| 650 | 
            +
                </element>
         | 
| 651 | 
            +
              </define>
         | 
| 654 652 | 
             
              <define name="pre">
         | 
| 655 653 | 
             
                <a:documentation>Pre-formatted block. Wrapper for text to be rendered with fixed-width typeface, and preserving spaces including line breaks. 
         | 
| 656 654 | 
             
            They are intended for a restricted number of functions, most typically ASCII Art (which is still in prominent use in some 
         | 
| @@ -1672,18 +1670,25 @@ which can be bookmarks as well as block or section references</a:documentation> | |
| 1672 1670 | 
             
                </optional>
         | 
| 1673 1671 | 
             
              </define>
         | 
| 1674 1672 | 
             
              <define name="XrefBody">
         | 
| 1675 | 
            -
                < | 
| 1676 | 
            -
             | 
| 1677 | 
            -
             | 
| 1678 | 
            -
             | 
| 1679 | 
            -
             | 
| 1673 | 
            +
                <a:documentation>The textual content of the element. The `text` is what we wish to show the link as (e.g., the "content" of `<xx>my link text</xx>`)</a:documentation>
         | 
| 1674 | 
            +
                <optional>
         | 
| 1675 | 
            +
                  <element name="display-text">
         | 
| 1676 | 
            +
                    <oneOrMore>
         | 
| 1677 | 
            +
                      <ref name="PureTextElement"/>
         | 
| 1678 | 
            +
                    </oneOrMore>
         | 
| 1679 | 
            +
                  </element>
         | 
| 1680 | 
            +
                </optional>
         | 
| 1680 1681 | 
             
              </define>
         | 
| 1681 1682 | 
             
              <define name="ErefBody">
         | 
| 1682 | 
            -
                < | 
| 1683 | 
            -
                  < | 
| 1684 | 
            -
                    < | 
| 1685 | 
            -
             | 
| 1686 | 
            -
             | 
| 1683 | 
            +
                <optional>
         | 
| 1684 | 
            +
                  <element name="display-text">
         | 
| 1685 | 
            +
                    <oneOrMore>
         | 
| 1686 | 
            +
                      <ref name="PureTextElement">
         | 
| 1687 | 
            +
                        <a:documentation>The textual content of the element. The `text` is what we wish to show the link as (e.g., the "content" of `<xx>my link text</xx>`)</a:documentation>
         | 
| 1688 | 
            +
                      </ref>
         | 
| 1689 | 
            +
                    </oneOrMore>
         | 
| 1690 | 
            +
                  </element>
         | 
| 1691 | 
            +
                </optional>
         | 
| 1687 1692 | 
             
              </define>
         | 
| 1688 1693 | 
             
              <define name="fn">
         | 
| 1689 1694 | 
             
                <a:documentation>Inline reference to a paragraph or paragraphs, appearing as a footnote.
         | 
| @@ -245,23 +245,9 @@ | |
| 245 245 | 
             
                      <a:documentation>The caption of the block</a:documentation>
         | 
| 246 246 | 
             
                    </ref>
         | 
| 247 247 | 
             
                  </optional>
         | 
| 248 | 
            -
                  < | 
| 249 | 
            -
                    < | 
| 250 | 
            -
             | 
| 251 | 
            -
                        <a:documentation>The computer code or other such text presented in the block, as a single unformatted string. 
         | 
| 252 | 
            -
            (The string should be treated as pre-formatted text, with whitespace treated as significant)</a:documentation>
         | 
| 253 | 
            -
                      </text>
         | 
| 254 | 
            -
                      <ref name="callout">
         | 
| 255 | 
            -
                        <a:documentation>Zero or more cross-references; these are intended to be embedded within the content string, and link to annotations</a:documentation>
         | 
| 256 | 
            -
                      </ref>
         | 
| 257 | 
            -
                      <ref name="xref">
         | 
| 258 | 
            -
                        <a:documentation>Hyperlink of code segment to another part of the document</a:documentation>
         | 
| 259 | 
            -
                      </ref>
         | 
| 260 | 
            -
                      <ref name="eref">
         | 
| 261 | 
            -
                        <a:documentation>Hyperlink of code segment to external bibliographic resource</a:documentation>
         | 
| 262 | 
            -
                      </ref>
         | 
| 263 | 
            -
                    </choice>
         | 
| 264 | 
            -
                  </oneOrMore>
         | 
| 248 | 
            +
                  <ref name="sourcecodebody">
         | 
| 249 | 
            +
                    <a:documentation>The sourcecode content</a:documentation>
         | 
| 250 | 
            +
                  </ref>
         | 
| 265 251 | 
             
                  <zeroOrMore>
         | 
| 266 252 | 
             
                    <ref name="annotation">
         | 
| 267 253 | 
             
                      <a:documentation>Annotations to the source code; each annotation consists of zero or more paragraphs,
         | 
| @@ -277,6 +263,26 @@ and is intended to be referenced by a callout within the source code</a:document | |
| 277 263 | 
             
                    <a:documentation>A source for the block</a:documentation>
         | 
| 278 264 | 
             
                  </ref>
         | 
| 279 265 | 
             
                </define>
         | 
| 266 | 
            +
                <define name="sourcecodebody">
         | 
| 267 | 
            +
                  <a:documentation>The computer code or other such text presented in the block, as a single unformatted string. 
         | 
| 268 | 
            +
            (The string should be treated as pre-formatted text, with whitespace treated as significant)</a:documentation>
         | 
| 269 | 
            +
                  <element name="body">
         | 
| 270 | 
            +
                    <oneOrMore>
         | 
| 271 | 
            +
                      <choice>
         | 
| 272 | 
            +
                        <text/>
         | 
| 273 | 
            +
                        <ref name="callout">
         | 
| 274 | 
            +
                          <a:documentation>Zero or more cross-references; these are intended to be embedded within the content string, and link to annotations</a:documentation>
         | 
| 275 | 
            +
                        </ref>
         | 
| 276 | 
            +
                        <ref name="xref">
         | 
| 277 | 
            +
                          <a:documentation>Hyperlink of code segment to another part of the document</a:documentation>
         | 
| 278 | 
            +
                        </ref>
         | 
| 279 | 
            +
                        <ref name="eref">
         | 
| 280 | 
            +
                          <a:documentation>Hyperlink of code segment to external bibliographic resource</a:documentation>
         | 
| 281 | 
            +
                        </ref>
         | 
| 282 | 
            +
                      </choice>
         | 
| 283 | 
            +
                    </oneOrMore>
         | 
| 284 | 
            +
                  </element>
         | 
| 285 | 
            +
                </define>
         | 
| 280 286 | 
             
                <define name="sections">
         | 
| 281 287 | 
             
                  <element name="sections">
         | 
| 282 288 | 
             
                    <oneOrMore>
         | 
    
        data/metanorma-iho.gemspec
    CHANGED
    
    | @@ -35,8 +35,9 @@ Gem::Specification.new do |spec| | |
| 35 35 | 
             
              spec.add_development_dependency "guard-rspec", "~> 4.7"
         | 
| 36 36 | 
             
              spec.add_development_dependency "rake", "~> 13.0"
         | 
| 37 37 | 
             
              spec.add_development_dependency "rspec", "~> 3.6"
         | 
| 38 | 
            -
              spec.add_development_dependency "rubocop", "~> 1 | 
| 39 | 
            -
             | 
| 38 | 
            +
              spec.add_development_dependency "rubocop", "~> 1"
         | 
| 39 | 
            +
            spec.add_development_dependency "rubocop-performance"
         | 
| 40 | 
            +
              spec.add_development_dependency "sassc-embedded", "~> 1"
         | 
| 40 41 | 
             
              spec.add_development_dependency "simplecov", "~> 0.15"
         | 
| 41 42 | 
             
              spec.add_development_dependency "timecop", "~> 0.9"
         | 
| 42 43 | 
             
              spec.add_development_dependency "xml-c14n"
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: metanorma-iho
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1.1. | 
| 4 | 
            +
              version: 1.1.1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Ribose Inc.
         | 
| 8 8 | 
             
            autorequire:
         | 
| 9 9 | 
             
            bindir: exe
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2025- | 
| 11 | 
            +
            date: 2025-03-04 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: metanorma-generic
         | 
| @@ -114,28 +114,42 @@ dependencies: | |
| 114 114 | 
             
                requirements:
         | 
| 115 115 | 
             
                - - "~>"
         | 
| 116 116 | 
             
                  - !ruby/object:Gem::Version
         | 
| 117 | 
            -
                    version: 1 | 
| 117 | 
            +
                    version: '1'
         | 
| 118 118 | 
             
              type: :development
         | 
| 119 119 | 
             
              prerelease: false
         | 
| 120 120 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 121 121 | 
             
                requirements:
         | 
| 122 122 | 
             
                - - "~>"
         | 
| 123 123 | 
             
                  - !ruby/object:Gem::Version
         | 
| 124 | 
            -
                    version: 1 | 
| 124 | 
            +
                    version: '1'
         | 
| 125 125 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 126 | 
            -
              name:  | 
| 126 | 
            +
              name: rubocop-performance
         | 
| 127 127 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 128 128 | 
             
                requirements:
         | 
| 129 | 
            -
                - -  | 
| 129 | 
            +
                - - ">="
         | 
| 130 130 | 
             
                  - !ruby/object:Gem::Version
         | 
| 131 | 
            -
                    version:  | 
| 131 | 
            +
                    version: '0'
         | 
| 132 132 | 
             
              type: :development
         | 
| 133 133 | 
             
              prerelease: false
         | 
| 134 134 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 135 135 | 
             
                requirements:
         | 
| 136 | 
            -
                - -  | 
| 136 | 
            +
                - - ">="
         | 
| 137 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 138 | 
            +
                    version: '0'
         | 
| 139 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 140 | 
            +
              name: sassc-embedded
         | 
| 141 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 142 | 
            +
                requirements:
         | 
| 143 | 
            +
                - - "~>"
         | 
| 144 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 145 | 
            +
                    version: '1'
         | 
| 146 | 
            +
              type: :development
         | 
| 147 | 
            +
              prerelease: false
         | 
| 148 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 149 | 
            +
                requirements:
         | 
| 150 | 
            +
                - - "~>"
         | 
| 137 151 | 
             
                  - !ruby/object:Gem::Version
         | 
| 138 | 
            -
                    version:  | 
| 152 | 
            +
                    version: '1'
         | 
| 139 153 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 140 154 | 
             
              name: simplecov
         | 
| 141 155 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -260,7 +274,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 260 274 | 
             
                - !ruby/object:Gem::Version
         | 
| 261 275 | 
             
                  version: '0'
         | 
| 262 276 | 
             
            requirements: []
         | 
| 263 | 
            -
            rubygems_version: 3. | 
| 277 | 
            +
            rubygems_version: 3.5.22
         | 
| 264 278 | 
             
            signing_key:
         | 
| 265 279 | 
             
            specification_version: 4
         | 
| 266 280 | 
             
            summary: metanorma-iho lets you write IHO in AsciiDoc.
         |