Re: [NTG-context] Issue with tex.romannumeral output

2020-11-25 Thread Hans Hagen
On 11/25/2020 7:51 PM, Joseph wrote: Dear list, Following MWE outputs only ‘m’ characters (with latest upload). ah, some left over from a test, i'll fix it Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] Issue with tex.romannumeral output

2020-11-25 Thread Jairo A. del Rio
that’s to mimic old > typesetting (very specific case for sure :-). > > Ie 118 -> cxiij > > Is there a way to do this with convertnumber anyhow ? > > > > *De : *Wolfgang Schuster > *Envoyé le :*mercredi 25 novembre 2020 20:11 > *À : *mailing list for Co

Re: [NTG-context] Issue with tex.romannumeral output

2020-11-25 Thread Wolfgang Schuster
Joseph schrieb am 25.11.2020 um 19:51: Dear list, Following MWE outputs only ‘m’ characters (with latest upload). Is there a reason why you don't use the conversion mechanism? \starttext \convertnumber{r}{7} \cldcontext{converters.convert("r",7)} \stoptext Wolfgang ___

[NTG-context] Issue with tex.romannumeral output

2020-11-25 Thread Joseph
Dear list, Following MWE outputs only ‘m’ characters (with latest upload).Thanks \startluacode function roman_num(n)   assert(type(n) == 'number')   context(tex.romannumeral(n))end \stopluacode \define[1]\RM{\ctxlua{roman_num(#1)}} \starttext\RM{1}\RM{7}\RM{10}\RM{70}\RM{100}\stoptext   ___