From: "Jairo A. del Rio" <jairoadelrio6@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
josephcanedo@gmail.com
Subject: Re: Issue with tex.romannumeral output
Date: Wed, 25 Nov 2020 14:47:26 -0500 [thread overview]
Message-ID: <CAKyqqaYKy7X1mGfCg_9_F_nMpPCDoTNRJKiUYqugkKKnWhKdyg@mail.gmail.com> (raw)
In-Reply-To: <99250A07-9223-4123-AF4C-60C4F37A9D28@hxcore.ol>
[-- 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
___________________________________________________________________________________
next prev parent reply other threads:[~2020-11-25 19:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-25 18:51 Joseph
2020-11-25 19:11 ` Wolfgang Schuster
2020-11-25 19:29 ` RE : " Joseph
2020-11-25 19:47 ` Jairo A. del Rio [this message]
2020-11-25 20:01 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKyqqaYKy7X1mGfCg_9_F_nMpPCDoTNRJKiUYqugkKKnWhKdyg@mail.gmail.com \
--to=jairoadelrio6@gmail.com \
--cc=josephcanedo@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).