ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Issue with tex.romannumeral output
@ 2020-11-25 18:51 Joseph
  2020-11-25 19:11 ` Wolfgang Schuster
  2020-11-25 20:01 ` Hans Hagen
  0 siblings, 2 replies; 5+ messages in thread
From: Joseph @ 2020-11-25 18:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/html, Size: 1942 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Issue with tex.romannumeral output
  2020-11-25 18:51 Issue with tex.romannumeral output Joseph
@ 2020-11-25 19:11 ` Wolfgang Schuster
  2020-11-25 19:29   ` RE : " Joseph
  2020-11-25 20:01 ` Hans Hagen
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2020-11-25 19:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE :  Issue with tex.romannumeral output
  2020-11-25 19:11 ` Wolfgang Schuster
@ 2020-11-25 19:29   ` Joseph
  2020-11-25 19:47     ` Jairo A. del Rio
  0 siblings, 1 reply; 5+ messages in thread
From: Joseph @ 2020-11-25 19:29 UTC (permalink / raw)
  To: Wolfgang Schuster, mailing list for ConTeXt users

[-- Attachment #1: Type: text/html, Size: 2750 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Issue with tex.romannumeral output
  2020-11-25 19:29   ` RE : " Joseph
@ 2020-11-25 19:47     ` Jairo A. del Rio
  0 siblings, 0 replies; 5+ messages in thread
From: Jairo A. del Rio @ 2020-11-25 19:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users, josephcanedo


[-- Attachment #1.1: Type: text/plain, Size: 1646 bytes --]

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 <wolfgang.schuster.lists@gmail.com>
> *Envoyé le :*mercredi 25 novembre 2020 20:11
> *À : *mailing list for ConTeXt users <ntg-context@ntg.nl>
> *Cc : *Joseph <josephcanedo@gmail.com>
> *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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3492 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Issue with tex.romannumeral output
  2020-11-25 18:51 Issue with tex.romannumeral output Joseph
  2020-11-25 19:11 ` Wolfgang Schuster
@ 2020-11-25 20:01 ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2020-11-25 20:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Joseph

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
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-11-25 20:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-25 18:51 Issue with tex.romannumeral output Joseph
2020-11-25 19:11 ` Wolfgang Schuster
2020-11-25 19:29   ` RE : " Joseph
2020-11-25 19:47     ` Jairo A. del Rio
2020-11-25 20:01 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).