lib/asciidoctor/iso/section.rb in metanorma-iso-1.3.15 vs lib/asciidoctor/iso/section.rb in metanorma-iso-1.3.16
- old
+ new
@@ -10,20 +10,14 @@
case sectiontype(node)
when "introduction" then introduction_parse(a, xml, node)
when "patent notice" then patent_notice_parse(xml, node)
when "scope" then scope_parse(a, xml, node)
when "normative references" then norm_ref_parse(a, xml, node)
- when "terms and definitions",
- "terms, definitions, symbols and abbreviated terms",
- "terms, definitions, symbols and abbreviations",
- "terms, definitions and symbols",
- "terms, definitions and abbreviations",
- "terms, definitions and abbreviated terms"
+ when "terms and definitions"
@term_def = true
term_def_parse(a, xml, node, true)
@term_def = false
- when "symbols and abbreviated terms",
- "abbreviations", "abbreviated terms", "symbols"
+ when "symbols and abbreviated terms"
symbols_parse(a, xml, node)
when "bibliography" then bibliography_parse(a, xml, node)
else
if @term_def then term_def_subclause_parse(a, xml, node)
elsif @biblio then bibliography_parse(a, xml, node)