This International Standard gives the minimum specifications for rice (Oryza sativa L.) which is subject to international trade. It is applicable to the following types: husked rice and milled rice, parboiled or not, intended for direct human consumption. It is neither applicable to other products derived from rice, nor to waxy rice (glutinous rice).
@@ -989,9 +977,7 @@Foreword - @@ -1050,16 +1036,16 @@ - - + -+ + + +
+ (informative) +Annex A @@ -1089,9 +1075,7 @@INPUT presxml = <<~OUTPUT - Bibliography - R. FIELDING, J. GETTYS, J. MOGUL, H. FRYSTYK, L. MASINTER, P. LEACH and T. BERNERS-LEE. Hypertext Transfer Protocol — HTTP/1.1. In: RFC. 1999. Fremont, CA. [1] @@ -1233,9 +1217,7 @@Foreword - @@ -1393,9 +1375,7 @@ Foreword - @@ -1510,9 +1490,7 @@ Foreword - <A> Hello @@ -1734,11 +1712,11 @@ + +Clause 1 Clause @@ -1752,11 +1730,11 @@ . 1 . - -Clause 1A + +Clause 1A Clause @@ -1774,11 +1752,11 @@ . 1 . - -Clause 1Aa + +Clause 1Aa Clause @@ -1799,11 +1777,11 @@ . 2 . - -Clause 1Ab + +Clause 1Ab Clause @@ -1823,11 +1801,11 @@ . 2 . - -Clause 1B + +Clause 1B Clause @@ -1845,11 +1823,11 @@ . 1 . - -Clause 1Ba + +Clause 1Ba Clause @@ -1868,11 +1846,11 @@ + + Clause 2 Clause diff --git a/spec/isodoc/figures_spec.rb b/spec/isodoc/figures_spec.rb index 91201154..b57f5a2a 100644 --- a/spec/isodoc/figures_spec.rb +++ b/spec/isodoc/figures_spec.rb @@ -76,7 +76,7 @@ INPUT presxml = <<~OUTPUT - + Table of contents @@ -84,9 +84,7 @@Foreword - +Foreword Figure @@ -184,11 +182,11 @@ + + Normative References Clause @@ -208,37 +206,37 @@ - + + +
+ (informative)Annex - +A @@ -466,9 +464,7 @@ Foreword - Figure @@ -492,9 +488,9 @@ 1 -1 +Subfigure 1 -Figure @@ -512,9 +508,9 @@ 1 -2 +Subfigure 2 -Figure @@ -651,9 +647,7 @@ Foreword - @@ -668,6 +662,7 @@ Split-it-right @@ -677,7 +672,6 @@ -X
Diagram @@ -690,9 +684,7 @@
Key of figure - a
- @@ -757,9 +749,7 @@
Foreword - @@ -811,9 +801,7 @@ Foreword - @@ -939,9 +927,7 @@ Foreword - diff --git a/spec/isodoc/footnotes_spec.rb b/spec/isodoc/footnotes_spec.rb index f2fe8c5e..2625b48a 100644 --- a/spec/isodoc/footnotes_spec.rb +++ b/spec/isodoc/footnotes_spec.rb @@ -29,9 +29,7 @@ Foreword - A. @@ -196,9 +194,7 @@
Foreword - A.
B.
@@ -217,9 +213,7 @@Introduction - Second note.
@@ -385,9 +379,7 @@Foreword -
- @@ -407,9 +399,7 @@
Introduction - Second note.
diff --git a/spec/isodoc/i18n_spec.rb b/spec/isodoc/i18n_spec.rb index 9b8f1c63..a7349faf 100644 --- a/spec/isodoc/i18n_spec.rb +++ b/spec/isodoc/i18n_spec.rb @@ -76,349 +76,339 @@ INPUT presxml = <<~PRESXML -- +- -en -- -published -withdrawn -2 -second edition -- -brochure -- -- -Table of contents -- -Foreword -- - -- See -
-- Clause - -5 -- -Introduction -- - -- -Introduction Subsection -- - -- -- -Scope -- - -- Clause - -1 -Text
-- -Terms, definitions, symbols and abbreviated terms -- - -- Clause - -3 -- -Normal Terms -- - -- Clause - -3 - . -1 -- -- - -- Clause - -3 - . -1 - . -1 -- Term2 - -- -Symbols -- - -- Clause - -3 - . -2 --
-- Symbol
-- Definition
-- -Symbols -- - -- Clause - -4 --
-- Symbol
-- Definition
-- -Clause 4 -- - -- Clause - -5 -- -Introduction -- - -- Clause - -5 - . -1 -- -Clause 4.2 -- - -- Clause - -5 - . -2 -- -Normative References -- - -- Clause - -2 -- -- Annex - -- - -- Annex - -A -- -Annex A.1 -- - -- Annex - -A - . -1 -- -Annex A.1a -- - -- Annex - -A - . -1 - . -1 -- -- -Bibliography -- - -- -Bibliography Subsection -- - -+ PRESXML html = <<~"OUTPUT" @@ -550,9 +540,7 @@+ +en ++ +published +withdrawn +2 +second edition ++ +brochure ++ ++ +Table of contents ++ +Foreword ++ +Foreword ++ See +
++ Clause + +5 ++ +Introduction ++ +Introduction ++ +Introduction Subsection ++ +Introduction Subsection ++ ++ +Scope ++ + + +Scope ++ Clause + +1 +Text
++ +Terms, definitions, symbols and abbreviated terms ++ + + +Terms, definitions, symbols and abbreviated terms ++ Clause + +3 ++ +Normal Terms ++ + + +Normal Terms ++ Clause + +3 + . +1 ++ ++ + ++ Clause + +3 + . +1 + . +1 ++ Term2 + ++ +Symbols ++ + + +Symbols ++ Clause + +3 + . +2 ++
+- Symbol
+- Definition
++ +Symbols ++ + + +Symbols ++ Clause + +4 ++
+- Symbol
+- Definition
++ +Clause 4 ++ + + +Clause 4 ++ Clause + +5 ++ +Introduction ++ + + +Introduction ++ Clause + +5 + . +1 ++ +Clause 4.2 ++ + + +Clause 4.2 ++ Clause + +5 + . +2 ++ +Normative References ++ + + +Normative References ++ Clause + +2 ++ ++ Annex + ++ + + + +
+ (normative) + ++ Annex + ++ Annex + +A ++ +Annex A.1 ++ + + +Annex A.1 ++ Annex + +A + . +1 ++ +Annex A.1a ++ + + +Annex A.1a ++ Annex + +A + . +1 + . +1 ++ ++ +Bibliography ++ +Bibliography ++ +Bibliography Subsection ++ +Bibliography Subsection +Foreword - See @@ -646,349 +634,339 @@ INPUT presxml = <<~PRESXML -
- +- -fr -- -published -withdrawn -2 -deuxième édition -- -brochure -- -- -Sommaire -- -Foreword -- - -- See -
-- Article - -5 -- -Introduction -- - -- -Introduction Subsection -- - -- -- -Scope -- - -- Article - -1 -Text
-- -Terms, definitions, symbols and abbreviated terms -- - -- Article - -3 -- -Normal Terms -- - -- Article - -3 - . -1 -- -- - -- Article - -3 - . -1 - . -1 -- Term2 - -- -Symboles -- - -- Article - -3 - . -2 --
-- Symbol
-- Definition
-- -Symboles -- - -- Article - -4 --
-- Symbol
-- Definition
-- -Clause 4 -- - -- Article - -5 -- -Introduction -- - -- Article - -5 - . -1 -- -Clause 4.2 -- - -- Article - -5 - . -2 -- -Normative References -- - -- Article - -2 -- -- Annex - -- - -- Annexe - -A -- -Annex A.1 -- - -- Annexe - -A - . -1 -- -Annex A.1a -- - -- Annexe - -A - . -1 - . -1 -- -- -Bibliographie -- - -- -Bibliography Subsection -- - -+ PRESXML html = <<~"OUTPUT" @@ -1162,360 +1140,350 @@ presxml = <<~PRESXML+ +fr ++ +published +withdrawn +2 +deuxième édition ++ +brochure ++ ++ +Sommaire ++ +Foreword ++ +Foreword ++ See +
++ Article + +5 ++ +Introduction ++ +Introduction ++ +Introduction Subsection ++ +Introduction Subsection ++ ++ +Scope ++ + + +Scope ++ Article + +1 +Text
++ +Terms, definitions, symbols and abbreviated terms ++ + + +Terms, definitions, symbols and abbreviated terms ++ Article + +3 ++ +Normal Terms ++ + + +Normal Terms ++ Article + +3 + . +1 ++ ++ + ++ Article + +3 + . +1 + . +1 ++ Term2 + ++ +Symboles ++ + + +Symboles ++ Article + +3 + . +2 ++
+- Symbol
+- Definition
++ +Symboles ++ + + +Symboles ++ Article + +4 ++
+- Symbol
+- Definition
++ +Clause 4 ++ + + +Clause 4 ++ Article + +5 ++ +Introduction ++ + + +Introduction ++ Article + +5 + . +1 ++ +Clause 4.2 ++ + + +Clause 4.2 ++ Article + +5 + . +2 ++ +Normative References ++ + + +Normative References ++ Article + +2 ++ ++ Annex + ++ + + + +
+ (normative) + ++ Annex + ++ Annexe + +A ++ +Annex A.1 ++ + + +Annex A.1 ++ Annexe + +A + . +1 ++ +Annex A.1a ++ + + +Annex A.1a ++ Annexe + +A + . +1 + . +1 ++ ++ +Bibliographie ++ +Bibliographie ++ +Bibliography Subsection ++ +Bibliography Subsection +- +- -zh - -- -published -withdrawn -2 -第第二版 -- -brochure -- -- -目 次 -- -Foreword -- - -- See -
-- 条 - -5 -- -Introduction -- - -- -Introduction Subsection -- - -- -- -Scope -- - -- 条 - -1 --
-ISO 712,第1~1表 -- -Terms, definitions, symbols and abbreviated terms -- - -- 条 - -3 -- -Normal Terms -- - -- 条 - -3 - . -1 -- -- - -- 条 - -3 - . -1 - . -1 -- Term2 - -- -符号 -- - -- 条 - -3 - . -2 --
-- Symbol
-- Definition
-- -符号 -- - -- 条 - -4 --
-- Symbol
-- Definition
-- -Clause 4 -- - -- 条 - -5 -- -Introduction -- - -- 条 - -5 - . -1 -- -Clause 4.2 -- - -- 条 - -5 - . -2 -- -Normative References -- - -- 条 - -2 -- -- Cereals and cereal products - . - -ISO 712 -ISO 712 -ISO 712, -- -- Annex - -- - -- 附件 - -A -- -Annex A.1 -- - -- 附件 - -A - . -1 -- -Annex A.1a -- - -- 附件 - -A - . -1 - . -1 -- -- -Bibliography -- - -- -Bibliography Subsection -- - -+ +zh + ++ +published +withdrawn +2 +第第二版 ++ +brochure ++ ++ +目 次 ++ +Foreword ++ +Foreword ++ See +
++ 条 + +5 ++ +Introduction ++ +Introduction ++ +Introduction Subsection ++ +Introduction Subsection ++ ++ +Scope ++ + + +Scope ++ 条 + +1 ++
+ISO 712,第1~1表 ++ +Terms, definitions, symbols and abbreviated terms ++ + + +Terms, definitions, symbols and abbreviated terms ++ 条 + +3 ++ +Normal Terms ++ + + +Normal Terms ++ 条 + +3 + . +1 ++ ++ + ++ 条 + +3 + . +1 + . +1 ++ Term2 + ++ +符号 ++ + + +符号 ++ 条 + +3 + . +2 ++
+- Symbol
+- Definition
++ +符号 ++ + + +符号 ++ 条 + +4 ++
+- Symbol
+- Definition
++ +Clause 4 ++ + + +Clause 4 ++ 条 + +5 ++ +Introduction ++ + + +Introduction ++ 条 + +5 + . +1 ++ +Clause 4.2 ++ + + +Clause 4.2 ++ 条 + +5 + . +2 ++ +Normative References ++ + + +Normative References ++ 条 + +2 ++ ++ Cereals and cereal products + . + +ISO 712 +ISO 712 +ISO 712, ++ ++ Annex + ++ + + + +
+ (规范性附录) + ++ Annex + ++ 附件 + +A ++ +Annex A.1 ++ + + +Annex A.1 ++ 附件 + +A + . +1 ++ +Annex A.1a ++ + + +Annex A.1a ++ 附件 + +A + . +1 + . +1 ++ + PRESXML html = <<~"OUTPUT" @@ -1706,406 +1674,396 @@ INPUT presxml = <<~OUTPUT -+ +Bibliography ++ +Bibliography ++ +Bibliography Subsection ++ +Bibliography Subsection +- +- -eo - -- -published -publikigita -withdrawn -fortirita -2 -eldono dua -- -brochure -broŝuro -- -- -- - -Foreword -- - -- See -
-- klaŭzo - -5 -- See -
-- tabelo - -1 --
-- - -- tabelo - -1 -- -Introduction -- - -- -Introduction Subsection -- - -- -- -Scope -- - -- klaŭzo - -1 --
-ISO 712, Tabelo 1–1 -- -Terms, definitions, symbols and abbreviated terms -- - -- klaŭzo - -3 -- -Normal Terms -- - -- klaŭzo - -3 - . -1 -- -- - -- klaŭzo - -3 - . -1 - . -1 -- Term2 - -- -Simboloj kai mallongigitaj terminoj -- - -- klaŭzo - -3 - . -2 --
-- Symbol
-- Definition
-- -Simboloj kai mallongigitaj terminoj -- - -- klaŭzo - -4 --
-- Symbol
-- Definition
-- -Clause 4 -- - -- klaŭzo - -5 -- -Introduction -- - -- klaŭzo - -5 - . -1 -- -- - - -- - - - -- -Clause 4.2 -- - -- klaŭzo - -5 - . -2 -- -Normative References -- - -- klaŭzo - -2 -- -- Cereals and cereal products - . - -ISO 712 -ISO 712 -ISO 712, -- -- Annex - -- - -- - aldono - - -A -- -Annex A.1 -- - -- - aldono - - -A - . -1 -- -Annex A.1a -- - -- - aldono - - -A - . -1 - . -1 -- -- -Bibliography -- - -- -Bibliography Subsection -- - -+ OUTPUT html = <<~OUTPUT @@ -2382,25 +2340,19 @@+ +eo + ++ +published +publikigita +withdrawn +fortirita +2 +eldono dua ++ +brochure +broŝuro ++ ++ ++ + +Foreword ++ +Foreword ++ See +
++ klaŭzo + +5 ++ See +
++ tabelo + +1 ++
++ + ++ tabelo + +1 ++ +Introduction ++ +Introduction ++ +Introduction Subsection ++ +Introduction Subsection ++ ++ +Scope ++ + + +Scope ++ klaŭzo + +1 ++
+ISO 712, Tabelo 1–1 ++ +Terms, definitions, symbols and abbreviated terms ++ + + +Terms, definitions, symbols and abbreviated terms ++ klaŭzo + +3 ++ +Normal Terms ++ + + +Normal Terms ++ klaŭzo + +3 + . +1 ++ ++ + ++ klaŭzo + +3 + . +1 + . +1 ++ Term2 + ++ +Simboloj kai mallongigitaj terminoj ++ + + +Simboloj kai mallongigitaj terminoj ++ klaŭzo + +3 + . +2 ++
+- Symbol
+- Definition
++ +Simboloj kai mallongigitaj terminoj ++ + + +Simboloj kai mallongigitaj terminoj ++ klaŭzo + +4 ++
+- Symbol
+- Definition
++ +Clause 4 ++ + + +Clause 4 ++ klaŭzo + +5 ++ +Introduction ++ + + +Introduction ++ klaŭzo + +5 + . +1 ++ ++ + + ++ + + + ++ +Clause 4.2 ++ + + +Clause 4.2 ++ klaŭzo + +5 + . +2 ++ +Normative References ++ + + +Normative References ++ klaŭzo + +2 ++ ++ Cereals and cereal products + . + +ISO 712 +ISO 712 +ISO 712, ++ ++ Annex + ++ + + + +
+ (normative) + ++ Annex + ++ + aldono + + +A ++ +Annex A.1 ++ + + +Annex A.1 ++ + aldono + + +A + . +1 ++ +Annex A.1a ++ + + +Annex A.1a ++ + aldono + + +A + . +1 + . +1 ++ ++ +Bibliography ++ +Bibliography ++ +Bibliography Subsection ++ +Bibliography Subsection +版權 - 版權聲明 - @@ -2413,17 +2365,13 @@ 版權 - 解題 - @@ -2431,32 +2379,24 @@ 文件序言 - This is a preamble
diff --git a/spec/isodoc/inline_spec.rb b/spec/isodoc/inline_spec.rb index e15c44e4..28f1b1a3 100644 --- a/spec/isodoc/inline_spec.rb +++ b/spec/isodoc/inline_spec.rb @@ -752,9 +752,7 @@ 簡介 - 引言部分 - 附則 - Ad - Foreword -
@@ -809,9 +807,7 @@ Foreword -
@@ -887,9 +883,7 @@ Foreword - @@ -1111,9 +1105,7 @@
Avant-propos - ISO 712 @@ -1234,9 +1226,7 @@
Avant-propos - ISO 712 @@ -1402,9 +1392,7 @@
Foreword -
BSI BS EN ISO 19011:2018 — TC @@ -1464,57 +1452,43 @@ ABC - ABC/DEF - ABC - GHI/JKL - DEF - ABC/DEF - DEF - A B D E
diff --git a/spec/isodoc/presentation_xml_maths_spec.rb b/spec/isodoc/presentation_xml_maths_spec.rb index b95c3c92..19de828f 100644 --- a/spec/isodoc/presentation_xml_maths_spec.rb +++ b/spec/isodoc/presentation_xml_maths_spec.rb @@ -910,9 +910,7 @@Foreword - diff --git a/spec/isodoc/presentation_xml_metadata_spec.rb b/spec/isodoc/presentation_xml_metadata_spec.rb index 2a137f5c..af8584ce 100644 --- a/spec/isodoc/presentation_xml_metadata_spec.rb +++ b/spec/isodoc/presentation_xml_metadata_spec.rb @@ -50,9 +50,7 @@ Foreword -
Figure @@ -110,9 +108,7 @@ diff --git a/spec/isodoc/presentation_xml_spec.rb b/spec/isodoc/presentation_xml_spec.rb index fe094290..9e0b6fd2 100644 --- a/spec/isodoc/presentation_xml_spec.rb +++ b/spec/isodoc/presentation_xml_spec.rb @@ -42,23 +42,17 @@ user-css - .green { background-color: green } A - @@ -177,110 +171,110 @@ INPUT presxml = <<~OUTPUT - B - C - - +- - -- -Table of contents -- -- -Clause -- - -- Annex - -A -Text
-- -Subclause -- - -- Annex - -A -“A” ‘B’ -- Clause - A - -- - -x -Text
-- -- Clause - -- - -- Annex - -A -- Clause - A - -- - -x -Text
-+ OUTPUT html = <<~OUTPUT #{HTML_HDR} @@ -1003,9 +997,7 @@+ + ++ +Table of contents ++ ++ +Clause ++ + + + +
+ (normative) + . + +Clause ++ Annex + +A +Text
++ +Subclause ++ + + + +
+ (normative) + . + +Subclause ++ Annex + +A +“A” ‘B’ ++ Clause + A + ++ + +x +Text
++ ++ Clause + ++ + + + +
+ (normative) + ++ Clause + ++ Annex + +A ++ Clause + A + ++ + +x +Text
+Section -
@@ -1358,100 +1350,98 @@ INPUT presxml = <<~OUTPUT - - +Section -- - -- Clause - - -1 -- -- - -- Example - - -1 -- - -- - -- Example - - -2 -+ OUTPUT expect(Xml::C14n.format(strip_guid(Nokogiri::XML(IsoDoc::PresentationXMLConvert .new(presxml_options) @@ -1481,65 +1471,63 @@Section ++ + + +Section ++ Clause + + +1 ++ ++ + ++ Example + + +1 ++ + ++ + ++ Example + + +2 +- +- - -- -Table of contents -- -- -Scope -- - -- Clause - -1 -A
--
-ISO 639-2 -- -Terms and definitions -- - -- Clause - -2 -No terms and definitions are listed in this document.
-- -Normative references -- - -- -+ OUTPUT expect(Xml::C14n.format(strip_guid(IsoDoc::PresentationXMLConvert .new(presxml_options) @@ -1600,9 +1588,7 @@+ + ++ +Table of contents ++ ++ +Scope ++ + + +Scope ++ Clause + +1 +A
++
+ISO 639-2 ++ +Terms and definitions ++ + + +Terms and definitions ++ Clause + +2 +No terms and definitions are listed in this document.
++ +Normative references ++ +Normative references ++ +Foreword - @@ -1657,7 +1643,9 @@ FL 3
FL 4
- Foreword + Foreword + Foreword +FL 5
FL 6
@@ -1804,22 +1792,31 @@
ﶀ
-+ ﶀ +
+
ABCDABC
ABC
@@ -1857,7 +1854,7 @@
.new(presxml_options)
.convert("test", input, true))
.sub(%r{
This is an annotation of document ISSN. This is another annotation of document ISSN.
Text
This is a preamble Initial note Initial admonition Text This is a preamble Initial note Initial admonition Text This is a preamble Text This is a preamble Text Text Text A B C This is one callout This is another callout This is yet another callout X Parboiled rice. Parboiled rice. X X Parboiled rice. Parboiled rice. This is a table about rice This is a table about rice
This is a preamble
@@ -2684,9 +2648,7 @@
This is a preamble
@@ -2908,9 +2870,7 @@
This is a preamble
@@ -3062,9 +3022,7 @@
diff --git a/spec/isodoc/ref_spec.rb b/spec/isodoc/ref_spec.rb
index d0fe9ef4..af38a8b9 100644
--- a/spec/isodoc/ref_spec.rb
+++ b/spec/isodoc/ref_spec.rb
@@ -137,15 +137,13 @@
+ (normative)
+
+
+ (normative)
+
+
+ (normative)
+
+
+ (normative)
+
+
-
-
-
-
+
+
+
+
+ (normative)
+
+
+ (normative)
+
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
+
+
+
+
@@ -257,9 +251,7 @@
@@ -406,9 +398,7 @@
-
+
-
- Description
- Rice sample
-
- Arborio
-
- Drago
-
-
- Balilla
-
+
- Thaibonnet
-
+
+
+ Description
+ Rice sample
+
+
- Arborio
+
+ Drago
+
+
+ Balilla
+
+ Thaibonnet
+
-
- Number of laboratories retained after eliminating outliers
- 13
- 11
- 13
- 13
-
-
+ Mean value, g/100 g
- 81,2
- 82,0
- 81,8
- 77,7
-
+
+ Number of laboratories retained after eliminating outliers
+ 13
+ 11
+ 13
+ 13
+
+
- Mean value, g/100 g
+ 81,2
+ 82,0
+ 81,8
+ 77,7
+
-
+
- Reproducibility limit,
-
- 2,89
- 0,57
- 2,26
-
-
-
-
-
+
+ Reproducibility limit,
+
+ 2,89
+ 0,57
+ 2,26
+
+
+
+
+
-
-
+
+
+
-
-
-
+ A
-
+
- A
+
-
-
-
-
- A
-
+ (informative)
+
+
+
+
+
+ A
+