From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109638 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joseph Newsgroups: gmane.comp.tex.context Subject: =?utf-8?q?RE=C2=A0=3A__Issue_with_tex=2Eromannumer?= =?utf-8?q?al_output?= Date: Wed, 25 Nov 2020 20:29:56 +0100 Message-ID: <99250A07-9223-4123-AF4C-60C4F37A9D28@hxcore.ol> References: , <10fab5d4-6844-6c26-134c-f4676acfca4e@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3409527337277298549==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34915"; mail-complaints-to="usenet@ciao.gmane.io" To: Wolfgang Schuster , mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 25 20:33:44 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ki0Xw-0008yR-Lh for gctc-ntg-context-518@m.gmane-mx.org; Wed, 25 Nov 2020 20:33:44 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EB6551AA5B1; Wed, 25 Nov 2020 20:30:02 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fuCmGH3Dw6Am; Wed, 25 Nov 2020 20:30:00 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B0FAA1AA5CA; Wed, 25 Nov 2020 20:30:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 13B991AA5A7 for ; Wed, 25 Nov 2020 20:30:00 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d3DCU4_9DEBm for ; Wed, 25 Nov 2020 20:29:59 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.42; helo=mail-wm1-f42.google.com; envelope-from=josephcanedo@gmail.com; receiver= Original-Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 5F36A1AA54E for ; Wed, 25 Nov 2020 20:29:59 +0100 (CET) Original-Received: by mail-wm1-f42.google.com with SMTP id x13so2206821wmj.1 for ; Wed, 25 Nov 2020 11:29:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:date:from:subject:thread-topic:in-reply-to:message-id :references:to:content-transfer-encoding; bh=nN7272C9Kew6nG5k2gKqN775ksHYyoR4RA7iWg1XcIg=; b=OQ+I84fYFl23ZaljwAugBujtUKji9dyEwRlAwKJap0dXJL4CXyc+J2h1L6I0ps2mS0 0wgW1zPWjHQqoDu4cu8VSw7r+ZuqaJpqnLFkcLEefWBGJDNa4vAAYyXfQ4uO95jmRwGa v/Az0KuXqMV8JkOgBdge1VGghC/eXxcSuLL08WdZCgYFatd354Efk0QxydRnbMZ3qpH5 ciP89CsYVPjxzJrrrvYaMdgWIJdXL2XlQjqoy5KZZB4vOT2W56jkeKfWItmHKwNgi9Hx Nqc+8rMH+NCmnbb2DWJd1YGdlIV2H5qLmylu24Do87VltnJWEEEyMLKBBZn3g1eUBbkU jiYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:from:subject:thread-topic :in-reply-to:message-id:references:to:content-transfer-encoding; bh=nN7272C9Kew6nG5k2gKqN775ksHYyoR4RA7iWg1XcIg=; b=sUC8OPWb3qMNvHkWzZMPFSdu9xJ2EuMkBVzMf+TfuZgjC3LmoHPs9tJkeLdfCO4TLo dHIjDmzp4Er6JRedGO5aOxQ2rYJe6X0Fpik1scKJ8uKUgajuanz4Hxb59zf61SL30B8h 3y4MkmcsCk/PBsQSpTqrlxxkqjmL3bokEqG+LxUg0B5j9/RCxd+i3zPRDsDgfH8ERAYD Zl/wfVfGLy8+BspbupuGuzqF1dgQUenh1nhUuLN/RGRidklL+ybC3s6HbI/9q0iHwCwP 5tsqfp9J/J/cx322ZECZ3VBUN0/DJyVPDgsYXRzLuKho6zp8MbLcPLECu6i5uPpGoWQ0 cTEg== X-Gm-Message-State: AOAM533YT0W6PPBvzKJzF/QE44RMIdrORhwdFp4PkLmpeGKszJbISyGo ue6Ch+ZGDAe9Mc5trUcPmkg= X-Google-Smtp-Source: ABdhPJzFlCvhzs+SKOwhKrHZ2KknpQJlzh/+U04FFbX9KhmH+Od1T6k8+cY2Cn+2gYo+XaNM/lYg5w== X-Received: by 2002:a1c:f017:: with SMTP id a23mr5541534wmb.56.1606332599093; Wed, 25 Nov 2020 11:29:59 -0800 (PST) Original-Received: from smtp.gmail.com (2a01cb00068e0300752d1953afd5e759.ipv6.abo.wanadoo.fr. [2a01:cb00:68e:300:752d:1953:afd5:e759]) by smtp.gmail.com with ESMTPSA id x13sm5424042wmi.20.2020.11.25.11.29.58 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Nov 2020 11:29:58 -0800 (PST) Thread-Topic: =?utf-8?Q?RE=C2=A0:_[NTG-context]_Issue_with_tex.romannumeral_output?= In-Reply-To: <10fab5d4-6844-6c26-134c-f4676acfca4e@gmail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:109638 Archived-At: --===============3409527337277298549== Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

Yes, I replace last =E2=80=98i=E2=80= =99 with a =E2=80=98j=E2=80=99 in roman number, that=E2=80=99s 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=C3=A9 le :mercredi 25 = novembre 2020 20:11
=C3=80 : mailing list for ConTeXt users
Cc : Joseph
Objet :Re: [NTG-cont= ext] Issue with tex.romannumeral output

=  

Joseph schrieb am 25.11.2020 um 19:51:=

> Dear list,

>

<= p class=3DMsoNormal>> Following MWE outputs only =E2=80=98m=E2=80=99 cha= racters (with latest upload).

 

=

Is there a reason why you don't use the conversion mec= hanism?

 

\= starttext

 

\convertnumber{r}{7}

 

\cldcontext{converters.convert("r",7)}

 

\stoptext

 

Wolfgang

 

= --===============3409527337277298549== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============3409527337277298549==--