supperscript in ordinal form of edition
@Rintze Is any way to write letters "nd" in "2nd edition" by superscript?
EDIT: I've found a way by new terms definition
But i think, it is not the best way, because, theoreticaly, the ordinal form can be used in diferent part of reference in a different form.
EDIT: I've found a way by new terms definition
<term name="ordinal">ᵗʰ</term>
<term name="ordinal-01">ˢᵗ</term>
<term name="ordinal-02">ⁿᵈ</term>
<term name="ordinal-03">ʳᵈ</term>
<term name="ordinal-11">ᵗʰ</term>
<term name="ordinal-12">ᵗʰ</term>
<term name="ordinal-13">ᵗʰ</term>
But i think, it is not the best way, because, theoreticaly, the ordinal form can be used in diferent part of reference in a different form.
http://docs.citationstyles.org/en/1.0.1/translating-locale-files.html#ordinals
(@Rintze: I didn't find a link to http://docs.citationstyles.org/ on citationstyles.org, I found it because I remembered it was on ReadTheDocs)
@fbennett In the current version, I cannot get ordinals number in form "2nd" where only "nd" is superscripted through the vertical-align, or I do not know the correct code. Now I use:
<number variable="edition" form="ordinal"/>
I'm also not loving the UTF character solution -- I'm a bit worried about font coverage -- but having tested this in Word, it seems to work fine across all fonts I checked and it does have the advantage of being very simple.
https://github.com/zotero/zotero/blob/6e21bb4b5722741d67dabd479b7c50542f1659e3/chrome/content/zotero/xpcom/citeproc.js#L725
https://github.com/zotero/zotero/blob/6e21bb4b5722741d67dabd479b7c50542f1659e3/chrome/content/zotero/xpcom/citeproc.js#L771
[Edit: add stable link]
I think my first solution was just to use the raw characters, but several people pointed out problems with font coverage. Then I suggested using escaped HTML markup in the term def, but that klutsy hack was firmly nixed by @bdarcus. The internal transform was how I tried to thread the needle, covering the use case while adhering to standards and best practice in style code, but avoiding a formal extension to the CSL spec.
I found code 02E2; 0073 # s is supposed to give superscripted s, but don't know how to write that in actual code.
https://github.com/citation-style-language/locales/blob/master/locales-fr-FR.xml#L75
and for the short issue term:
https://github.com/citation-style-language/locales/blob/master/locales-fr-FR.xml#L170