metanorma-iso 3.0.4 → 3.0.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 841d716c30272146e799a94f74bd04898176e496c70902ba1b615d46aff94401
4
- data.tar.gz: e49b38349e65a63e9dfdfd8c2f1e432eb653c118962bddc4c53456255f44820b
3
+ metadata.gz: 4a2abb0538e4a003829a682164cccf063c9a9b069249e9edb4722f99d8c443fc
4
+ data.tar.gz: 57a31c0c8b3553918f9575c277840ee254c7d6e8731420bc7a03449643003e6f
5
5
  SHA512:
6
- metadata.gz: be3d41b48a1101e7f09d4f6a1750c11b6800100929e551d140a571f33d53b063599db8769fd3db87fd730c0cf505e1e469156f00c41efd8f721d8b80a36269e9
7
- data.tar.gz: 75c5c07e6a0c5c4034cbd9596b50483ffc819dffb80eabe64b27a813d7b56b17e28d50c4431c3974193b2fdb3299e481412d80a354eaf9f4005080d73b2c8ef9
6
+ metadata.gz: 3b8a911f86177ae812a0331e5a78b1b1e846a4c50c542642fd27517a43e92adcfeb9a3dcd28d5c42e76f14c73131cabbcf1c25eee9332d7a798b0d4ea30c05c0
7
+ data.tar.gz: 22bb15fe291f927d8f8013268f997b7cf888febd3a6d1f3db89d0812bbb0dadbd14dc5553cea4f34c7529163e507ba3a22dc562590de2174fe83b65670e09b66
@@ -14,6 +14,7 @@ module IsoDoc
14
14
  end
15
15
 
16
16
  # terms not defined in standoc
17
+ # KILL
17
18
  def error_parse(node, out)
18
19
  case node.name
19
20
  when "appendix" then clause_parse(node, out)
@@ -63,7 +63,8 @@ module IsoDoc
63
63
  end
64
64
 
65
65
  def std_docid_semantic1(id)
66
- ids = id.split(/(\p{Zs})/)
66
+ id1 = id.sub(%r{\p{Zs}\(all\p{Zs}parts\)}, "###ALLPARTS###")
67
+ ids = id1.split(/(\p{Zs})/)
67
68
  agency?(ids[0].sub(%r{^([^/]+)/.*$}, "\\1")) or return id
68
69
  ids.map! do |i|
69
70
  if %w(GUIDE TR TS DIR).include?(i)
@@ -72,6 +73,7 @@ module IsoDoc
72
73
  else std_docid_semantic_full(i)
73
74
  end
74
75
  end.join.gsub(%r{</span>(\p{Zs}+)<}, "\\1</span><")
76
+ .sub("###ALLPARTS###", " (all parts)")
75
77
  end
76
78
 
77
79
  def std_docid_semantic_full(ident)