From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114165 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: musa furber via ntg-context Newsgroups: gmane.comp.tex.context Subject: Changed behavior from \convertnumber{arabicdecimals}{..} as a textcommand for note Date: Sat, 15 Jan 2022 10:03:06 +0800 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8615389218888612490==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15194"; mail-complaints-to="usenet@ciao.gmane.io" Cc: musa furber To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 15 03:04:05 2022 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 1n8YQH-0003mf-0p for gctc-ntg-context-518@m.gmane-mx.org; Sat, 15 Jan 2022 03:04:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7B8902867D4; Sat, 15 Jan 2022 03:03:29 +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 WZ5Wlk26k0-e; Sat, 15 Jan 2022 03:03:25 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8C8972839C3; Sat, 15 Jan 2022 03:03:25 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 668FE2839C3 for ; Sat, 15 Jan 2022 03:03:23 +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 y7nZ42T-RtVm for ; Sat, 15 Jan 2022 03:03:20 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.219.48; helo=mail-qv1-f48.google.com; envelope-from=musafurber@gmail.com; receiver= Original-Received: from mail-qv1-f48.google.com (mail-qv1-f48.google.com [209.85.219.48]) (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 DAE2C2815BF for ; Sat, 15 Jan 2022 03:03:19 +0100 (CET) Original-Received: by mail-qv1-f48.google.com with SMTP id a8so11901406qvx.2 for ; Fri, 14 Jan 2022 18:03:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=I6RpvE4Jk8CzwG3O14G5UYDtjYExmj8nIVr47La4XU8=; b=Gj8MkdyWeweLrMBuxVbpaupMI9jQ+gzkGY7vbaScGL35XG72t8W142ALpgG3LX7MoL fV589GXtw7mr6m6go5zNhI5xmylHGxPgoobllFBSc6cjQNsRXrzjt7drrrKlDH0D1XIV uqKXaqCN4ZtLMTrCdlUCb42iXZAw2mzkf85/TExQB06mULT7itMcmRstSF/ADqq51ueu AOcFQmMHe+M9LTLUvBBoFSKLS+RPLVV3m70a9/0mnizIwrMEBi23gYDC1Zjs/OVXwmxc zwvijoxQzDlUzFka6cWfh13uri4uD00ZBbdCm098Q7LI4UXezqJYyhkAMOcumslSMxUt cLdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=I6RpvE4Jk8CzwG3O14G5UYDtjYExmj8nIVr47La4XU8=; b=i0eLJGIexliZMS8byqOIariYz8VC3G6LjLLrO7kXDb3QqBX24azaL0morAXUum29cI Yu2/sRSE03npEDWnnTaKjPKCh7hvBB/fy0xqKLbD8AZiJlhrhnbmTuMUEwZzoT0xln01 B9itEZ8WBZ4g5bbansGQc5XzXnEw++3EFRCzcPZgW+rRi2c7/HrkeR/13Nios+RKMzMC hSOsR5bwiY4B7gQ5AJJ/Bb4erdOuKuLlqdejJOITv1Z2WhTCLiiSLAuVvjEtXtw0LdyW 7tIQqgjfaPU17/ZVO0pcix5fISPnNIaED8Q9f//qOyg5cwJiKsNIUyF4AuM4CjLTBXnq 0Hug== X-Gm-Message-State: AOAM533XGA5GOH0NYZkY5vxxkIOBKtzPcvffbDifpKoHXCLzHvp75UPq eF4zqD93KvjnCCELJLbSiQrf5pXpYDSGorixW+8UIyZ5gqsMwg== X-Google-Smtp-Source: ABdhPJyijpExmq0ZN9EDX56opQN6uV6eluV9Om87VM6UWOpqka/QedIgeS0qf/5QYTEexvgQYpyJ0IVr54u8MSjEYEQ= X-Received: by 2002:a05:6214:2522:: with SMTP id gg2mr10698713qvb.65.1642212197680; Fri, 14 Jan 2022 18:03:17 -0800 (PST) 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:114165 Archived-At: --===============8615389218888612490== Content-Type: multipart/alternative; boundary="000000000000b04c4405d5955218" --000000000000b04c4405d5955218 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable This week I updated ConTeXt minimals. Before then, I used the following code so that footnotes to Arabic passages would have parenthesis around them and use the digits used in Arabic texts in the Middle East (e.g. =D9=A0=D9=A1=D9=A2=D9=A3=D9=A4=D9=A5=D9=A6=D9=A7=D9=A8=D9=A9). \setupnote [arfootnote] [ headstyle=3D{\switchtobodyfont[kitab]}, textcommand=3D\footnotenotenumbercommand, alternative=3Dtext, ] \define[1]\footnotenotenumbercommand{{\high{(\convertnumber{arabicdecimals}= {#1})}}} Since the update, for the 123rd footnote, I now get `(123arabic)` instead of `(=D9=A1=D9=A2=D9=A3)`. Elsewhere, I do get the expected output (i.e. `=D9=A1=D9=A2=D9=A3=D9=A2`) w= hen calling \convertnumber{arabicdecimals}{1232} I'm still relatively new to ConTeXt, so I'm unsure if what used really is correct, or if it was wrong and I now need to find the right way to do it. Any help would be greatly appreciated. =E2=80=94Musa --000000000000b04c4405d5955218 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This week I updated ConTeXt minimals. Before then, I = used the following code so that footnotes to Arabic passages would have par= enthesis around them and use the digits used in Arabic texts in the Middle = East (e.g. =D9=A0=D9=A1=D9=A2=D9=A3=D9=A4=D9=A5=D9=A6=D9=A7=D9=A8=D9=A9).

\setupnote [arfootnote] [
=C2=A0 headstyle= =3D{\switchtobodyfont[kitab]},
=C2=A0 textcommand=3D\footnotenotenumberc= ommand,
=C2=A0 alternative=3Dtext,
=C2=A0 ]
\define[1]\footnotenot= enumbercommand{{\high{(\convertnumber{arabicdecimals}{#1})}}}

<= /div>
Since the update, for the 123rd footnote, I now get `(123arabic)`= instead of `(=D9=A1=D9=A2=D9=A3)`.

Elsewhere, I d= o get the expected output (i.e. `=D9=A1=D9=A2=D9=A3=D9=A2`) when calling
\convertnumber{arabicdecimals}{1232}

<= div>I'm still relatively new to ConTeXt, so I'm unsure if what used= really is correct, or if it was wrong and I now need to find the right way= to do it.

Any help would be greatly appreciated.<= br>

=E2=80=94Musa
--000000000000b04c4405d5955218-- --===============8615389218888612490== 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== --===============8615389218888612490==--