Hi, Joseph. Something like this? \starttext \cldcontext{converters.convert("r",118):gsub("i$", "j") } \stoptext Jairo El mié, 25 de nov. de 2020 a la(s) 14:30, Joseph (josephcanedo@gmail.com) escribió:
Yes, I replace last ‘i’ with a ‘j’ in roman number, 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 ConTeXt users *Cc : *Joseph *Objet :*Re: [NTG-context] Issue with tex.romannumeral output 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
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net
___________________________________________________________________________________