Adam Lindsay wrote:

As I was just reminded by a British Telecom website (which confirmed that I was moving on the "13rd"), I'm used to two more exceptions (suggested as a patch):

\def\enordinaldaynumber#1%
  {#1\ifnum\lasttwodigits{#1}=11
     \highordinalstr{th}%
   \else\ifnum\lasttwodigits{#1}=12
     \highordinalstr{th}%
   \else\ifnum\lasttwodigits{#1}=13
     \highordinalstr{th}%
   \else\ifcase\lastdigit{#1}%
     \highordinalstr{th}%
   \or % 1
     \highordinalstr{st}%
   \or % 2
     \highordinalstr{nd}%
   \or % 3
     \highordinalstr{rd}%
   \else
     \highordinalstr{th}%
   \fi\fi\fi\fi}

ok, patched

Hans

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to