From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113646 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andres Conrado Montoya via ntg-context Newsgroups: gmane.comp.tex.context Subject: Wikfication of \commalistsentence Date: Fri, 3 Dec 2021 11:25:45 -0500 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2050137527028002772==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33017"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Andres Conrado Montoya To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 03 17:26:59 2021 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 1mtBOk-0008RD-RU for gctc-ntg-context-518@m.gmane-mx.org; Fri, 03 Dec 2021 17:26:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 667812A1CF4; Fri, 3 Dec 2021 17:26: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 oFJrlthtB7Ug; Fri, 3 Dec 2021 17:26:27 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0C1C42A1CE0; Fri, 3 Dec 2021 17:26:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DB6322A1CD4 for ; Fri, 3 Dec 2021 17:26:25 +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 ohIE75205AmM for ; Fri, 3 Dec 2021 17:26:23 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.180; helo=mail-oi1-f180.google.com; envelope-from=andresconrado@gmail.com; receiver= Original-Received: from mail-oi1-f180.google.com (mail-oi1-f180.google.com [209.85.167.180]) (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 81A3D2A1CC5 for ; Fri, 3 Dec 2021 17:26:23 +0100 (CET) Original-Received: by mail-oi1-f180.google.com with SMTP id t23so6832880oiw.3 for ; Fri, 03 Dec 2021 08:26:23 -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=xzz3r86waRc+4R6s9UvrQl/5yYtWemX9+ikr/UAhMF8=; b=K7kpERF7JXpfeGBbOPBwNlRRnIsf0U051Nn/fxYXgBHvJbXdx8LeGCOTyDLpVdTfdh n4GHFBzgWzMxmReDE6IanJlhOpQkNq21siS34GUvZb8ZC+HLdkJzjxWJgip6/ZuGDxm0 hzXv7Vjyssva5Teg49fd7RhZKe/f7ObRQKm6IOjaBysgV3U89rwazXQRm0YSsmke0Vjw i+rJhFzOkqrNppTifhs1WJUs2kMLqPvIBjUx0OBTeqn9+X+ZuRVSVQ1S27hWZIaq0rSy k/1aPHjBmZWCEYEDoIzBTcf3IqIPhlPZCnz5VHN0Q1grSaSZPvpSClDKYo5y0dKemMpc weKA== 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=xzz3r86waRc+4R6s9UvrQl/5yYtWemX9+ikr/UAhMF8=; b=X8DMkslru0+j10pzzjBxa4ApluyVTAdMwRtnFnCtWg/tR3r5lle8Sibdmac7Lt6d+B bXVMLk6ABYI9jYShtB1NlhhY5q5yk3O7sslBjq3GPs9MRtJI1uNdfV9xKXRSAC11C2PS jlNxrkDqAC165W1UoCX7Vu2/ZtA55AVi2UN2gbl+3QX6h/ACpYPptSykkszXmPIHmvKV CD3DF0uKv9gNyqBMLceYi++Okbg3iDr0DbnUQekh6PSA2/y2U1WEn96GRF0D4oY7ADDi Jt6rjeDhVQW1/ZZnf5IfJMlI9+0HBLWOB/JhqfbElt26VY7KtakPOOeeSEul3DSRBjdT Ywvg== X-Gm-Message-State: AOAM5334rootH2o9wrhvBSl49LnKDz83hFsWho8Hllf0foWnNkqnnRZu 7nURLe58El01XQk8j9cSeqzin1fM1NjtZCaq8DY5sdP25TO/vQ== X-Google-Smtp-Source: ABdhPJw615q2F6jIF51H/lXNUPD3vk+PmH9pyxl3QldkDdQFr41VrO8mlrCNrNXygSx4U/XD5aJdPjx63TkShWyAwdk= X-Received: by 2002:aca:674a:: with SMTP id b10mr10952420oiy.66.1638548781656; Fri, 03 Dec 2021 08:26:21 -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:113646 Archived-At: --===============2050137527028002772== Content-Type: multipart/alternative; boundary="00000000000013ef7d05d2405e85" --00000000000013ef7d05d2405e85 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I talked too soon. This won't work, and I have no idea why: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \setuplabeltext [en] [and-1=3D{{, }}, and-2=3D{{ and }}] % Should be: 1= , 2 and 3 \setuplabeltext [es] [and-1=3D{{, }}, and-2=3D{{ y }}] % Should be: 1, 2= y 3 \setuplabeltext [de] [and-1=3D{{, }}, and-2=3D{{ und }}] % Should be: 1, 2= und 3 \starttext \commalistsentence[one,two,three,four] % works as expected \language[es] \commalistsentence[uno,dos,tres,cuatro] % takes [en] settings \language[de] \commalistsentence[1,2,3,4] % takes [en] settings. \stoptext %%%%%%%%%%%%%%%%%%%%%%%%%% If I change \mainlanguage, the main language is used in all three cases. --=20 Andr=C3=A9s Conrado Montoya Andi K=C3=BA andresconrado@gmail.com http://sesentaycuatro.com http://messier87.com http://chiquitico.org ---------------------------------------- Los fines no justifican los medios, porque la medida verdadera de nuestro car=C3=A1cter est=C3=A1 dada por los medios que estamos dispuestos a utiliz= ar, no por los fines que proclamamos. ---------------------------------------- =E2=80=9CYou develop an instant global consciousness, a people orientation,= an intense dissatisfaction with the state of the world, and a compulsion to do something about it. From out there on the moon, international politics look so petty. You want to grab a politician by the scruff of the neck and drag him a quarter of a million miles out and say, =E2=80=98Look at that, you so= n of a bitch.=E2=80=99=E2=80=9D =E2=80=94 Apollo 14 astronaut Edgar Mitchell --00000000000013ef7d05d2405e85 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I talked too soon. This won't work, and I have no idea= why:=C2=A0

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\= setuplabeltext [en] [and-1=3D{{, }}, and-2=3D{{ and }}] =C2=A0 =C2=A0% Shou= ld be:=C2=A0 1, 2 and 3
\setuplabeltext [es] [and-1=3D{{, }}, and-2=3D{{= y }}] =C2=A0 =C2=A0% Should be: 1, 2 y 3
\setuplabeltext [de] [a= nd-1=3D{{, }}, and-2=3D{{ und }}] =C2=A0% Should be: 1, 2 und 3
<= br>\starttext
\commalistsentence[one,two,three,four] % works as expected=

