isodoc 1.6.0 → 1.6.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/bin/rspec +1 -2
 - data/lib/isodoc/convert.rb +2 -2
 - data/lib/isodoc/css.rb +30 -26
 - data/lib/isodoc/function/blocks.rb +11 -4
 - data/lib/isodoc/function/blocks_example_note.rb +2 -2
 - data/lib/isodoc/function/cleanup.rb +1 -2
 - data/lib/isodoc/function/utils.rb +41 -39
 - data/lib/isodoc/gem_tasks.rb +30 -31
 - data/lib/isodoc/html_convert.rb +4 -4
 - data/lib/isodoc/html_function/postprocess.rb +27 -71
 - data/lib/isodoc/html_function/postprocess_footnotes.rb +59 -0
 - data/lib/isodoc/i18n.rb +20 -20
 - data/lib/isodoc/presentation_function/block.rb +17 -8
 - data/lib/isodoc/presentation_function/inline.rb +2 -0
 - data/lib/isodoc/version.rb +1 -1
 - data/lib/isodoc/word_function/footnotes.rb +22 -15
 - data/lib/isodoc/xref.rb +9 -10
 - data/lib/isodoc/xref/xref_counter.rb +31 -15
 - data/lib/isodoc/xref/xref_gen.rb +12 -7
 - data/lib/isodoc/xref/xref_sect_gen.rb +22 -20
 - data/spec/isodoc/blocks_spec.rb +2585 -2576
 - data/spec/isodoc/cleanup_spec.rb +1107 -1109
 - data/spec/isodoc/i18n_spec.rb +984 -972
 - data/spec/isodoc/lists_spec.rb +316 -315
 - data/spec/isodoc/postproc_spec.rb +1636 -1530
 - data/spec/isodoc/ref_spec.rb +718 -723
 - data/spec/isodoc/xref_spec.rb +52 -0
 - metadata +3 -2
 
    
        data/spec/isodoc/lists_spec.rb
    CHANGED
    
    | 
         @@ -2,345 +2,346 @@ require "spec_helper" 
     | 
|
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            RSpec.describe IsoDoc do
         
     | 
| 
       4 
4 
     | 
    
         
             
              it "processes unordered lists" do
         
     | 
