metanorma / metanorma-iso

Metanorma processor for ISO standards
BSD 2-Clause "Simplified" License
13 stars 5 forks source link

Short form of ordinal number #1098

Closed Intelligent2013 closed 6 months ago

Intelligent2013 commented 6 months ago

Source issue: https://github.com/metanorma/metanorma-iso/issues/1089

Currently, the spell out edition contains 'word':

<edition language="en">second edition</edition>

But, in the old ISO documents, the edition number is digits with suffix:

NOTE: the word 'EDITION' should be uppercased. NOTE: ème should be encoded in sup tags.

opoudjis commented 6 months ago

@Intelligent2013 which ones? Will implement in only 1951 for now.

Intelligent2013 commented 6 months ago

@Intelligent2013 which ones? Will implement in only 1951 for now.

@opoudjis 1951 is ok.

opoudjis commented 6 months ago

The Twitter-CLDR-rb library renders French "2nd" as "2e" not "2ème"; that of course is a stylistic preference in French, and the fashion (and the French National Printing House, which sets French printing style) has turned away from 2ème and towards 2e as simpler: https://lafaqdefrancais.wordpress.com/2022/01/23/abreviation-des-ordinaux-premier-premiere-deuxieme/

I could introduce older ordinals in Metanorma, but frankly, I don't see the point. 2<sup>e</sup> ÉDITION it is.

opoudjis commented 6 months ago

Note that this needs isodoc as well, since I introduced into its YAML the rules for digits + ordinals.