Re: [NTG-context] th nd and rd

2006-01-04 Thread Hans Hagen
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

Re: [NTG-context] th nd and rd

2006-01-04 Thread Adam Lindsay
John R. Culleton wrote: On Friday 30 December 2005 04:35 pm, Mojca Miklavec wrote: \def\enordinalnumber#1% {#1\ifnum\lasttwodigits{#1}=11 \highordinalstr{th}% \else\ifcase\lastdigit{#1}% \highordinalstr{th}% \or % 1 \highordinalstr{st}% \or % 2 \highordinalstr{nd}% \or

Re: [NTG-context] th nd and rd

2006-01-03 Thread John R. Culleton
On Friday 30 December 2005 04:35 pm, Mojca Miklavec wrote: > \def\enordinalnumber#1% >   {#1\ifnum\lasttwodigits{#1}=11 >      \highordinalstr{th}% >    \else\ifcase\lastdigit{#1}% >      \highordinalstr{th}% >    \or % 1 >      \highordinalstr{st}% >    \or % 2 >      \highordinalstr{nd}% >    \or

Re: [NTG-context] th nd and rd

2006-01-02 Thread Hans Hagen
Mojca Miklavec wrote: As usually, Hans already included (almost) that in the core :) but you seem to be able to find that code faster than i can -) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-contex

Re: [NTG-context] th nd and rd

2006-01-02 Thread Hans Hagen
Idris Samawi Hamid wrote: Hi John, On Thu, 29 Dec 2005 15:56:06 -0700, John R. Culleton <[EMAIL PROTECTED]> wrote: It is common to express certain numerals with the suffixes st, nd, rd, th, with the suffix in a smaller type and raised about .5em eg: 1st 2nd 3rd 4th 5th. It is of course po

Re: [NTG-context] th nd and rd

2005-12-30 Thread Mojca Miklavec
John R. Culleton wrote: > It is common to express certain numerals with the suffixes > st, nd, rd, th, > with the suffix in a smaller type and raised about .5em > eg: > 1st 2nd 3rd 4th 5th. > > It is of course possible to cobble these expressions up in macros. > But it would be handy if they were b

Re: [NTG-context] th nd and rd

2005-12-29 Thread Idris Samawi Hamid
Hi John, On Thu, 29 Dec 2005 15:56:06 -0700, John R. Culleton <[EMAIL PROTECTED]> wrote: It is common to express certain numerals with the suffixes st, nd, rd, th, with the suffix in a smaller type and raised about .5em eg: 1st 2nd 3rd 4th 5th. It is of course possible to cobble these expre

[NTG-context] th nd and rd

2005-12-29 Thread John R. Culleton
It is common to express certain numerals with the suffixes st, nd, rd, th, with the suffix in a smaller type and raised about .5em eg: 1st 2nd 3rd 4th 5th. It is of course possible to cobble these expressions up in macros. But it would be handy if they were built in to Context. Any thoughts?