[NTG-context] Superscript in \date

Florian Wobbe Florian.Wobbe at awi.de
Fri Sep 24 17:10:39 CEST 2010

Dear all,

I tried to change the output format of \date so that the day includes the letter suffixes as superscript.



I get the following error.

<inserted text> 
<to be read again> 
<argument> \unskip {\edef {
                           sups}\attribute \zerocount 18\relax th}\hskip \da...
\p!compareprocessaction ...commalistelement {#3}#2
                                                  \fi \fi 
\next2 #1,->\p!doprocessaction {#1}
\processnextcommalist ...odoprocesscommaitem #4#5,
                                                  ]\relax \global \advance \...
l.14 \date[][day,{\setff{sups}th},~,month,year]

BTW the output looks fine in spite of the error message.

Using superscripts in this way does not cause errors:

57{\setff{sups}th} or \date[][day,$^{\mr th}$,~,month,year]

What is going wrong here?


More information about the ntg-context mailing list