| 
       5 
     | 
    
         
            -
                expect(xmlpp(IsoDoc::HtmlConvert.new({}) 
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
             
     | 
| 
       8 
     | 
    
         
            -
             
     | 
| 
       9 
     | 
    
         
            -
               
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
            </ 
     | 
| 
       16 
     | 
    
         
            -
            </ 
     | 
| 
       17 
     | 
    
         
            -
            </ 
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
             
     | 
| 
       29 
     | 
    
         
            -
             
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
             
     | 
| 
       32 
     | 
    
         
            -
             
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
             
     | 
| 
      
 5 
     | 
    
         
            +
                expect(xmlpp(IsoDoc::HtmlConvert.new({})
         
     | 
| 
      
 6 
     | 
    
         
            +
                  .convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
         
     | 
| 
      
 7 
     | 
    
         
            +
                        <iso-standard xmlns="http://riboseinc.com/isoxml">
         
     | 
| 
      
 8 
     | 
    
         
            +
                        <preface><foreword>
         
     | 
| 
      
 9 
     | 
    
         
            +
                        <ul id="_61961034-0fb1-436b-b281-828857a59ddb"  keep-with-next="true" keep-lines-together="true">
         
     | 
| 
      
 10 
     | 
    
         
            +
                      <li>
         
     | 
| 
      
 11 
     | 
    
         
            +
                        <p id="_cb370dd3-8463-4ec7-aa1a-96f644e2e9a2">updated normative references;</p>
         
     | 
| 
      
 12 
     | 
    
         
            +
                      </li>
         
     | 
| 
      
 13 
     | 
    
         
            +
                      <li>
         
     | 
| 
      
 14 
     | 
    
         
            +
                        <p id="_60eb765c-1f6c-418a-8016-29efa06bf4f9">deletion of 4.3.</p>
         
     | 
| 
      
 15 
     | 
    
         
            +
                      </li>
         
     | 
| 
      
 16 
     | 
    
         
            +
                    </ul>
         
     | 
| 
      
 17 
     | 
    
         
            +
                    </foreword></preface>
         
     | 
| 
      
 18 
     | 
    
         
            +
                    </iso-standard>
         
     | 
| 
      
 19 
     | 
    
         
            +
                  INPUT
         
     | 
| 
      
 20 
     | 
    
         
            +
                    #{HTML_HDR}
         
     | 
| 
      
 21 
     | 
    
         
            +
                                 <br/>
         
     | 
| 
      
 22 
     | 
    
         
            +
                                 <div>
         
     | 
| 
      
 23 
     | 
    
         
            +
                                   <h1 class="ForewordTitle">Foreword</h1>
         
     | 
| 
      
 24 
     | 
    
         
            +
                                   <ul id="_61961034-0fb1-436b-b281-828857a59ddb" style="page-break-after: avoid;page-break-inside: avoid;">
         
     | 
| 
      
 25 
     | 
    
         
            +
                           <li>
         
     | 
| 
      
 26 
     | 
    
         
            +
                             <p id="_cb370dd3-8463-4ec7-aa1a-96f644e2e9a2">updated normative references;</p>
         
     | 
| 
      
 27 
     | 
    
         
            +
                           </li>
         
     | 
| 
      
 28 
     | 
    
         
            +
                           <li>
         
     | 
| 
      
 29 
     | 
    
         
            +
                             <p id="_60eb765c-1f6c-418a-8016-29efa06bf4f9">deletion of 4.3.</p>
         
     | 
| 
      
 30 
     | 
    
         
            +
                           </li>
         
     | 
| 
      
 31 
     | 
    
         
            +
                         </ul>
         
     | 
| 
      
 32 
     | 
    
         
            +
                                 </div>
         
     | 
| 
      
 33 
     | 
    
         
            +
                                 <p class="zzSTDTitle1"/>
         
     | 
| 
      
 34 
     | 
    
         
            +
                               </div>
         
     | 
| 
      
 35 
     | 
    
         
            +
                             </body>
         
     | 
| 
      
 36 
     | 
    
         
            +
                         </html>
         
     | 
| 
      
 37 
     | 
    
         
            +
                  OUTPUT
         
     | 
| 
       37 
38 
     | 
    
         
             
              end
         
     | 
| 
       38 
39 
     | 
    
         | 
| 
       39 
40 
     | 
    
         
             
              it "processes unordered checklists" do
         
     | 
| 
       40 
     | 
    
         
            -
                expect(xmlpp(IsoDoc::HtmlConvert.new({}) 
     | 
| 
       41 
     | 
    
         
            -
             
     | 
| 
       42 
     | 
    
         
            -
             
     | 
| 
       43 
     | 
    
         
            -
             
     | 
| 
       44 
     | 
    
         
            -
             
     | 
| 
       45 
     | 
    
         
            -
             
     | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
       48 
     | 
    
         
            -
             
     | 
| 
       49 
     | 
    
         
            -
             
     | 
| 
       50 
     | 
    
         
            -
            </ 
     | 
| 
       51 
     | 
    
         
            -
            </ 
     | 
| 
       52 
     | 
    
         
            -
            </ 
     | 
| 
       53 
     | 
    
         
            -
             
     | 
| 
       54 
     | 
    
         
            -
             
     | 
| 
       55 
     | 
    
         
            -
             
     | 
| 
       56 
     | 
    
         
            -
             
     | 
| 
       57 
     | 
    
         
            -
             
     | 
| 
       58 
     | 
    
         
            -
             
     | 
| 
       59 
     | 
    
         
            -
             
     | 
| 
       60 
     | 
    
         
            -
             
     | 
| 
       61 
     | 
    
         
            -
             
     | 
| 
       62 
     | 
    
         
            -
             
     | 
| 
       63 
     | 
    
         
            -
             
     | 
| 
       64 
     | 
    
         
            -
             
     | 
| 
       65 
     | 
    
         
            -
             
     | 
| 
       66 
     | 
    
         
            -
             
     | 
| 
       67 
     | 
    
         
            -
             
     | 
| 
       68 
     | 
    
         
            -
             
     | 
| 
       69 
     | 
    
         
            -
             
     | 
| 
       70 
     | 
    
         
            -
             
     | 
| 
       71 
     | 
    
         
            -
             
     | 
| 
       72 
     | 
    
         
            -
             
     | 
| 
       73 
     | 
    
         
            -
             
     | 
| 
       74 
     | 
    
         
            -
             
     | 
| 
       75 
     | 
    
         
            -
             
     | 
| 
       76 
     | 
    
         
            -
             
     | 
| 
       77 
     | 
    
         
            -
             
     | 
| 
      
 41 
     | 
    
         
            +
                expect(xmlpp(IsoDoc::HtmlConvert.new({})
         
     | 
| 
      
 42 
     | 
    
         
            +
                  .convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
         
     | 
| 
      
 43 
     | 
    
         
            +
                        <iso-standard xmlns="http://riboseinc.com/isoxml">
         
     | 
| 
      
 44 
     | 
    
         
            +
                        <preface><foreword>
         
     | 
| 
      
 45 
     | 
    
         
            +
                        <ul id="_61961034-0fb1-436b-b281-828857a59ddb">
         
     | 
| 
      
 46 
     | 
    
         
            +
                      <li  checkedcheckbox="true" uncheckedcheckbox="false">
         
     | 
| 
      
 47 
     | 
    
         
            +
                        <p id="_cb370dd3-8463-4ec7-aa1a-96f644e2e9a2">updated normative references;</p>
         
     | 
| 
      
 48 
     | 
    
         
            +
                      </li>
         
     | 
| 
      
 49 
     | 
    
         
            +
                      <li checkedcheckbox="false" uncheckedcheckbox="true">
         
     | 
| 
      
 50 
     | 
    
         
            +
                        <p id="_60eb765c-1f6c-418a-8016-29efa06bf4f9">deletion of 4.3.</p>
         
     | 
| 
      
 51 
     | 
    
         
            +
                      </li>
         
     | 
| 
      
 52 
     | 
    
         
            +
                    </ul>
         
     | 
| 
      
 53 
     | 
    
         
            +
                    </foreword></preface>
         
     | 
| 
      
 54 
     | 
    
         
            +
                    </iso-standard>
         
     | 
| 
      
 55 
     | 
    
         
            +
                  INPUT
         
     | 
| 
      
 56 
     | 
    
         
            +
                    #{HTML_HDR}
         
     | 
| 
      
 57 
     | 
    
         
            +
                                 <br/>
         
     | 
| 
      
 58 
     | 
    
         
            +
                       <div>
         
     | 
| 
      
 59 
     | 
    
         
            +
                                 <h1 class='ForewordTitle'>Foreword</h1>
         
     | 
| 
      
 60 
     | 
    
         
            +
                                 <ul id='_61961034-0fb1-436b-b281-828857a59ddb'>
         
     | 
| 
      
 61 
     | 
    
         
            +
                                   <li>
         
     | 
| 
      
 62 
     | 
    
         
            +
                                   <span class='zzMoveToFollowing'>
         
     | 
| 
      
 63 
     | 
    
         
            +
                                     <input type='checkbox'/>
         
     | 
| 
      
 64 
     | 
    
         
            +
                                     </span>
         
     | 
| 
      
 65 
     | 
    
         
            +
                                     <p id='_cb370dd3-8463-4ec7-aa1a-96f644e2e9a2'>updated normative references;</p>
         
     | 
| 
      
 66 
     | 
    
         
            +
                                   </li>
         
     | 
| 
      
 67 
     | 
    
         
            +
                                   <li>
         
     | 
| 
      
 68 
     | 
    
         
            +
                                   <span class='zzMoveToFollowing'>
         
     | 
| 
      
 69 
     | 
    
         
            +
                                     <input type='checkbox'  checked='checked'/>
         
     | 
| 
      
 70 
     | 
    
         
            +
                                     </span>
         
     | 
| 
      
 71 
     | 
    
         
            +
                                     <p id='_60eb765c-1f6c-418a-8016-29efa06bf4f9'>deletion of 4.3.</p>
         
     | 
| 
      
 72 
     | 
    
         
            +
                                   </li>
         
     | 
| 
      
 73 
     | 
    
         
            +
                                 </ul>
         
     | 
| 
      
 74 
     | 
    
         
            +
                               </div>
         
     | 
| 
      
 75 
     | 
    
         
            +
                               <p class='zzSTDTitle1'/>
         
     | 
| 
      
 76 
     | 
    
         
            +
                             </div>
         
     | 
| 
      
 77 
     | 
    
         
            +
                           </body>
         
     | 
| 
      
 78 
     | 
    
         
            +
                         </html>
         
     | 
| 
      
 79 
     | 
    
         
            +
                  OUTPUT
         
     | 
| 
       78 
80 
     | 
    
         
             
              end
         
     | 
| 
       79 
81 
     | 
    
         | 
| 
       80 
     | 
    
         
            -
             
     | 
| 
       81 
     | 
    
         
            -
                expect(xmlpp(IsoDoc::WordConvert.new({}) 
     | 
| 
       82 
     | 
    
         
            -
             
     | 
| 
       83 
     | 
    
         
            -
             
     | 
| 
       84 
     | 
    
         
            -
             
     | 
| 
       85 
     | 
    
         
            -
             
     | 
| 
       86 
     | 
    
         
            -
             
     | 
| 
       87 
     | 
    
         
            -
             
     | 
| 
       88 
     | 
    
         
            -
             
     | 
| 
       89 
     | 
    
         
            -
             
     | 
| 
       90 
     | 
    
         
            -
             
     | 
| 
       91 
     | 
    
         
            -
            </ 
     | 
| 
       92 
     | 
    
         
            -
            </ 
     | 
| 
       93 
     | 
    
         
            -
            </ 
     | 
| 
       94 
     | 
    
         
            -
             
     | 
| 
       95 
     | 
    
         
            -
             
     | 
| 
       96 
     | 
    
         
            -
             
     | 
| 
       97 
     | 
    
         
            -
            < 
     | 
| 
       98 
     | 
    
         
            -
             
     | 
| 
       99 
     | 
    
         
            -
             
     | 
| 
       100 
     | 
    
         
            -
             
     | 
| 
       101 
     | 
    
         
            -
             
     | 
| 
       102 
     | 
    
         
            -
             
     | 
| 
       103 
     | 
    
         
            -
             
     | 
| 
       104 
     | 
    
         
            -
             
     | 
| 
       105 
     | 
    
         
            -
             
     | 
| 
       106 
     | 
    
         
            -
             
     | 
| 
       107 
     | 
    
         
            -
             
     | 
| 
       108 
     | 
    
         
            -
             
     | 
| 
       109 
     | 
    
         
            -
             
     | 
| 
       110 
     | 
    
         
            -
             
     | 
| 
       111 
     | 
    
         
            -
             
     | 
| 
       112 
     | 
    
         
            -
             
     | 
| 
       113 
     | 
    
         
            -
             
     | 
| 
       114 
     | 
    
         
            -
             
     | 
| 
       115 
     | 
    
         
            -
             
     | 
| 
       116 
     | 
    
         
            -
             
     | 
| 
       117 
     | 
    
         
            -
             
     | 
| 
       118 
     | 
    
         
            -
             
     | 
| 
       119 
     | 
    
         
            -
             
     | 
| 
       120 
     | 
    
         
            -
             
     | 
| 
       121 
     | 
    
         
            -
             
     | 
| 
       122 
     | 
    
         
            -
             
     | 
| 
       123 
     | 
    
         
            -
             
     | 
| 
       124 
     | 
    
         
            -
             
     | 
| 
       125 
     | 
    
         
            -
             
     | 
| 
       126 
     | 
    
         
            -
             
     | 
| 
       127 
     | 
    
         
            -
             
     | 
| 
       128 
     | 
    
         
            -
             
     | 
| 
       129 
     | 
    
         
            -
             
     | 
| 
       130 
     | 
    
         
            -
             
     | 
| 
       131 
     | 
    
         
            -
             
     | 
| 
      
 82 
     | 
    
         
            +
              it "processes unordered checklists (Word)" do
         
     | 
| 
      
 83 
     | 
    
         
            +
                expect(xmlpp(IsoDoc::WordConvert.new({})
         
     | 
| 
      
 84 
     | 
    
         
            +
                  .convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
         
     | 
| 
      
 85 
     | 
    
         
            +
                        <iso-standard xmlns="http://riboseinc.com/isoxml">
         
     | 
| 
      
 86 
     | 
    
         
            +
                        <preface><foreword>
         
     | 
| 
      
 87 
     | 
    
         
            +
                        <ul id="_61961034-0fb1-436b-b281-828857a59ddb">
         
     | 
| 
      
 88 
     | 
    
         
            +
                      <li  checkedcheckbox="true" uncheckedcheckbox="false">
         
     | 
| 
      
 89 
     | 
    
         
            +
                        <p id="_cb370dd3-8463-4ec7-aa1a-96f644e2e9a2">updated normative references;</p>
         
     | 
| 
      
 90 
     | 
    
         
            +
                      </li>
         
     | 
| 
      
 91 
     | 
    
         
            +
                      <li checkedcheckbox="false" uncheckedcheckbox="true">
         
     | 
| 
      
 92 
     | 
    
         
            +
                        <p id="_60eb765c-1f6c-418a-8016-29efa06bf4f9">deletion of 4.3.</p>
         
     | 
| 
      
 93 
     | 
    
         
            +
                      </li>
         
     | 
| 
      
 94 
     | 
    
         
            +
                    </ul>
         
     | 
| 
      
 95 
     | 
    
         
            +
                    </foreword></preface>
         
     | 
| 
      
 96 
     | 
    
         
            +
                    </iso-standard>
         
     | 
| 
      
 97 
     | 
    
         
            +
                  INPUT
         
     | 
| 
      
 98 
     | 
    
         
            +
                           <html xmlns:epub="http://www.idpf.org/2007/ops" lang="en">
         
     | 
| 
      
 99 
     | 
    
         
            +
                              <head><style/></head>
         
     | 
| 
      
 100 
     | 
    
         
            +
                    <body lang='EN-US' link='blue' vlink='#954F72'>
         
     | 
| 
      
 101 
     | 
    
         
            +
                               <div class='WordSection1'>
         
     | 
| 
      
 102 
     | 
    
         
            +
                                 <p> </p>
         
     | 
| 
      
 103 
     | 
    
         
            +
                               </div>
         
     | 
| 
      
 104 
     | 
    
         
            +
                               <p>
         
     | 
| 
      
 105 
     | 
    
         
            +
                                 <br clear='all' class='section'/>
         
     | 
| 
      
 106 
     | 
    
         
            +
                               </p>
         
     | 
| 
      
 107 
     | 
    
         
            +
                               <div class='WordSection2'>
         
     | 
| 
      
 108 
     | 
    
         
            +
                                 <p>
         
     | 
| 
      
 109 
     | 
    
         
            +
                                   <br clear='all' style='mso-special-character:line-break;page-break-before:always'/>
         
     | 
| 
      
 110 
     | 
    
         
            +
                                 </p>
         
     | 
| 
      
 111 
     | 
    
         
            +
                                 <div>
         
     | 
| 
      
 112 
     | 
    
         
            +
                                   <h1 class='ForewordTitle'>Foreword</h1>
         
     | 
| 
      
 113 
     | 
    
         
            +
                                   <ul id='_61961034-0fb1-436b-b281-828857a59ddb'>
         
     | 
| 
      
 114 
     | 
    
         
            +
                                     <li>
         
     | 
| 
      
 115 
     | 
    
         
            +
                                       <span class='zzMoveToFollowing'>☑ </span>
         
     | 
| 
      
 116 
     | 
    
         
            +
                                       <p id='_cb370dd3-8463-4ec7-aa1a-96f644e2e9a2'>updated normative references;</p>
         
     | 
| 
      
 117 
     | 
    
         
            +
                                     </li>
         
     | 
| 
      
 118 
     | 
    
         
            +
                                     <li>
         
     | 
| 
      
 119 
     | 
    
         
            +
                                     <span class='zzMoveToFollowing'>☐ </span>
         
     | 
| 
      
 120 
     | 
    
         
            +
                                       <p id='_60eb765c-1f6c-418a-8016-29efa06bf4f9'>deletion of 4.3.</p>
         
     | 
| 
      
 121 
     | 
    
         
            +
                                     </li>
         
     | 
| 
      
 122 
     | 
    
         
            +
                                   </ul>
         
     | 
| 
      
 123 
     | 
    
         
            +
                                 </div>
         
     | 
| 
      
 124 
     | 
    
         
            +
                                 <p> </p>
         
     | 
| 
      
 125 
     | 
    
         
            +
                               </div>
         
     | 
| 
      
 126 
     | 
    
         
            +
                               <p>
         
     | 
| 
      
 127 
     | 
    
         
            +
                                 <br clear='all' class='section'/>
         
     | 
| 
      
 128 
     | 
    
         
            +
                               </p>
         
     | 
| 
      
 129 
     | 
    
         
            +
                               <div class='WordSection3'>
         
     | 
| 
      
 130 
     | 
    
         
            +
                                 <p class='zzSTDTitle1'/>
         
     | 
| 
      
 131 
     | 
    
         
            +
                               </div>
         
     | 
| 
      
 132 
     | 
    
         
            +
                             </body>
         
     | 
| 
      
 133 
     | 
    
         
            +
                           </html>
         
     | 
| 
      
 134 
     | 
    
         
            +
                  OUTPUT
         
     | 
| 
       132 
135 
     | 
    
         
             
              end
         
     | 
| 
       133 
136 
     | 
    
         | 
| 
       134 
     | 
    
         
            -
             
     | 
| 
       135 
137 
     | 
    
         
             
              it "processes ordered lists" do
         
     | 
| 
       136 
     | 
    
         
            -
                expect(xmlpp(IsoDoc::HtmlConvert.new({}) 
     | 
| 
       137 
     | 
    
         
            -
             
     | 
| 
       138 
     | 
    
         
            -
             
     | 
| 
       139 
     | 
    
         
            -
             
     | 
| 
       140 
     | 
    
         
            -
               
     | 
| 
       141 
     | 
    
         
            -
             
     | 
| 
       142 
     | 
    
         
            -
             
     | 
| 
       143 
     | 
    
         
            -
             
     | 
| 
       144 
     | 
    
         
            -
             
     | 
| 
       145 
     | 
    
         
            -
             
     | 
| 
       146 
     | 
    
         
            -
             
     | 
| 
       147 
     | 
    
         
            -
             
     | 
| 
       148 
     | 
    
         
            -
             
     | 
| 
       149 
     | 
    
         
            -
             
     | 
| 
       150 
     | 
    
         
            -
             
     | 
| 
       151 
     | 
    
         
            -
             
     | 
| 
       152 
     | 
    
         
            -
             
     | 
| 
       153 
     | 
    
         
            -
            </ol>
         
     | 
| 
       154 
     | 
    
         
            -
            </ 
     | 
| 
       155 
     | 
    
         
            -
            </ 
     | 
| 
       156 
     | 
    
         
            -
             
     | 
| 
       157 
     | 
    
         
            -
             
     | 
| 
       158 
     | 
    
         
            -
             
     | 
| 
       159 
     | 
    
         
            -
             
     | 
| 
       160 
     | 
    
         
            -
             
     | 
| 
       161 
     | 
    
         
            -
             
     | 
| 
       162 
     | 
    
         
            -
             
     | 
| 
       163 
     | 
    
         
            -
             
     | 
| 
       164 
     | 
    
         
            -
             
     | 
| 
       165 
     | 
    
         
            -
             
     | 
| 
       166 
     | 
    
         
            -
             
     | 
| 
       167 
     | 
    
         
            -
             
     | 
| 
       168 
     | 
    
         
            -
             
     | 
| 
       169 
     | 
    
         
            -
             
     | 
| 
       170 
     | 
    
         
            -
             
     | 
| 
       171 
     | 
    
         
            -
             
     | 
| 
       172 
     | 
    
         
            -
             
     | 
| 
       173 
     | 
    
         
            -
             
     | 
| 
       174 
     | 
    
         
            -
             
     | 
| 
       175 
     | 
    
         
            -
             
     | 
| 
       176 
     | 
    
         
            -
             
     | 
| 
       177 
     | 
    
         
            -
             
     | 
| 
       178 
     | 
    
         
            -
             
     | 
| 
       179 
     | 
    
         
            -
             
     | 
| 
       180 
     | 
    
         
            -
             
     | 
| 
       181 
     | 
    
         
            -
             
     | 
| 
      
 138 
     | 
    
         
            +
                expect(xmlpp(IsoDoc::HtmlConvert.new({})
         
     | 
| 
      
 139 
     | 
    
         
            +
                  .convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
         
     | 
| 
      
 140 
     | 
    
         
            +
                        <iso-standard xmlns="http://riboseinc.com/isoxml">
         
     | 
| 
      
 141 
     | 
    
         
            +
                        <preface><foreword>
         
     | 
| 
      
 142 
     | 
    
         
            +
                        <ol id="_ae34a226-aab4-496d-987b-1aa7b6314026" type="alphabet"  keep-with-next="true" keep-lines-together="true">
         
     | 
| 
      
 143 
     | 
    
         
            +
                      <li>
         
     | 
| 
      
 144 
     | 
    
         
            +
                        <p id="_0091a277-fb0e-424a-aea8-f0001303fe78">all information necessary for the complete identification of the sample;</p>
         
     | 
| 
      
 145 
     | 
    
         
            +
                      </li>
         
     | 
| 
      
 146 
     | 
    
         
            +
                      <ol>
         
     | 
| 
      
 147 
     | 
    
         
            +
                      <li>
         
     | 
| 
      
 148 
     | 
    
         
            +
                        <p id="_8a7b6299-db05-4ff8-9de7-ff019b9017b2">a reference to this document (i.e. ISO 17301-1);</p>
         
     | 
| 
      
 149 
     | 
    
         
            +
                      </li>
         
     | 
| 
      
 150 
     | 
    
         
            +
                      <ol>
         
     | 
| 
      
 151 
     | 
    
         
            +
                      <li>
         
     | 
| 
      
 152 
     | 
    
         
            +
                        <p id="_ea248b7f-839f-460f-a173-a58a830b2abe">the sampling method used;</p>
         
     | 
| 
      
 153 
     | 
    
         
            +
                      </li>
         
     | 
| 
      
 154 
     | 
    
         
            +
                      </ol>
         
     | 
| 
      
 155 
     | 
    
         
            +
                      </ol>
         
     | 
| 
      
 156 
     | 
    
         
            +
                    </ol>
         
     | 
| 
      
 157 
     | 
    
         
            +
                    </foreword></preface>
         
     | 
| 
      
 158 
     | 
    
         
            +
                    </iso-standard>
         
     | 
| 
      
 159 
     | 
    
         
            +
                  INPUT
         
     | 
| 
      
 160 
     | 
    
         
            +
                    #{HTML_HDR}
         
     | 
| 
      
 161 
     | 
    
         
            +
                                 <br/>
         
     | 
| 
      
 162 
     | 
    
         
            +
                                 <div>
         
     | 
| 
      
 163 
     | 
    
         
            +
                                   <h1 class="ForewordTitle">Foreword</h1>
         
     | 
| 
      
 164 
     | 
    
         
            +
                                   <ol type="a" id="_ae34a226-aab4-496d-987b-1aa7b6314026" style="page-break-after: avoid;page-break-inside: avoid;">
         
     | 
| 
      
 165 
     | 
    
         
            +
                           <li>
         
     | 
| 
      
 166 
     | 
    
         
            +
                             <p id="_0091a277-fb0e-424a-aea8-f0001303fe78">all information necessary for the complete identification of the sample;</p>
         
     | 
| 
      
 167 
     | 
    
         
            +
                           </li>
         
     | 
| 
      
 168 
     | 
    
         
            +
                           <ol type="1">
         
     | 
| 
      
 169 
     | 
    
         
            +
                           <li>
         
     | 
| 
      
 170 
     | 
    
         
            +
                             <p id="_8a7b6299-db05-4ff8-9de7-ff019b9017b2">a reference to this document (i.e. ISO 17301-1);</p>
         
     | 
| 
      
 171 
     | 
    
         
            +
                           </li>
         
     | 
| 
      
 172 
     | 
    
         
            +
                           <ol type="i">
         
     | 
| 
      
 173 
     | 
    
         
            +
                           <li>
         
     | 
| 
      
 174 
     | 
    
         
            +
                             <p id="_ea248b7f-839f-460f-a173-a58a830b2abe">the sampling method used;</p>
         
     | 
| 
      
 175 
     | 
    
         
            +
                           </li>
         
     | 
| 
      
 176 
     | 
    
         
            +
                           </ol>
         
     | 
| 
      
 177 
     | 
    
         
            +
                           </ol>
         
     | 
| 
      
 178 
     | 
    
         
            +
                         </ol>
         
     | 
| 
      
 179 
     | 
    
         
            +
                                 </div>
         
     | 
| 
      
 180 
     | 
    
         
            +
                                 <p class="zzSTDTitle1"/>
         
     | 
| 
      
 181 
     | 
    
         
            +
                               </div>
         
     | 
| 
      
 182 
     | 
    
         
            +
                             </body>
         
     | 
| 
      
 183 
     | 
    
         
            +
                         </html>
         
     | 
| 
      
 184 
     | 
    
         
            +
                  OUTPUT
         
     | 
| 
       182 
185 
     | 
    
         
             
              end
         
     | 
| 
       183 
186 
     | 
    
         | 
| 
       184 
187 
     | 
    
         
             
              it "processes Roman Upper ordered lists" do
         
     | 
| 
       185 
     | 
    
         
            -
                expect(xmlpp(IsoDoc::HtmlConvert.new({}) 
     | 
| 
       186 
     | 
    
         
            -
             
     | 
| 
       187 
     | 
    
         
            -
             
     | 
| 
       188 
     | 
    
         
            -
             
     | 
| 
       189 
     | 
    
         
            -
             
     | 
| 
       190 
     | 
    
         
            -
             
     | 
| 
       191 
     | 
    
         
            -
             
     | 
| 
       192 
     | 
    
         
            -
             
     | 
| 
       193 
     | 
    
         
            -
             
     | 
| 
       194 
     | 
    
         
            -
             
     | 
| 
       195 
     | 
    
         
            -
             
     | 
| 
       196 
     | 
    
         
            -
             
     | 
| 
       197 
     | 
    
         
            -
             
     | 
| 
       198 
     | 
    
         
            -
            </ 
     | 
| 
       199 
     | 
    
         
            -
            </ 
     | 
| 
       200 
     | 
    
         
            -
            </ 
     | 
| 
       201 
     | 
    
         
            -
             
     | 
| 
       202 
     | 
    
         
            -
             
     | 
| 
       203 
     | 
    
         
            -
             
     | 
| 
       204 
     | 
    
         
            -
             
     | 
| 
       205 
     | 
    
         
            -
             
     | 
| 
       206 
     | 
    
         
            -
             
     | 
| 
       207 
     | 
    
         
            -
             
     | 
| 
       208 
     | 
    
         
            -
             
     | 
| 
       209 
     | 
    
         
            -
             
     | 
| 
       210 
     | 
    
         
            -
             
     | 
| 
       211 
     | 
    
         
            -
             
     | 
| 
       212 
     | 
    
         
            -
             
     | 
| 
       213 
     | 
    
         
            -
             
     | 
| 
       214 
     | 
    
         
            -
             
     | 
| 
       215 
     | 
    
         
            -
             
     | 
| 
       216 
     | 
    
         
            -
             
     | 
| 
       217 
     | 
    
         
            -
             
     | 
| 
       218 
     | 
    
         
            -
             
     | 
| 
       219 
     | 
    
         
            -
             
     | 
| 
       220 
     | 
    
         
            -
             
     | 
| 
       221 
     | 
    
         
            -
             
     | 
| 
       222 
     | 
    
         
            -
             
     | 
| 
      
 188 
     | 
    
         
            +
                expect(xmlpp(IsoDoc::HtmlConvert.new({})
         
     | 
| 
      
 189 
     | 
    
         
            +
                  .convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
         
     | 
| 
      
 190 
     | 
    
         
            +
                        <iso-standard xmlns="http://riboseinc.com/isoxml">
         
     | 
| 
      
 191 
     | 
    
         
            +
                        <preface><foreword>
         
     | 
| 
      
 192 
     | 
    
         
            +
                        <ol id="_ae34a226-aab4-496d-987b-1aa7b6314026" type="roman_upper">
         
     | 
| 
      
 193 
     | 
    
         
            +
                      <li id="_ae34a226-aab4-496d-987b-1aa7b6314027">
         
     | 
| 
      
 194 
     | 
    
         
            +
                        <p id="_0091a277-fb0e-424a-aea8-f0001303fe78">all information necessary for the complete identification of the sample;</p>
         
     | 
| 
      
 195 
     | 
    
         
            +
                      </li>
         
     | 
| 
      
 196 
     | 
    
         
            +
                      <li>
         
     | 
| 
      
 197 
     | 
    
         
            +
                        <p id="_8a7b6299-db05-4ff8-9de7-ff019b9017b2">a reference to this document (i.e. ISO 17301-1);</p>
         
     | 
| 
      
 198 
     | 
    
         
            +
                      </li>
         
     | 
| 
      
 199 
     | 
    
         
            +
                      <li>
         
     | 
| 
      
 200 
     | 
    
         
            +
                        <p id="_ea248b7f-839f-460f-a173-a58a830b2abe">the sampling method used;</p>
         
     | 
| 
      
 201 
     | 
    
         
            +
                      </li>
         
     | 
| 
      
 202 
     | 
    
         
            +
                    </ol>
         
     | 
| 
      
 203 
     | 
    
         
            +
                    </foreword></preface>
         
     | 
| 
      
 204 
     | 
    
         
            +
                    </iso-standard>
         
     | 
| 
      
 205 
     | 
    
         
            +
                  INPUT
         
     | 
| 
      
 206 
     | 
    
         
            +
                    #{HTML_HDR}
         
     | 
| 
      
 207 
     | 
    
         
            +
                                 <br/>
         
     | 
| 
      
 208 
     | 
    
         
            +
                                 <div>
         
     | 
| 
      
 209 
     | 
    
         
            +
                                   <h1 class="ForewordTitle">Foreword</h1>
         
     | 
| 
      
 210 
     | 
    
         
            +
                                   <ol type="I" id="_ae34a226-aab4-496d-987b-1aa7b6314026">
         
     | 
| 
      
 211 
     | 
    
         
            +
                           <li id="_ae34a226-aab4-496d-987b-1aa7b6314027">
         
     | 
| 
      
 212 
     | 
    
         
            +
                             <p id="_0091a277-fb0e-424a-aea8-f0001303fe78">all information necessary for the complete identification of the sample;</p>
         
     | 
| 
      
 213 
     | 
    
         
            +
                           </li>
         
     | 
| 
      
 214 
     | 
    
         
            +
                           <li>
         
     | 
| 
      
 215 
     | 
    
         
            +
                             <p id="_8a7b6299-db05-4ff8-9de7-ff019b9017b2">a reference to this document (i.e. ISO 17301-1);</p>
         
     | 
| 
      
 216 
     | 
    
         
            +
                           </li>
         
     | 
| 
      
 217 
     | 
    
         
            +
                           <li>
         
     | 
| 
      
 218 
     | 
    
         
            +
                             <p id="_ea248b7f-839f-460f-a173-a58a830b2abe">the sampling method used;</p>
         
     | 
| 
      
 219 
     | 
    
         
            +
                           </li>
         
     | 
| 
      
 220 
     | 
    
         
            +
                         </ol>
         
     | 
| 
      
 221 
     | 
    
         
            +
                                 </div>
         
     | 
| 
      
 222 
     | 
    
         
            +
                                 <p class="zzSTDTitle1"/>
         
     | 
| 
      
 223 
     | 
    
         
            +
                               </div>
         
     | 
| 
      
 224 
     | 
    
         
            +
                             </body>
         
     | 
| 
      
 225 
     | 
    
         
            +
                         </html>
         
     | 
| 
      
 226 
     | 
    
         
            +
                  OUTPUT
         
     | 
| 
       223 
227 
     | 
    
         
             
              end
         
     | 
| 
       224 
228 
     | 
    
         | 
| 
       225 
229 
     | 
    
         
             
              it "processes definition lists" do
         
     | 
| 
       226 
230 
     | 
    
         
             
                expect(xmlpp(IsoDoc::HtmlConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
         
     | 
| 
       227 
     | 
    
         
            -
             
     | 
| 
       228 
     | 
    
         
            -
             
     | 
| 
       229 
     | 
    
         
            -
             
     | 
| 
       230 
     | 
    
         
            -
             
     | 
| 
       231 
     | 
    
         
            -
             
     | 
| 
       232 
     | 
    
         
            -
             
     | 
| 
       233 
     | 
    
         
            -
             
     | 
| 
       234 
     | 
    
         
            -
             
     | 
| 
       235 
     | 
    
         
            -
             
     | 
| 
       236 
     | 
    
         
            -
             
     | 
| 
       237 
     | 
    
         
            -
             
     | 
| 
       238 
     | 
    
         
            -
             
     | 
| 
       239 
     | 
    
         
            -
             
     | 
| 
       240 
     | 
    
         
            -
            </foreword></preface>
         
     | 
| 
       241 
     | 
    
         
            -
            </iso-standard>
         
     | 
| 
      
 231 
     | 
    
         
            +
                      <iso-standard xmlns="http://riboseinc.com/isoxml">
         
     | 
| 
      
 232 
     | 
    
         
            +
                      <preface><foreword>
         
     | 
| 
      
 233 
     | 
    
         
            +
                      <dl id="_732d3f57-4f88-40bf-9ae9-633891edc395"  keep-with-next="true" keep-lines-together="true">
         
     | 
| 
      
 234 
     | 
    
         
            +
                    <dt>
         
     | 
| 
      
 235 
     | 
    
         
            +
                      W
         
     | 
| 
      
 236 
     | 
    
         
            +
                    </dt>
         
     | 
| 
      
 237 
     | 
    
         
            +
                    <dd>
         
     | 
| 
      
 238 
     | 
    
         
            +
                      <p id="_05d81174-3a41-44af-94d8-c78b8d2e175d">mass fraction of gelatinized kernels, expressed in per cent</p>
         
     | 
| 
      
 239 
     | 
    
         
            +
                    </dd>
         
     | 
| 
      
 240 
     | 
    
         
            +
                    <dt><stem type="AsciiMath">w</stem></dt>
         
     | 
| 
      
 241 
     | 
    
         
            +
                    <dd><p>??</p></dd>
         
     | 
| 
      
 242 
     | 
    
         
            +
                    <note><p>This is a note</p></note>
         
     | 
| 
      
 243 
     | 
    
         
            +
                    </dl>
         
     | 
| 
      
 244 
     | 
    
         
            +
                  </foreword></preface>
         
     | 
| 
      
 245 
     | 
    
         
            +
                  </iso-standard>
         
     | 
| 
       242 
246 
     | 
    
         
             
                INPUT
         
     | 
| 
       243 
     | 
    
         
            -
             
     | 
| 
       244 
     | 
    
         
            -
             
     | 
| 
       245 
     | 
    
         
            -
             
     | 
| 
       246 
     | 
    
         
            -
             
     | 
| 
       247 
     | 
    
         
            -
             
     | 
| 
       248 
     | 
    
         
            -
             
     | 
| 
       249 
     | 
    
         
            -
             
     | 
| 
       250 
     | 
    
         
            -
             
     | 
| 
       251 
     | 
    
         
            -
             
     | 
| 
       252 
     | 
    
         
            -
             
     | 
| 
       253 
     | 
    
         
            -
             
     | 
| 
       254 
     | 
    
         
            -
             
     | 
| 
       255 
     | 
    
         
            -
             
     | 
| 
       256 
     | 
    
         
            -
             
     | 
| 
       257 
     | 
    
         
            -
             
     | 
| 
       258 
     | 
    
         
            -
             
     | 
| 
       259 
     | 
    
         
            -
             
     | 
| 
       260 
     | 
    
         
            -
             
     | 
| 
       261 
     | 
    
         
            -
             
     | 
| 
       262 
     | 
    
         
            -
             
     | 
| 
       263 
     | 
    
         
            -
             
     | 
| 
       264 
     | 
    
         
            -
             
     | 
| 
       265 
     | 
    
         
            -
            </div>
         
     | 
| 
       266 
     | 
    
         
            -
             
     | 
| 
       267 
     | 
    
         
            -
             
     | 
| 
       268 
     | 
    
         
            -
             
     | 
| 
       269 
     | 
    
         
            -
             
     | 
| 
       270 
     | 
    
         
            -
             
     | 
| 
      
 247 
     | 
    
         
            +
                  #{HTML_HDR}
         
     | 
| 
      
 248 
     | 
    
         
            +
                                   <br/>
         
     | 
| 
      
 249 
     | 
    
         
            +
                                   <div>
         
     | 
| 
      
 250 
     | 
    
         
            +
                                     <h1 class="ForewordTitle">Foreword</h1>
         
     | 
| 
      
 251 
     | 
    
         
            +
                                     <dl id="_732d3f57-4f88-40bf-9ae9-633891edc395" style="page-break-after: avoid;page-break-inside: avoid;">
         
     | 
| 
      
 252 
     | 
    
         
            +
                                       <dt>
         
     | 
| 
      
 253 
     | 
    
         
            +
                                         <p>
         
     | 
| 
      
 254 
     | 
    
         
            +
                               W
         
     | 
| 
      
 255 
     | 
    
         
            +
                             </p>
         
     | 
| 
      
 256 
     | 
    
         
            +
                                       </dt>
         
     | 
| 
      
 257 
     | 
    
         
            +
                                       <dd>
         
     | 
| 
      
 258 
     | 
    
         
            +
                               <p id="_05d81174-3a41-44af-94d8-c78b8d2e175d">mass fraction of gelatinized kernels, expressed in per cent</p>
         
     | 
| 
      
 259 
     | 
    
         
            +
                             </dd>
         
     | 
| 
      
 260 
     | 
    
         
            +
                                       <dt>
         
     | 
| 
      
 261 
     | 
    
         
            +
                                         <span class="stem">(#(w)#)</span>
         
     | 
| 
      
 262 
     | 
    
         
            +
                                       </dt>
         
     | 
| 
      
 263 
     | 
    
         
            +
                                       <dd>
         
     | 
| 
      
 264 
     | 
    
         
            +
                                         <p>??</p>
         
     | 
| 
      
 265 
     | 
    
         
            +
                                       </dd>
         
     | 
| 
      
 266 
     | 
    
         
            +
                                     </dl>
         
     | 
| 
      
 267 
     | 
    
         
            +
                                     <div class="Note">
         
     | 
| 
      
 268 
     | 
    
         
            +
                      <p>  This is a note</p>
         
     | 
| 
      
 269 
     | 
    
         
            +
                    </div>
         
     | 
| 
      
 270 
     | 
    
         
            +
                                   </div>
         
     | 
| 
      
 271 
     | 
    
         
            +
                                   <p class="zzSTDTitle1"/>
         
     | 
| 
      
 272 
     | 
    
         
            +
                                 </div>
         
     | 
| 
      
 273 
     | 
    
         
            +
                               </body>
         
     | 
| 
      
 274 
     | 
    
         
            +
                           </html>
         
     | 
| 
       271 
275 
     | 
    
         
             
                OUTPUT
         
     | 
| 
       272 
276 
     | 
    
         
             
              end
         
     | 
| 
       273 
277 
     | 
    
         | 
| 
       274 
278 
     | 
    
         
             
              it "processes definition lists (Word)" do
         
     | 
| 
       275 
279 
     | 
    
         
             
                expect(xmlpp(IsoDoc::WordConvert.new({}).convert("test", <<~"INPUT", true))).to be_equivalent_to xmlpp(<<~"OUTPUT")
         
     | 
| 
       276 
     | 
    
         
            -
             
     | 
| 
       277 
     | 
    
         
            -
             
     | 
| 
       278 
     | 
    
         
            -
             
     | 
| 
       279 
     | 
    
         
            -
             
     | 
| 
       280 
     | 
    
         
            -
             
     | 
| 
       281 
     | 
    
         
            -
             
     | 
| 
       282 
     | 
    
         
            -
             
     | 
| 
       283 
     | 
    
         
            -
             
     | 
| 
       284 
     | 
    
         
            -
             
     | 
| 
       285 
     | 
    
         
            -
             
     | 
| 
       286 
     | 
    
         
            -
             
     | 
| 
       287 
     | 
    
         
            -
             
     | 
| 
       288 
     | 
    
         
            -
             
     | 
| 
       289 
     | 
    
         
            -
            </foreword></preface>
         
     | 
| 
       290 
     | 
    
         
            -
            </iso-standard>
         
     | 
| 
      
 280 
     | 
    
         
            +
                      <iso-standard xmlns="http://riboseinc.com/isoxml">
         
     | 
| 
      
 281 
     | 
    
         
            +
                      <preface><foreword>
         
     | 
| 
      
 282 
     | 
    
         
            +
                      <dl id="_732d3f57-4f88-40bf-9ae9-633891edc395">
         
     | 
| 
      
 283 
     | 
    
         
            +
                    <dt>
         
     | 
| 
      
 284 
     | 
    
         
            +
                      W
         
     | 
| 
      
 285 
     | 
    
         
            +
                    </dt>
         
     | 
| 
      
 286 
     | 
    
         
            +
                    <dd>
         
     | 
| 
      
 287 
     | 
    
         
            +
                      <p id="_05d81174-3a41-44af-94d8-c78b8d2e175d">mass fraction of gelatinized kernels, expressed in per cent</p>
         
     | 
| 
      
 288 
     | 
    
         
            +
                    </dd>
         
     | 
| 
      
 289 
     | 
    
         
            +
                    <dt><stem type="AsciiMath">w</stem></dt>
         
     | 
| 
      
 290 
     | 
    
         
            +
                    <dd><p>??</p></dd>
         
     | 
| 
      
 291 
     | 
    
         
            +
                    <note><p>This is a note</p></note>
         
     | 
| 
      
 292 
     | 
    
         
            +
                    </dl>
         
     | 
| 
      
 293 
     | 
    
         
            +
                  </foreword></preface>
         
     | 
| 
      
 294 
     | 
    
         
            +
                  </iso-standard>
         
     | 
| 
       291 
295 
     | 
    
         
             
                INPUT
         
     | 
| 
       292 
     | 
    
         
            -
             
     | 
| 
       293 
     | 
    
         
            -
             
     | 
| 
       294 
     | 
    
         
            -
             
     | 
| 
       295 
     | 
    
         
            -
             
     | 
| 
       296 
     | 
    
         
            -
             
     | 
| 
       297 
     | 
    
         
            -
             
     | 
| 
       298 
     | 
    
         
            -
             
     | 
| 
       299 
     | 
    
         
            -
             
     | 
| 
       300 
     | 
    
         
            -
             
     | 
| 
       301 
     | 
    
         
            -
             
     | 
| 
       302 
     | 
    
         
            -
             
     | 
| 
       303 
     | 
    
         
            -
             
     | 
| 
       304 
     | 
    
         
            -
             
     | 
| 
       305 
     | 
    
         
            -
             
     | 
| 
       306 
     | 
    
         
            -
                                    <p align="left" style="margin-left:0pt;text-align:left;">
         
     | 
| 
       307 
     | 
    
         
            -
                        W
         
     | 
| 
       308 
     | 
    
         
            -
                      </p>
         
     | 
| 
       309 
     | 
    
         
            -
                                  </td>
         
     | 
| 
       310 
     | 
    
         
            -
                                  <td valign="top">
         
     | 
| 
       311 
     | 
    
         
            -
                        <p id="_05d81174-3a41-44af-94d8-c78b8d2e175d">mass fraction of gelatinized kernels, expressed in per cent</p>
         
     | 
| 
       312 
     | 
    
         
            -
                      </td>
         
     | 
| 
       313 
     | 
    
         
            -
                                </tr>
         
     | 
| 
       314 
     | 
    
         
            -
                                <tr>
         
     | 
| 
       315 
     | 
    
         
            -
                                  <td valign="top" align="left">
         
     | 
| 
      
 296 
     | 
    
         
            +
                     <html xmlns:epub="http://www.idpf.org/2007/ops" lang="en">
         
     | 
| 
      
 297 
     | 
    
         
            +
                    <head><style/></head>
         
     | 
| 
      
 298 
     | 
    
         
            +
                      <body lang="EN-US" link="blue" vlink="#954F72">
         
     | 
| 
      
 299 
     | 
    
         
            +
                        <div class="WordSection1">
         
     | 
| 
      
 300 
     | 
    
         
            +
                          <p> </p>
         
     | 
| 
      
 301 
     | 
    
         
            +
                        </div>
         
     | 
| 
      
 302 
     | 
    
         
            +
                        <p><br clear="all" class="section"/></p>
         
     | 
| 
      
 303 
     | 
    
         
            +
                        <div class="WordSection2">
         
     | 
| 
      
 304 
     | 
    
         
            +
                          <p><br clear="all" style="mso-special-character:line-break;page-break-before:always"/></p>
         
     | 
| 
      
 305 
     | 
    
         
            +
                          <div>
         
     | 
| 
      
 306 
     | 
    
         
            +
                            <h1 class="ForewordTitle">Foreword</h1>
         
     | 
| 
      
 307 
     | 
    
         
            +
                            <table class="dl">
         
     | 
| 
      
 308 
     | 
    
         
            +
                              <tr>
         
     | 
| 
      
 309 
     | 
    
         
            +
                                <td valign="top" align="left">
         
     | 
| 
       316 
310 
     | 
    
         
             
                                  <p align="left" style="margin-left:0pt;text-align:left;">
         
     | 
| 
       317 
     | 
    
         
            -
             
     | 
| 
       318 
     | 
    
         
            -
             
     | 
| 
       319 
     | 
    
         
            -
             
     | 
| 
       320 
     | 
    
         
            -
             
     | 
| 
       321 
     | 
    
         
            -
             
     | 
| 
       322 
     | 
    
         
            -
             
     | 
| 
       323 
     | 
    
         
            -
             
     | 
| 
       324 
     | 
    
         
            -
             
     | 
| 
       325 
     | 
    
         
            -
             
     | 
| 
       326 
     | 
    
         
            -
             
     | 
| 
       327 
     | 
    
         
            -
             
     | 
| 
       328 
     | 
    
         
            -
             
     | 
| 
       329 
     | 
    
         
            -
             
     | 
| 
       330 
     | 
    
         
            -
                                 
     | 
| 
       331 
     | 
    
         
            -
             
     | 
| 
       332 
     | 
    
         
            -
             
     | 
| 
       333 
     | 
    
         
            -
             
     | 
| 
       334 
     | 
    
         
            -
             
     | 
| 
       335 
     | 
    
         
            -
             
     | 
| 
       336 
     | 
    
         
            -
             
     | 
| 
       337 
     | 
    
         
            -
             
     | 
| 
      
 311 
     | 
    
         
            +
                      W
         
     | 
| 
      
 312 
     | 
    
         
            +
                    </p>
         
     | 
| 
      
 313 
     | 
    
         
            +
                                </td>
         
     | 
| 
      
 314 
     | 
    
         
            +
                                <td valign="top">
         
     | 
| 
      
 315 
     | 
    
         
            +
                      <p id="_05d81174-3a41-44af-94d8-c78b8d2e175d">mass fraction of gelatinized kernels, expressed in per cent</p>
         
     | 
| 
      
 316 
     | 
    
         
            +
                    </td>
         
     | 
| 
      
 317 
     | 
    
         
            +
                              </tr>
         
     | 
| 
      
 318 
     | 
    
         
            +
                              <tr>
         
     | 
| 
      
 319 
     | 
    
         
            +
                                <td valign="top" align="left">
         
     | 
| 
      
 320 
     | 
    
         
            +
                                <p align="left" style="margin-left:0pt;text-align:left;">
         
     | 
| 
      
 321 
     | 
    
         
            +
                                  <span class="stem">(#(w)#)</span>
         
     | 
| 
      
 322 
     | 
    
         
            +
                                </p>
         
     | 
| 
      
 323 
     | 
    
         
            +
                                </td>
         
     | 
| 
      
 324 
     | 
    
         
            +
                                <td valign="top">
         
     | 
| 
      
 325 
     | 
    
         
            +
                                  <p>??</p>
         
     | 
| 
      
 326 
     | 
    
         
            +
                                </td>
         
     | 
| 
      
 327 
     | 
    
         
            +
                              </tr>
         
     | 
| 
      
 328 
     | 
    
         
            +
                              <tr>
         
     | 
| 
      
 329 
     | 
    
         
            +
                               <td colspan="2">
         
     | 
| 
      
 330 
     | 
    
         
            +
                                 <div class="Note">
         
     | 
| 
      
 331 
     | 
    
         
            +
                                   <p class="Note"><span class="note_label"/><span style="mso-tab-count:1">  </span>This is a note</p>
         
     | 
| 
      
 332 
     | 
    
         
            +
                                 </div>
         
     | 
| 
      
 333 
     | 
    
         
            +
                                </td>
         
     | 
| 
      
 334 
     | 
    
         
            +
                              </tr>
         
     | 
| 
      
 335 
     | 
    
         
            +
                            </table>
         
     | 
| 
       338 
336 
     | 
    
         
             
                          </div>
         
     | 
| 
       339 
     | 
    
         
            -
             
     | 
| 
       340 
     | 
    
         
            -
             
     | 
| 
      
 337 
     | 
    
         
            +
                          <p> </p>
         
     | 
| 
      
 338 
     | 
    
         
            +
                        </div>
         
     | 
| 
      
 339 
     | 
    
         
            +
                        <p><br clear="all" class="section"/></p>
         
     | 
| 
      
 340 
     | 
    
         
            +
                        <div class="WordSection3">
         
     | 
| 
      
 341 
     | 
    
         
            +
                          <p class="zzSTDTitle1"/>
         
     | 
| 
      
 342 
     | 
    
         
            +
                        </div>
         
     | 
| 
      
 343 
     | 
    
         
            +
                      </body>
         
     | 
| 
      
 344 
     | 
    
         
            +
                  </html>
         
     | 
| 
       341 
345 
     | 
    
         
             
                OUTPUT
         
     | 
| 
       342 
346 
     | 
    
         
             
              end
         
     | 
| 
       343 
     | 
    
         
            -
             
     | 
| 
       344 
     | 
    
         
            -
             
     | 
| 
       345 
347 
     | 
    
         
             
            end
         
     | 
| 
       346 
     | 
    
         
            -
             
     |