polytypo 1.20.1 → 1.22.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/polytypo/data/VERSION +1 -1
- data/lib/polytypo/data/fixtures/bg.json +23 -4
- data/lib/polytypo/data/fixtures/cs.json +20 -1
- data/lib/polytypo/data/fixtures/de-CH.json +23 -4
- data/lib/polytypo/data/fixtures/de-DE.json +124 -13
- data/lib/polytypo/data/fixtures/el.json +39 -4
- data/lib/polytypo/data/fixtures/en-GB.json +34 -7
- data/lib/polytypo/data/fixtures/en-US.json +988 -162
- data/lib/polytypo/data/fixtures/es.json +12 -1
- data/lib/polytypo/data/fixtures/fi.json +21 -2
- data/lib/polytypo/data/fixtures/fr-CA.json +20 -1
- data/lib/polytypo/data/fixtures/fr.json +57 -13
- data/lib/polytypo/data/fixtures/hr.json +20 -1
- data/lib/polytypo/data/fixtures/hu.json +39 -4
- data/lib/polytypo/data/fixtures/it.json +12 -1
- data/lib/polytypo/data/fixtures/locale-resolution.json +1 -1
- data/lib/polytypo/data/fixtures/lt.json +20 -1
- data/lib/polytypo/data/fixtures/nl.json +28 -1
- data/lib/polytypo/data/fixtures/pl.json +28 -1
- data/lib/polytypo/data/fixtures/pt-BR.json +20 -1
- data/lib/polytypo/data/fixtures/pt-PT.json +20 -1
- data/lib/polytypo/data/fixtures/ro.json +13 -2
- data/lib/polytypo/data/fixtures/ru.json +49 -6
- data/lib/polytypo/data/fixtures/sk.json +20 -1
- data/lib/polytypo/data/fixtures/sl.json +20 -1
- data/lib/polytypo/data/fixtures/sr.json +23 -4
- data/lib/polytypo/data/fixtures/sv.json +23 -4
- data/lib/polytypo/data/fixtures/tr.json +20 -1
- data/lib/polytypo/data/fixtures/uk.json +12 -1
- data/lib/polytypo/data/locales/bg.json +10 -1
- data/lib/polytypo/data/locales/cs.json +3 -0
- data/lib/polytypo/data/locales/de-CH.json +15 -1
- data/lib/polytypo/data/locales/de-DE.json +16 -1
- data/lib/polytypo/data/locales/el.json +10 -1
- data/lib/polytypo/data/locales/en-GB.json +16 -4
- data/lib/polytypo/data/locales/en-US.json +18 -11
- data/lib/polytypo/data/locales/es.json +3 -0
- data/lib/polytypo/data/locales/fi.json +9 -3
- data/lib/polytypo/data/locales/fr-CA.json +10 -1
- data/lib/polytypo/data/locales/fr.json +4 -1
- data/lib/polytypo/data/locales/hr.json +4 -1
- data/lib/polytypo/data/locales/hu.json +10 -1
- data/lib/polytypo/data/locales/it.json +3 -0
- data/lib/polytypo/data/locales/lt.json +13 -5
- data/lib/polytypo/data/locales/nl.json +11 -2
- data/lib/polytypo/data/locales/pl.json +11 -2
- data/lib/polytypo/data/locales/pt-BR.json +5 -2
- data/lib/polytypo/data/locales/pt-PT.json +6 -3
- data/lib/polytypo/data/locales/registry.json +1 -1
- data/lib/polytypo/data/locales/ro.json +3 -0
- data/lib/polytypo/data/locales/ru.json +10 -17
- data/lib/polytypo/data/locales/sk.json +8 -5
- data/lib/polytypo/data/locales/sl.json +4 -1
- data/lib/polytypo/data/locales/sr.json +10 -2
- data/lib/polytypo/data/locales/sv.json +9 -6
- data/lib/polytypo/data/locales/tr.json +5 -2
- data/lib/polytypo/data/locales/uk.json +3 -0
- data/lib/polytypo/data/rules/modes.md +2 -2
- data/lib/polytypo/data/rules/nbsp.md +271 -74
- data/lib/polytypo/data/rules/order.json +9 -1
- data/lib/polytypo/data/rules/pipeline-idempotency.md +76 -9
- data/lib/polytypo/data/rules/quote-punctuation.md +337 -0
- data/lib/polytypo/data/rules/quotes.md +23 -5
- data/lib/polytypo/data/rules/ranges.md +7 -1
- data/lib/polytypo/data/rules/spaces.md +4 -2
- data/lib/polytypo/data/rules/symbols.md +2 -1
- data/lib/polytypo/data/schema/fixtures.schema.json +1 -0
- data/lib/polytypo/data/schema/locale.schema.json +27 -2
- data/lib/polytypo/engine/locale.rb +22 -1
- data/lib/polytypo/engine/pipeline.rb +1 -1
- data/lib/polytypo/engine/rules/nbsp.rb +161 -11
- data/lib/polytypo/engine/rules/quote_punctuation.rb +79 -0
- data/lib/polytypo/engine/rules.rb +1 -0
- data/lib/polytypo/version.rb +1 -1
- metadata +3 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"spec": "1.
|
|
2
|
+
"spec": "1.22.0",
|
|
3
3
|
"locale": "ru",
|
|
4
4
|
"cases": [
|
|
5
5
|
{
|
|
@@ -583,20 +583,20 @@
|
|
|
583
583
|
"note": "N5 twice, plus N3 on the conjunction `и`."
|
|
584
584
|
},
|
|
585
585
|
{
|
|
586
|
-
"id": "ru-nbsp-percent",
|
|
586
|
+
"id": "ru-nbsp-percent-closed",
|
|
587
587
|
"rule": "nbsp",
|
|
588
588
|
"mode": "text",
|
|
589
589
|
"in": "Рост 50 % за год",
|
|
590
|
-
"out": "Рост 50
|
|
591
|
-
"note": "
|
|
590
|
+
"out": "Рост 50% за год",
|
|
591
|
+
"note": "`%` is in closedUnits (spec 1.22.0): the typed space before it is deleted; N3 still binds the two-letter preposition `за`."
|
|
592
592
|
},
|
|
593
593
|
{
|
|
594
|
-
"id": "ru-nbsp-
|
|
594
|
+
"id": "ru-nbsp-percent-already-closed",
|
|
595
595
|
"rule": "nbsp",
|
|
596
596
|
"mode": "text",
|
|
597
597
|
"in": "Рост 50% за год",
|
|
598
598
|
"out": "Рост 50% за год",
|
|
599
|
-
"note": "
|
|
599
|
+
"note": "`%` is in closedUnits, so `50%` is already in its final form. N3 still binds the preposition `за`."
|
|
600
600
|
},
|
|
601
601
|
{
|
|
602
602
|
"id": "ru-nbsp-no-french-spacing",
|
|
@@ -737,6 +737,49 @@
|
|
|
737
737
|
"ranges": true
|
|
738
738
|
},
|
|
739
739
|
"note": "ranges.md §3.2a, via dashes.md §3.2 step 8 (spec 1.3.0): the same witness in the suffix direction and in an em-dash locale — the disturbed guard is the range's `after` rather than its `before`. Pinned separately because the two directions are separate code paths in every port. To be precise about \"before the amendment\": the drift is a property of the INTERMEDIATE state — ranges.md §3.2a's widened candidacy without T1's transparency — which never shipped. Under spec 1.2.0 this input was stable, because the token was not a range candidate at all."
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"id": "ru-quote-punctuation-none",
|
|
743
|
+
"rule": "quote-punctuation",
|
|
744
|
+
"mode": "text",
|
|
745
|
+
"in": "alpha «beta», gamma",
|
|
746
|
+
"out": "alpha «beta», gamma",
|
|
747
|
+
"rules": {
|
|
748
|
+
"quote-punctuation": true
|
|
749
|
+
},
|
|
750
|
+
"note": "quote-punctuation.md §2, §6: quotes.punctuationPlacement is \"none\" for ru, so enabling the rule is a no-op; the input is already in the locale's own quotation marks."
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"id": "ru-nbsp-spaced-unit-inserted",
|
|
754
|
+
"rule": "nbsp",
|
|
755
|
+
"mode": "text",
|
|
756
|
+
"in": "Value 20°C here",
|
|
757
|
+
"out": "Value 20 °C here",
|
|
758
|
+
"note": "spec 1.22.0, nbsp.md §3.7: the unit is in spacedUnits, so the missing space is inserted as U+00A0."
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"id": "ru-nbsp-closed-nbsp-deleted",
|
|
762
|
+
"rule": "nbsp",
|
|
763
|
+
"mode": "text",
|
|
764
|
+
"in": "Value 5 % here",
|
|
765
|
+
"out": "Value 5% here",
|
|
766
|
+
"note": "spec 1.22.0, nbsp.md §3.7: a typed U+00A0 before a closedUnits entry is deleted as well as a U+0020."
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"id": "ru-nbsp-bare-degree-untouched",
|
|
770
|
+
"rule": "nbsp",
|
|
771
|
+
"mode": "text",
|
|
772
|
+
"in": "Угол 45° ровно",
|
|
773
|
+
"out": "Угол 45° ровно",
|
|
774
|
+
"note": "A bare degree sign is in no list in any locale."
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"id": "ru-nbsp-spaced-guard-multiplication-cyrillic",
|
|
778
|
+
"rule": "nbsp",
|
|
779
|
+
"mode": "text",
|
|
780
|
+
"in": "Упаковка 2 х 3км",
|
|
781
|
+
"out": "Упаковка 2 х 3км",
|
|
782
|
+
"note": "nbsp.md §3.7 step 5.5 with the Cyrillic MUL-LETTER U+0445."
|
|
740
783
|
}
|
|
741
784
|
]
|
|
742
785
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"spec": "1.
|
|
2
|
+
"spec": "1.22.0",
|
|
3
3
|
"locale": "sk",
|
|
4
4
|
"cases": [
|
|
5
5
|
{
|
|
@@ -273,6 +273,25 @@
|
|
|
273
273
|
"in": "Išiel do McDonald's a späť",
|
|
274
274
|
"out": "Išiel do McDonald’s a späť",
|
|
275
275
|
"note": "Apostrof v cudzom mene sa píše ako U+2019."
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"id": "sk-quote-punctuation-none",
|
|
279
|
+
"rule": "quote-punctuation",
|
|
280
|
+
"mode": "text",
|
|
281
|
+
"in": "alpha „beta“, gamma",
|
|
282
|
+
"out": "alpha „beta“, gamma",
|
|
283
|
+
"rules": {
|
|
284
|
+
"quote-punctuation": true
|
|
285
|
+
},
|
|
286
|
+
"note": "quote-punctuation.md §2, §6: quotes.punctuationPlacement is \"none\" for sk, so enabling the rule is a no-op; the input is already in the locale's own quotation marks."
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"id": "sk-nbsp-spaced-unit-inserted",
|
|
290
|
+
"rule": "nbsp",
|
|
291
|
+
"mode": "text",
|
|
292
|
+
"in": "Value 50% here",
|
|
293
|
+
"out": "Value 50 % here",
|
|
294
|
+
"note": "spec 1.22.0, nbsp.md §3.7: the unit is in spacedUnits, so the missing space is inserted as U+00A0."
|
|
276
295
|
}
|
|
277
296
|
]
|
|
278
297
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"spec": "1.
|
|
2
|
+
"spec": "1.22.0",
|
|
3
3
|
"locale": "sl",
|
|
4
4
|
"cases": [
|
|
5
5
|
{
|
|
@@ -242,6 +242,25 @@
|
|
|
242
242
|
"in": "O'Brien je prišel.",
|
|
243
243
|
"out": "O’Brien je prišel.",
|
|
244
244
|
"note": "apostrophe.md: a straight apostrophe inside a foreign name becomes U+2019."
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"id": "sl-quote-punctuation-none",
|
|
248
|
+
"rule": "quote-punctuation",
|
|
249
|
+
"mode": "text",
|
|
250
|
+
"in": "alpha »beta«, gamma",
|
|
251
|
+
"out": "alpha »beta«, gamma",
|
|
252
|
+
"rules": {
|
|
253
|
+
"quote-punctuation": true
|
|
254
|
+
},
|
|
255
|
+
"note": "quote-punctuation.md §2, §6: quotes.punctuationPlacement is \"none\" for sl, so enabling the rule is a no-op; the input is already in the locale's own quotation marks."
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"id": "sl-nbsp-spaced-unit-inserted",
|
|
259
|
+
"rule": "nbsp",
|
|
260
|
+
"mode": "text",
|
|
261
|
+
"in": "Value 50% here",
|
|
262
|
+
"out": "Value 50 % here",
|
|
263
|
+
"note": "spec 1.22.0, nbsp.md §3.7: the unit is in spacedUnits, so the missing space is inserted as U+00A0."
|
|
245
264
|
}
|
|
246
265
|
]
|
|
247
266
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"spec": "1.
|
|
2
|
+
"spec": "1.22.0",
|
|
3
3
|
"locale": "sr",
|
|
4
4
|
"cases": [
|
|
5
5
|
{
|
|
@@ -156,12 +156,12 @@
|
|
|
156
156
|
"note": "km and min are not attested with a space in the source read, so they are not in beforeUnits."
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
|
-
"id": "sr-nbsp-percent-
|
|
159
|
+
"id": "sr-nbsp-percent-closed",
|
|
160
160
|
"rule": "nbsp",
|
|
161
161
|
"mode": "text",
|
|
162
162
|
"in": "Остало је 50 % и 99,90 €.",
|
|
163
|
-
"out": "Остало је 50
|
|
164
|
-
"note": "
|
|
163
|
+
"out": "Остало је 50% и 99,90 €.",
|
|
164
|
+
"note": "`%` is in closedUnits: Serbian print closes it up and no Serbian norm requires the space, so the typed space is deleted."
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
167
|
"id": "sr-nbsp-short-words-inert",
|
|
@@ -202,6 +202,25 @@
|
|
|
202
202
|
"in": "То је McDonald's",
|
|
203
203
|
"out": "То је McDonald’s",
|
|
204
204
|
"note": "apostrophe rule, locale-neutral."
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"id": "sr-quote-punctuation-none",
|
|
208
|
+
"rule": "quote-punctuation",
|
|
209
|
+
"mode": "text",
|
|
210
|
+
"in": "alpha „beta”, gamma",
|
|
211
|
+
"out": "alpha „beta”, gamma",
|
|
212
|
+
"rules": {
|
|
213
|
+
"quote-punctuation": true
|
|
214
|
+
},
|
|
215
|
+
"note": "quote-punctuation.md §2, §6: quotes.punctuationPlacement is \"none\" for sr, so enabling the rule is a no-op; the input is already in the locale's own quotation marks."
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"id": "sr-nbsp-closed-nbsp-deleted",
|
|
219
|
+
"rule": "nbsp",
|
|
220
|
+
"mode": "text",
|
|
221
|
+
"in": "Value 5 % here",
|
|
222
|
+
"out": "Value 5% here",
|
|
223
|
+
"note": "spec 1.22.0, nbsp.md §3.7: a typed U+00A0 before a closedUnits entry is deleted as well as a U+0020."
|
|
205
224
|
}
|
|
206
225
|
]
|
|
207
226
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"spec": "1.
|
|
2
|
+
"spec": "1.22.0",
|
|
3
3
|
"locale": "sv",
|
|
4
4
|
"cases": [
|
|
5
5
|
{
|
|
@@ -1172,12 +1172,12 @@
|
|
|
1172
1172
|
"note": "nbsp N5, cited to Språkrådet §4.3.4 and BIPM."
|
|
1173
1173
|
},
|
|
1174
1174
|
{
|
|
1175
|
-
"id": "sv-nbsp-unit-
|
|
1175
|
+
"id": "sv-nbsp-unit-inserted",
|
|
1176
1176
|
"rule": "nbsp",
|
|
1177
1177
|
"mode": "text",
|
|
1178
1178
|
"in": "Vi gick 5km i dag",
|
|
1179
|
-
"out": "Vi gick
|
|
1180
|
-
"note": "
|
|
1179
|
+
"out": "Vi gick 5 km i dag",
|
|
1180
|
+
"note": "`km` is in spacedUnits (spec 1.22.0), so the missing space is inserted as U+00A0."
|
|
1181
1181
|
},
|
|
1182
1182
|
{
|
|
1183
1183
|
"id": "sv-nbsp-unit-already-bound",
|
|
@@ -1293,6 +1293,25 @@
|
|
|
1293
1293
|
"in": "tidningen l'\"Humanité\"",
|
|
1294
1294
|
"out": "tidningen l’”Humanité”",
|
|
1295
1295
|
"note": "apostrophe.md §3.3 cases 3 and 3a (spec 1.2.0): same as fi; U+201D is in CLOSEISH and the output is unchanged from spec 1.1.0."
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
"id": "sv-quote-punctuation-none",
|
|
1299
|
+
"rule": "quote-punctuation",
|
|
1300
|
+
"mode": "text",
|
|
1301
|
+
"in": "alpha ”beta”, gamma",
|
|
1302
|
+
"out": "alpha ”beta”, gamma",
|
|
1303
|
+
"rules": {
|
|
1304
|
+
"quote-punctuation": true
|
|
1305
|
+
},
|
|
1306
|
+
"note": "quote-punctuation.md §2, §6: quotes.punctuationPlacement is \"none\" for sv, so enabling the rule is a no-op; the input is already in the locale's own quotation marks."
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
"id": "sv-nbsp-spaced-unit-inserted",
|
|
1310
|
+
"rule": "nbsp",
|
|
1311
|
+
"mode": "text",
|
|
1312
|
+
"in": "Value 50% here",
|
|
1313
|
+
"out": "Value 50 % here",
|
|
1314
|
+
"note": "spec 1.22.0, nbsp.md §3.7: the unit is in spacedUnits, so the missing space is inserted as U+00A0."
|
|
1296
1315
|
}
|
|
1297
1316
|
]
|
|
1298
1317
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"spec": "1.
|
|
2
|
+
"spec": "1.22.0",
|
|
3
3
|
"locale": "tr",
|
|
4
4
|
"cases": [
|
|
5
5
|
{
|
|
@@ -245,6 +245,25 @@
|
|
|
245
245
|
"in": "Dedi: '<b>2</b>'nci kat.' Bitti.",
|
|
246
246
|
"out": "Dedi: “<b>2</b>’nci kat.” Bitti.",
|
|
247
247
|
"note": "Sayılara gelen sıra eki, TDK «Kesme İşareti» 4'ün kendi örneğinden («2'nci kat»). Aynı maddeden gelen «7,65'lik» ve «Atatürk'üm» de listededir; üçü de basılı örnekte kesme işaretinden sonraki dizinin TAMAMI olduğu ve çıplak bir sözcükle çakışmadığı için alınmıştır."
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"id": "tr-quote-punctuation-none",
|
|
251
|
+
"rule": "quote-punctuation",
|
|
252
|
+
"mode": "text",
|
|
253
|
+
"in": "alpha “beta”, gamma",
|
|
254
|
+
"out": "alpha “beta”, gamma",
|
|
255
|
+
"rules": {
|
|
256
|
+
"quote-punctuation": true
|
|
257
|
+
},
|
|
258
|
+
"note": "quote-punctuation.md §2, §6: quotes.punctuationPlacement is \"none\" for tr, so enabling the rule is a no-op; the input is already in the locale's own quotation marks."
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"id": "tr-nbsp-spaced-unit-inserted",
|
|
262
|
+
"rule": "nbsp",
|
|
263
|
+
"mode": "text",
|
|
264
|
+
"in": "Value 20kg here",
|
|
265
|
+
"out": "Value 20 kg here",
|
|
266
|
+
"note": "spec 1.22.0, nbsp.md §3.7: the unit is in spacedUnits, so the missing space is inserted as U+00A0."
|
|
248
267
|
}
|
|
249
268
|
]
|
|
250
269
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"spec": "1.
|
|
2
|
+
"spec": "1.22.0",
|
|
3
3
|
"locale": "uk",
|
|
4
4
|
"cases": [
|
|
5
5
|
{
|
|
@@ -148,6 +148,17 @@
|
|
|
148
148
|
"in": "п'ять об'єктів",
|
|
149
149
|
"out": "п’ять об’єктів",
|
|
150
150
|
"note": "ВАЖЛИВИЙ ВИПАДОК для української, і перевірений на рушії, а не припущений: апостроф у «п'ять», «об'єкт» — частина орфографії слова, а не пунктуація, і правило apostrophe перетворює прямий U+0027 на U+2019 саме там, де він і має бути в друкованому тексті. Спершу цей випадок був написаний як no-op — рушій показав протилежне, і показав правильно."
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"id": "uk-quote-punctuation-none",
|
|
154
|
+
"rule": "quote-punctuation",
|
|
155
|
+
"mode": "text",
|
|
156
|
+
"in": "alpha «beta», gamma",
|
|
157
|
+
"out": "alpha «beta», gamma",
|
|
158
|
+
"rules": {
|
|
159
|
+
"quote-punctuation": true
|
|
160
|
+
},
|
|
161
|
+
"note": "quote-punctuation.md §2, §6: quotes.punctuationPlacement is \"none\" for uk, so enabling the rule is a no-op; the input is already in the locale's own quotation marks."
|
|
151
162
|
}
|
|
152
163
|
]
|
|
153
164
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"close": "“",
|
|
13
13
|
"innerSpace": "none"
|
|
14
14
|
},
|
|
15
|
+
"punctuationPlacement": "none",
|
|
15
16
|
"elisionIdioms": [],
|
|
16
17
|
"elisionClitics": {
|
|
17
18
|
"before": [],
|
|
@@ -35,7 +36,9 @@
|
|
|
35
36
|
"narrowBeforePunctuation": [],
|
|
36
37
|
"afterShortWords": [],
|
|
37
38
|
"abbreviations": [],
|
|
38
|
-
"beforeUnits": [
|
|
39
|
+
"beforeUnits": [],
|
|
40
|
+
"spacedUnits": ["км", "кг", "лв.", "г."],
|
|
41
|
+
"closedUnits": ["%"],
|
|
39
42
|
"beforeNumber": [],
|
|
40
43
|
"beforeWord": [],
|
|
41
44
|
"afterSymbols": [],
|
|
@@ -77,6 +80,12 @@
|
|
|
77
80
|
"cite": "Институт за български език (БАН), «За интервалите и препинателните знаци» (2018): «Пред точка, запетая, въпросителен знак, удивителен знак, точка и запетая, двоеточие не се оставя интервал.»; Езикови справки №1601: «Между последната цифра и съкращението се поставя шпация (интервал): 20 лв., също и 5 кг, 10 м, 100 км, 2020 г. и под.»; №626: «В записа 5% няма интервал (шпация) между цифрата и знака за процент.»",
|
|
78
81
|
"url": "https://ibl.bas.bg/ezikovispravki/vaprosi/pri-skrashcheniya-vkl-mezhdu-tsifra-i-skrashchenie-5-kg-2014-g-4/1601",
|
|
79
82
|
"note": "(1) beforePunctuation and narrowBeforePunctuation empty: no space before . , ? ! ; :. (2) beforeUnits = км, кг, лв., г.: each attested with a space after a number. This is form evidence only (IBL does not say non-breaking), the same footing as hu and sk, MEDIUM. The single-letter м is excluded by decision. (3) % is excluded: IBL writes 5% unspaced; the DGT house handbook's «4 %» with a non-breaking space ranks below it. (4) abbreviations, beforeNumber, beforeWord, afterSymbols and afterShortWords are empty and initialBinding = none: no source states a rule (IBL says proper names follow ordinary line-break rules). Decision, not citation. Verified 2026-10-21."
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"rule": "nbsp",
|
|
86
|
+
"cite": "Институт за български език към БАН, Езикови справки № 626: «В записа 5% няма интервал (шпация) между цифрата и знака за процент.»; № 1601 (28.1.2020): «Между последната цифра и съкращението се поставя шпация (интервал): 20 лв., … 5 кг, 10 м, 100 км, 2020 г.»",
|
|
87
|
+
"url": "https://ibl.bas.bg/ezikovispravki/vaprosi/pri-znatsite-za-protsent-gradus-nomer-paragraf-i-dr-2/626",
|
|
88
|
+
"note": "% е в closedUnits (№ 626). км, кг, лв., г. са в spacedUnits (№ 1601). °C и ‰ няма в източниците на ИБЕ БАН и не са в списъци. Проверено на 11.11.2026."
|
|
80
89
|
}
|
|
81
90
|
]
|
|
82
91
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"close": "‘",
|
|
13
13
|
"innerSpace": "none"
|
|
14
14
|
},
|
|
15
|
+
"punctuationPlacement": "none",
|
|
15
16
|
"elisionIdioms": [],
|
|
16
17
|
"elisionClitics": {
|
|
17
18
|
"before": [],
|
|
@@ -36,6 +37,8 @@
|
|
|
36
37
|
"afterShortWords": ["a", "i", "k", "o", "s", "u", "v", "z"],
|
|
37
38
|
"abbreviations": ["a. s.", "s. r. o."],
|
|
38
39
|
"beforeUnits": ["%", "°C", "ha", "kg", "km", "cm", "mm", "m²", "kWh", "km/h", "str.", "hod."],
|
|
40
|
+
"spacedUnits": [],
|
|
41
|
+
"closedUnits": [],
|
|
39
42
|
"beforeNumber": [],
|
|
40
43
|
"beforeWord": ["tj.", "tzv.", "tzn."],
|
|
41
44
|
"afterSymbols": ["§"],
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"close": "›",
|
|
13
13
|
"innerSpace": "none"
|
|
14
14
|
},
|
|
15
|
+
"punctuationPlacement": "none",
|
|
15
16
|
"elisionIdioms": [],
|
|
16
17
|
"elisionClitics": {
|
|
17
18
|
"before": [],
|
|
@@ -35,7 +36,9 @@
|
|
|
35
36
|
"narrowBeforePunctuation": [],
|
|
36
37
|
"afterShortWords": [],
|
|
37
38
|
"abbreviations": ["z. B.", "d. h.", "u. a.", "u. U.", "m. a. W.", "m. w. H."],
|
|
38
|
-
"beforeUnits": [
|
|
39
|
+
"beforeUnits": [],
|
|
40
|
+
"spacedUnits": ["%", "‰", "°C", "km", "cm", "mm", "kg", "km/h", "kWh"],
|
|
41
|
+
"closedUnits": [],
|
|
39
42
|
"beforeNumber": ["Art.", "Abs.", "Ziff.", "Kap.", "S."],
|
|
40
43
|
"beforeWord": ["St."],
|
|
41
44
|
"afterSymbols": ["§", "§§"],
|
|
@@ -76,6 +79,17 @@
|
|
|
76
79
|
"cite": "Schweizerische Bundeskanzlei, Schreibweisungen, Rz. 223 und 224: der Bindestrich wird als Ergänzungsstrich für einen eingesparten Wortteil verwendet („Papierproduktion und -handel“); mit dem geschützten Ergänzungsstrich wird verhindert, dass der Ergänzungsstrich am Zeilenende auf der oberen Zeile bleibt, während der zugehörige zweite Wortbestandteil auf die nächste Zeile rutscht",
|
|
77
80
|
"url": "https://www.bk.admin.ch/dam/de/sd-web/YVHazXZRkqKn/schreibweisungen.pdf",
|
|
78
81
|
"note": "Beleg dafür, dass die drei Listen leer bleiben. Das Deutsche kennt keine geschlossene Liste von Morphemen mit unteilbarem Bindestrich; die Trennung am Bindestrich ist zulässig (Rz. 269–271 behandeln nur sinnentstellende Trennungen). Der einzige belegte Fall eines geschützten Bindestrichs ist der Ergänzungsstrich (Rz. 224), und der ist offen: er betrifft jedes beliebige Zweitglied nach „und -“ und lässt sich als literale Wortliste nicht abbilden."
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"rule": "quote-punctuation",
|
|
85
|
+
"cite": "No Swiss source for the placement of punctuation relative to the closing quotation mark was consulted; value left at the default",
|
|
86
|
+
"note": "quotes.punctuationPlacement is \"none\" because no convention has been verified for de-CH. That is the default and means the rule does nothing, not that a convention was found to depend on meaning. The German Amtliches Regelwerk (2024) is the source cited for de-DE; whether it is the right authority for Swiss usage was not established."
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"rule": "nbsp",
|
|
90
|
+
"cite": "Schweizerische Bundeskanzlei, Schreibweisungen, Rz. 549a, 550, 552, 554: «Zwischen Ziffern und den Begriffszeichen % und ‰ steht ein Festabstand»; «25 km/h»; «3 °C»; Rz. 555: «die 0,5‰-Grenze»",
|
|
91
|
+
"url": "https://www.bk.admin.ch/dam/de/sd-web/YVHazXZRkqKn/schreibweisungen.pdf",
|
|
92
|
+
"note": "All entries of spacedUnits are attested by the cited randziffern. Rz. 555 sets a compound closed up, which N5's right-context guard leaves alone. Bare ° is closed up (Rz. 551) and is in no list. Retrieved 2026-11-11."
|
|
79
93
|
}
|
|
80
94
|
]
|
|
81
95
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"close": "‘",
|
|
13
13
|
"innerSpace": "none"
|
|
14
14
|
},
|
|
15
|
+
"punctuationPlacement": "none",
|
|
15
16
|
"elisionIdioms": [],
|
|
16
17
|
"elisionClitics": {
|
|
17
18
|
"before": [],
|
|
@@ -35,7 +36,9 @@
|
|
|
35
36
|
"narrowBeforePunctuation": [],
|
|
36
37
|
"afterShortWords": [],
|
|
37
38
|
"abbreviations": ["z. B.", "d. h.", "u. a.", "u. Ä.", "z. T.", "i. d. R."],
|
|
38
|
-
"beforeUnits": ["
|
|
39
|
+
"beforeUnits": ["‰"],
|
|
40
|
+
"spacedUnits": ["%", "€", "°C", "km", "cm", "mm", "kg", "km/h", "kWh"],
|
|
41
|
+
"closedUnits": [],
|
|
39
42
|
"beforeNumber": ["Nr.", "S."],
|
|
40
43
|
"beforeWord": ["St."],
|
|
41
44
|
"afterSymbols": ["§", "§§"],
|
|
@@ -80,6 +83,18 @@
|
|
|
80
83
|
"rule": "nbsp",
|
|
81
84
|
"cite": "Keine frei prüfbare Normquelle für „Nr.“ + Zahl: DIN 5008:2020-03 ist kostenpflichtig und wurde nicht gelesen; Duden und das Amtliche Regelwerk 2024 sprechen keine Abstandsregel aus. Vereinheitlicht nach vorherrschendem Gebrauch (Operatorentscheid, 18.09.2026)",
|
|
82
85
|
"note": "Diese Zeile ist ausdrücklich kein Beleg, sondern eine Festlegung, und wird als solche geführt. Geprüft und ergebnislos: Duden, Rechtschreibregeln „Abkürzungen“ (D 1–D 4, nur der Abkürzungspunkt); Duden, Sprachratgeber „Worttrennung am Zeilenende“; Amtliches Regelwerk 2024, Kapitel F (§§ 84–90, nur Worttrennung) und der Kasten „Sonderzeichen“ auf S. 153, der Typografie ausdrücklich den Konventionen bzw. den DIN-, ÖNORM- und SNV-Normen zuweist, also ausserhalb des Regelwerks. Entscheiden könnte nur DIN 5008:2020-03. Der Projektentscheid dazu: liegt eine Regel hinter einer Bezahlschranke, formuliert polytypo sie nach dem verbreitetsten Gebrauch und hält sie in allen Runtimes gleich — Einheitlichkeit geht hier vor Kanontreue, und die Festlegung wird offen als solche gekennzeichnet statt als Zitat ausgegeben. Der verbreitetste Gebrauch bindet „Nr.“ an die folgende Zahl; die Sekundärquellen, die DIN 5008 referieren, sagen dasselbe. Fällt die Schranke, tritt der Wortlaut der Norm an die Stelle dieser Zeile — auch wenn er ihr widerspricht."
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"rule": "quote-punctuation",
|
|
89
|
+
"cite": "Rat für deutsche Rechtschreibung, Amtliches Regelwerk der deutschen Rechtschreibung (2024), §79 E1",
|
|
90
|
+
"url": "https://www.rechtschreibrat.com/DOX/RfdR_Amtliches-Regelwerk_2024.pdf",
|
|
91
|
+
"note": "Supports quotes.punctuationPlacement = \"none\". Verbatim: “Satzzeichen, die zu einer angeführten Einheit gehören, stehen vor dem schließenden Anführungszeichen; Satzzeichen, die zum Trägersatz gehören, stehen nach dem schließenden Anführungszeichen.” E1(2) puts a comma after the closing mark when a carrier sentence follows the quotation, but the placement of a full stop and of the other marks depends on whether they belong to the quotation, so the rule does nothing here. Consulted 2026-11-09."
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"rule": "nbsp",
|
|
95
|
+
"cite": "Gesellschaft für deutsche Sprache, «Leerzeichen und Festabstände»: «Vor bzw. nach Sonderzeichen wie §, €, %, & steht ein Leerzeichen»; «Abgekürzten Maß- und Mengenangaben geht ein Leerzeichen voran: 30 l, 50 km»; «ein Leerzeichen nach der Zahl … aber keines vor dem C»",
|
|
96
|
+
"url": "https://gfds.de/leerzeichen-und-festabstaende/",
|
|
97
|
+
"note": "%, €, °C, km, cm, mm, kg, km/h, kWh in spacedUnits. ‰ stays in beforeUnits: GfdS does not address it. Bare ° is closed up (GfdS: «ein Winkel von 30°») and is in no list. Retrieved 2026-11-11 via a model summary of the page, one level below a page read in full."
|
|
83
98
|
}
|
|
84
99
|
]
|
|
85
100
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"close": "”",
|
|
13
13
|
"innerSpace": "none"
|
|
14
14
|
},
|
|
15
|
+
"punctuationPlacement": "none",
|
|
15
16
|
"elisionIdioms": [],
|
|
16
17
|
"elisionClitics": {
|
|
17
18
|
"before": [],
|
|
@@ -36,6 +37,8 @@
|
|
|
36
37
|
"afterShortWords": [],
|
|
37
38
|
"abbreviations": [],
|
|
38
39
|
"beforeUnits": [],
|
|
40
|
+
"spacedUnits": [],
|
|
41
|
+
"closedUnits": ["%", "°C"],
|
|
39
42
|
"beforeNumber": [],
|
|
40
43
|
"beforeWord": [],
|
|
41
44
|
"afterSymbols": [],
|
|
@@ -70,7 +73,7 @@
|
|
|
70
73
|
"rule": "nbsp",
|
|
71
74
|
"cite": "Διοργανικό εγχειρίδιο σύνταξης κειμένων (EL, 2011), §10.1.4 παρατήρηση iv) και §10.1.3 παρατήρηση ii) (ό.π., ρητή αντιπαραβολή με τα γαλλικά)· §10.6 «Συντομογραφίες», γενικός κανόνας γ): «Στις ελληνικές συντομογραφίες με τις οποίες συντέμνονται φράσεις που αποτελούνται από περισσότερες της μίας λέξεις μπαίνει κατά κανόνα τελεία έπειτα από κάθε συντεμνόμενη λέξη» (π.χ. κ.λπ., π.χ., πρβλ., κ.ο.κ.)",
|
|
72
75
|
"url": "http://publications.europa.eu/resource/cellar/e774ea2a-ef84-4bf6-be92-c9ebebf91c1b.0015.03/DOC_2",
|
|
73
|
-
"note": "Two empty lists closed by citation rather than by absence of one. beforePunctuation and narrowBeforePunctuation are empty because Greek takes neither U+00A0 nor U+202F before «;» «:» «!» «·» — the source denies the French practice by name. abbreviations is empty because Greek multi-word abbreviations appear to be written with no internal space at all (κ.λπ., not «κ. λπ.»), so there is no U+0020 for the rule to promote. INFERENCE, NOT CITATION: §10.6 γ) states only that a full stop follows each abbreviated word; it says nothing about spacing between them. The no-space form is visible in the guide's own printed examples and in no normative sentence examined. The list would be empty on the absence of a citation alone (docs/PLAN.md §6.1), so nothing rests on the inference — it is labelled because an unlabelled inference in a cite field is the failure mode this field exists to prevent. The remaining lists are empty because no Greek normative source examined states a binding: the one candidate, the §6.4 table binding a number to «%» and «°C», sits in Part Three — «Συμβατικοί κανόνες κοινοί για ΟΛΕΣ τις γλώσσες» — whose own preamble says it replaced diverging national rules for uniform presentation, which makes it publisher house style rather than evidence about Greek. A missing citation is never a licence to guess (docs/PLAN.md §6.1). Observed usage does not contradict that reading, which is worth recording because it was checked rather than assumed: a byte-level scan on 2026-08-15 of the Greek-language home pages of kathimerini.gr, kathimerini.gr/economy, tovima.gr, tanea.gr, efsyn.gr, in.gr, naftemporiki.gr, protagon.gr, lifo.gr, meteo.gr, kedros.gr, onassis.org/el and emst.gr found 183 number-plus-unit occurrences — 140 «%», 41 «°C», 2 «€» — and NOT ONE of them carried a space of any kind, no U+0020, no U+00A0. Greek web practice sets «50%» and «20°C» tight,
|
|
76
|
+
"note": "Two empty lists closed by citation rather than by absence of one. beforePunctuation and narrowBeforePunctuation are empty because Greek takes neither U+00A0 nor U+202F before «;» «:» «!» «·» — the source denies the French practice by name. abbreviations is empty because Greek multi-word abbreviations appear to be written with no internal space at all (κ.λπ., not «κ. λπ.»), so there is no U+0020 for the rule to promote. INFERENCE, NOT CITATION: §10.6 γ) states only that a full stop follows each abbreviated word; it says nothing about spacing between them. The no-space form is visible in the guide's own printed examples and in no normative sentence examined. The list would be empty on the absence of a citation alone (docs/PLAN.md §6.1), so nothing rests on the inference — it is labelled because an unlabelled inference in a cite field is the failure mode this field exists to prevent. The remaining lists are empty because no Greek normative source examined states a binding: the one candidate, the §6.4 table binding a number to «%» and «°C», sits in Part Three — «Συμβατικοί κανόνες κοινοί για ΟΛΕΣ τις γλώσσες» — whose own preamble says it replaced diverging national rules for uniform presentation, which makes it publisher house style rather than evidence about Greek. A missing citation is never a licence to guess (docs/PLAN.md §6.1). Observed usage does not contradict that reading, which is worth recording because it was checked rather than assumed: a byte-level scan on 2026-08-15 of the Greek-language home pages of kathimerini.gr, kathimerini.gr/economy, tovima.gr, tanea.gr, efsyn.gr, in.gr, naftemporiki.gr, protagon.gr, lifo.gr, meteo.gr, kedros.gr, onassis.org/el and emst.gr found 183 number-plus-unit occurrences — 140 «%», 41 «°C», 2 «€» — and NOT ONE of them carried a space of any kind, no U+0020, no U+00A0. Greek web practice sets «50%» and «20°C» tight, which is why closedUnits holds both (spec 1.22.0). Method, so the figure can be re-derived rather than taken on trust: fetch each page, strip script, style and noscript elements and then all tags, decode HTML entities (so that becomes the U+00A0 it denotes rather than disappearing), and count matches of a digit followed by an optional single space character from {U+0020, U+00A0, U+202F, U+2009} followed by the unit. Pages carrying under 200 Greek letters were excluded as not being Greek-language content. That scan is an observation of usage, is not offered as a normative claim, and nothing in this file depends on it: the lists would be empty on the absence of a citation alone. Retrieved 2026-08-15."
|
|
74
77
|
},
|
|
75
78
|
{
|
|
76
79
|
"rule": "hyphen",
|
|
@@ -89,6 +92,12 @@
|
|
|
89
92
|
"cite": "Unicode Consortium, The Unicode Standard, Version 17.0, Core Specification, ch. 7 «Europe-I», §7.2.1 Greek, «Compatibility Punctuation», verbatim: «Therefore, use of U+037E and U+0387 is not necessary for interoperating with legacy Greek data, and their use is not generally encouraged for representation of Greek punctuation.» The preceding sentence of that subsection — to the effect that the two characters have canonical equivalences to U+003B and U+00B7, so that normalised Greek text loses the distinction — is given here as PARAPHRASE, not as quotation: it could not be confirmed word for word at review time. Its substance does not rest on the prose in any case; it is entailed directly by UnicodeData.txt, where U+037E carries the canonical decomposition mapping 003B and U+0387 carries 00B7, each as a singleton",
|
|
90
93
|
"url": "https://www.unicode.org/versions/Unicode17.0.0/core-spec/chapter-7/",
|
|
91
94
|
"note": "Code-point identity only, which is the one thing this source is authoritative for. Note the split standing of the citation: one sentence is verbatim, one is paraphrase backed by UnicodeData.txt rather than by the Core Specification's wording, and the file says which is which. Everything the rules do rests on the machine-readable field, not on the prose. The ερωτηματικό is written U+003B, not U+037E; the άνω τελεία is written U+00B7, not U+0387. Consequence for the rules: no rule may emit U+037E or U+0387, and none may rewrite one to the character it decomposes to — that is normalisation, forbidden by docs/ARCHITECTURE.md §4.3 and performed anyway by any downstream NFC pass. The full argument, including why U+00B7 must not join the spaces rule's STRIP-BEFORE set, is in spec/rules/spaces.md §3.5. Retrieved 2026-08-15."
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"rule": "nbsp",
|
|
98
|
+
"cite": "Διοργανικό εγχειρίδιο σύνταξης κειμένων (EL, 2011), Μέρος Τέταρτο, §10.8.1 Β ε): «συντελεστής 2,2 %», «θερμοκρασία 6 °C»; για ποσοστά και θερμοκρασία εκτός ΕΕ: «μπορούμε να μην αφήνουμε διάστημα μεταξύ αριθμού και συμβόλου»",
|
|
99
|
+
"url": "http://publications.europa.eu/resource/cellar/e774ea2a-ef84-4bf6-be92-c9ebebf91c1b.0015.03/DOC_2",
|
|
100
|
+
"note": "% and °C in closedUnits: the Greek part of the inter-institutional guide permits both forms for a percentage and a temperature outside the EU, and the web scan above found every occurrence closed. kg, kW are spaced in the same section but the section is house style, so they stay out of the lists. Retrieved 2026-11-11."
|
|
92
101
|
}
|
|
93
102
|
]
|
|
94
103
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"close": "”",
|
|
13
13
|
"innerSpace": "none"
|
|
14
14
|
},
|
|
15
|
+
"punctuationPlacement": "none",
|
|
15
16
|
"elisionIdioms": [],
|
|
16
17
|
"elisionClitics": {
|
|
17
18
|
"before": [],
|
|
@@ -36,7 +37,6 @@
|
|
|
36
37
|
"afterShortWords": [],
|
|
37
38
|
"abbreviations": [],
|
|
38
39
|
"beforeUnits": [
|
|
39
|
-
"%",
|
|
40
40
|
"kg",
|
|
41
41
|
"g",
|
|
42
42
|
"mg",
|
|
@@ -54,8 +54,6 @@
|
|
|
54
54
|
"min",
|
|
55
55
|
"s",
|
|
56
56
|
"ms",
|
|
57
|
-
"°C",
|
|
58
|
-
"°F",
|
|
59
57
|
"kB",
|
|
60
58
|
"MB",
|
|
61
59
|
"GB",
|
|
@@ -63,6 +61,8 @@
|
|
|
63
61
|
"kW",
|
|
64
62
|
"kWh"
|
|
65
63
|
],
|
|
64
|
+
"spacedUnits": [],
|
|
65
|
+
"closedUnits": ["%", "°C", "°F"],
|
|
66
66
|
"beforeNumber": [],
|
|
67
67
|
"beforeWord": [],
|
|
68
68
|
"afterSymbols": [],
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"rule": "nbsp",
|
|
92
92
|
"cite": "BIPM, The International System of Units (SI), 9th ed. (2019), concise summary, “The language of science: using the SI to express the values of quantities”",
|
|
93
93
|
"url": "https://www.bipm.org/documents/20126/41483022/SI-Brochure-9-concise-EN.pdf",
|
|
94
|
-
"note": "Verbatim: “A single space is always left between the number and the unit.” Used here because the University of Oxford Style Guide sets measurements closed up (“The average height of a woman in the UK is 1.61m.”, “worth 10% of the available marks”) and is therefore silent on binding a space it does not itself write.
|
|
94
|
+
"note": "Verbatim: “A single space is always left between the number and the unit.” Used here because the University of Oxford Style Guide sets measurements closed up (“The average height of a woman in the UK is 1.61m.”, “worth 10% of the available marks”) and is therefore silent on binding a space it does not itself write. Oxford is the named authority for en-GB, so where the two disagree on `%` and `°C`/`°F` the locale follows Oxford (closedUnits, see the entry below); for the remaining units BIPM only supplies the symbols."
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
"rule": "nbsp",
|
|
@@ -120,6 +120,18 @@
|
|
|
120
120
|
"cite": "The Chicago Manual of Style, 7.16 “Possessive form of most nouns” (section number and title confirmed against the publisher's own chapter-7 table of contents; cited as 7.16–19 and 7.22 by the CMOS Q&A on the 18th-edition site). Verbatim, as reproduced by CMOS Shop Talk, “Section 7.16 in the Spotlight”, 12 May 2015: “The possessive of most singular nouns is formed by adding an apostrophe and an s.” Reconfirmed for the current edition by CMOS Shop Talk, 31 August 2021: “Chicago adds an apostrophe and an s to form the possessive of a singular noun, including singular nouns ending in s” (see CMOS 7.16)",
|
|
121
121
|
"url": "https://cmosshoptalk.com/2021/08/31/introducing-the-chicago-manual-of-style-for-perfectit/",
|
|
122
122
|
"note": "Supports quotes.elisionClitics.after = [\"s\"], identical to en-US. LABELLED GAP: en-GB rests on an American authority because no British one was reachable. New Hart's Rules: The Oxford Style Guide (ed. Anne Waddingham, OUP) is print and paywalled; ox.ac.uk's style guide returned HTTP 403, OUP's own free companion site for New Hart's Rules returned an empty body, and Oxford Reference is paywalled. Every British statement of the rule found was a third-party paraphrase and therefore not citable. The gap is narrow rather than papered over: the single point on which US and UK possessive practice actually diverges is whether a second s follows a sibilant (Dickens's, Chicago's preference per 7.16–19, versus Dickens', the alternative practice per 7.22), and that divergence cannot reach this entry, because the veto matches the maximal LETTER run to the RIGHT of the mark — Burns's fires on s, Burns' has no letter there and fires nothing. So the two locales take the identical entry not by assumption but because the two practices coincide wherever this field is consulted. Replace with New Hart's Rules if the book is obtained. Note also that en-GB's primary close is U+2019, so this is the locale where a wrong entry could collide with genuine quotation — a one-element list is the minimum that closes issue #53."
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"rule": "quote-punctuation",
|
|
126
|
+
"cite": "University of Oxford Style Guide (2014; Michaelmas term 2014 edition), p. 16, “Using other punctuation with quotation marks”",
|
|
127
|
+
"url": "https://warwick.ac.uk/fac/sci/lifesci/research/der/workshop/university_of_oxford_style_guide.pdf",
|
|
128
|
+
"note": "Supports quotes.punctuationPlacement = \"none\". Verbatim: “If the quote would have required punctuation in its original form, place the punctuation inside the quotation marks.” and “Place any punctuation which does not belong to the quote outside the quotation marks (except closing punctuation if the end of the quote is also the end of the sentence).” Placement follows whether the mark belongs to the quoted material, which a scan of code points cannot decide, so the rule does nothing here rather than guess. This is a university house style, not a national norm, and the copy read is the 2014 edition at the URL above; the current edition on ox.ac.uk was not reachable. Consulted 2026-11-09."
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"rule": "nbsp",
|
|
132
|
+
"cite": "University of Oxford Style Guide (2014), pp. 7, 10: “worth 10% of the available marks”; “The average height of a woman in the UK is 1.61m.”; “Preheat the oven to 350°F (180°C).”",
|
|
133
|
+
"url": "https://www.warwick.ac.uk/fac/sci/lifesci/research/der/workshop/university_of_oxford_style_guide.pdf",
|
|
134
|
+
"note": "`%`, `°C` and `°F` are in closedUnits: Oxford, the named authority for en-GB, sets them closed up. The other units stay in beforeUnits (an author-typed space is bound, nothing is inserted or deleted): Oxford's own example is the single-letter `m`, which no list holds, and BIPM sets a space. Retrieved 2026-11-11."
|
|
123
135
|
}
|
|
124
136
|
]
|
|
125
137
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"close": "’",
|
|
13
13
|
"innerSpace": "none"
|
|
14
14
|
},
|
|
15
|
+
"punctuationPlacement": "inside",
|
|
15
16
|
"elisionIdioms": [
|
|
16
17
|
{
|
|
17
18
|
"left": "rock",
|
|
@@ -41,27 +42,20 @@
|
|
|
41
42
|
"narrowBeforePunctuation": [],
|
|
42
43
|
"afterShortWords": [],
|
|
43
44
|
"abbreviations": [],
|
|
44
|
-
"beforeUnits": [
|
|
45
|
-
|
|
45
|
+
"beforeUnits": ["g", "m", "L", "h", "s", "°C", "°F"],
|
|
46
|
+
"spacedUnits": [
|
|
46
47
|
"kg",
|
|
47
|
-
"g",
|
|
48
48
|
"mg",
|
|
49
49
|
"km",
|
|
50
|
-
"m",
|
|
51
50
|
"cm",
|
|
52
51
|
"mm",
|
|
53
52
|
"mi",
|
|
54
53
|
"ft",
|
|
55
54
|
"lb",
|
|
56
55
|
"oz",
|
|
57
|
-
"L",
|
|
58
56
|
"mL",
|
|
59
|
-
"h",
|
|
60
|
-
"min",
|
|
61
|
-
"s",
|
|
62
57
|
"ms",
|
|
63
|
-
"
|
|
64
|
-
"°F",
|
|
58
|
+
"min",
|
|
65
59
|
"kB",
|
|
66
60
|
"MB",
|
|
67
61
|
"GB",
|
|
@@ -69,6 +63,7 @@
|
|
|
69
63
|
"kW",
|
|
70
64
|
"kWh"
|
|
71
65
|
],
|
|
66
|
+
"closedUnits": ["%"],
|
|
72
67
|
"beforeNumber": [],
|
|
73
68
|
"beforeWord": [],
|
|
74
69
|
"afterSymbols": [],
|
|
@@ -115,7 +110,7 @@
|
|
|
115
110
|
"rule": "nbsp",
|
|
116
111
|
"cite": "BIPM, The International System of Units (SI), 9th ed. (2019), concise summary, “The language of science: using the SI to express the values of quantities”",
|
|
117
112
|
"url": "https://www.bipm.org/documents/20126/41483022/SI-Brochure-9-concise-EN.pdf",
|
|
118
|
-
"note": "Verbatim: “A single space is always left between the number and the unit.” This is the authority for the unit list itself; Chicago is the authority for making that space non-breaking.
|
|
113
|
+
"note": "Verbatim: “A single space is always left between the number and the unit.” This is the authority for the unit list itself; Chicago is the authority for making that space non-breaking. BIPM supplies which strings are SI symbols; the spacing of `%`, which BIPM sets with a space and Chicago closed up, is decided by the entry above."
|
|
119
114
|
},
|
|
120
115
|
{
|
|
121
116
|
"rule": "nbsp",
|
|
@@ -138,6 +133,18 @@
|
|
|
138
133
|
"cite": "The Chicago Manual of Style, 7.16 “Possessive form of most nouns” (section number and title confirmed against the publisher's own chapter-7 table of contents; cited as 7.16–19 and 7.22 by the CMOS Q&A on the 18th-edition site). Verbatim, as reproduced by CMOS Shop Talk, “Section 7.16 in the Spotlight”, 12 May 2015: “The possessive of most singular nouns is formed by adding an apostrophe and an s.” Reconfirmed for the current edition by CMOS Shop Talk, 31 August 2021: “Chicago adds an apostrophe and an s to form the possessive of a singular noun, including singular nouns ending in s” (see CMOS 7.16)",
|
|
139
134
|
"url": "https://cmosshoptalk.com/2021/08/31/introducing-the-chicago-manual-of-style-for-perfectit/",
|
|
140
135
|
"note": "Supports the single entry quotes.elisionClitics.after = [\"s\"] — the possessive s, not the contraction enclitics. t, ll, re, ve, d and m are deliberately absent: nobody writes `won`'t, so they have no attested occurrence in the shape this veto is scoped to, whereas possessivising a set-off identifier (`x`'s printer) is everyday technical prose and is the shape reported in canonical issue #53. Chicago states the rule, not a code point; U+2019 follows from apostrophe.md §3.3, which is unchanged. Edition and section provenance is mixed deliberately and should not be tidied into a single number: the numbered paragraph itself is paywalled, the verbatim wording above is the 16th edition's (the 2015 post carries an editor's note saying so), and the 2021 post plus the 18th-edition Q&A are what establish that 7.16 is still the general rule. CMOS 7.22's alternative practice (Burns' rather than Burns's) does not affect this entry: the veto matches the maximal LETTER run to the RIGHT of the mark, so Burns's fires on s while Burns' has no letter there and fires nothing. CMOS 7.29 “Possessive with italicized or quoted terms” is a closer fit to the reported shape than 7.16 and would strengthen this citation, but its text is paywalled and was not read — only its title, from the table of contents."
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"rule": "quote-punctuation",
|
|
139
|
+
"cite": "CMOS Shop Talk (the Chicago Manual of Style’s own blog), Russell Harper, “Commas and Periods with Quotation Marks”, 20 October 2020 (updated 20 January 2026), which cites Chicago Manual of Style 6.9–6.10",
|
|
140
|
+
"url": "https://cmosshoptalk.com/2020/10/20/commas-and-periods-with-quotation-marks/",
|
|
141
|
+
"note": "Supports quotes.punctuationPlacement = \"inside\". Verbatim: “In publications that follow Chicago style, commas and periods are placed before a closing quotation mark”; semicolons, colons, question marks, exclamation points and dashes “go after a closing quotation mark unless they belong to the quoted matter.” Only the comma and the full stop are positional, so only those two are moved (quote-punctuation.md §3); the others depend on whether they belong to the quotation, which no scan of code points can tell. The post also notes the convention is “no longer universally followed outside the United States”. The numbered paragraphs of the manual itself are behind a login and were not read; 6.9–6.10 are the numbers the post gives, and it names no edition; the current (18th) edition is inferred from the post’s update date, not stated by it. CMOS Shop Talk, “Section 7.75 in the Spotlight” (11 August 2015, 16th ed.), says punctuation that is not part of a quoted computer term stays outside the marks; whether that holds in the 18th edition was not checked, and the rule does not model it (accepted cost, quote-punctuation.md §6). Consulted 2026-11-09."
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"rule": "nbsp",
|
|
145
|
+
"cite": "Chicago Manual of Style, 18th ed., 9.18 (as quoted by CMOS Shop Talk, “Introducing the Chicago Manual of Style for PerfectIt”, 31 Aug 2021): “20%” [with no space between the numeral and the symbol]; “A single space is always left between the number and the unit” (NIST SP 811, 2008 ed., §7.2) for kg, km, kW and the like",
|
|
146
|
+
"url": "https://cmosshoptalk.com/2021/08/31/introducing-the-chicago-manual-of-style-for-perfectit/",
|
|
147
|
+
"note": "`%` is in closedUnits: Chicago, the named style authority for en-US, sets it closed up; NIST SP 811 §7.10.2 sets a space (“0.25 %”), and where authorities disagree the locale follows the style guide. The listed multi-letter units are in spacedUnits (NIST §7.2; Chicago: “between a numeral and an abbreviated unit of measure, as in ‘10 kg’”). `°C` and `°F` stay in beforeUnits: Chicago is silent and NIST sets a space, practice sets them closed. Single-letter symbols stay in beforeUnits: `1970s` and `£2m` are not units. Retrieved 2026-11-11."
|
|
141
148
|
}
|
|
142
149
|
]
|
|
143
150
|
}
|