\language[es]
\commalistsentence[uno,dos,tres,cuatro] % takes [e= n] settings

\language[de]
\commalistsentence[1,2,3,4] % takes [en= ] settings.=C2=A0
\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%

If I change=C2=A0\mainlanguage,=C2=A0the main= language is used in all three cases.=C2=A0

--
<= div dir=3D"ltr">
Andr=C3=A9s Conrado Montoya
A= ndi K=C3=BA
andresconrado@gmail.com
http://sesentaycuatro.com
----------------------------------------
Los fines no justifican los m= edios, porque la medida verdadera de nuestro car=C3=A1cter est=C3=A1 dada p= or los medios que estamos dispuestos a utilizar, no por los fines que procl= amamos.
----------------------------------------

=E2=80=9CYou deve= lop an instant global consciousness, a people orientation,=20 an intense dissatisfaction with the state of the world, and a compulsion to do something about it. From out there on the moon, international=20 politics look so petty. You want to grab a politician by the scruff of=20 the neck and drag him a quarter of a million miles out and say, =E2=80=98Lo= ok at that, you son of a bitch.=E2=80=99=E2=80=9D =E2=80=94 Apollo 14 astronaut = Edgar Mitchell

--00000000000013ef7d05d2405e85-- --===============2050137527028002772== 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== --===============2050137527028002772==--