From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113787 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Denis Maier via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: LTR footnotes from RTL paragraph Date: Thu, 16 Dec 2021 11:34:45 +0000 Message-ID: <91e182afb1fb4aaaa3b37311df699c0f@unibe.ch> References: <305442ccf422411198e074f2f13bbd85@unibe.ch> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1179988343443852113==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30454"; mail-complaints-to="usenet@ciao.gmane.io" Cc: denis.maier@unibe.ch To: Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 16 12:35:25 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 1mxp2j-0007hx-8O for gctc-ntg-context-518@m.gmane-mx.org; Thu, 16 Dec 2021 12:35:25 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 18E822A1BD5; Thu, 16 Dec 2021 12:34:55 +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 0hmljIk5Kbix; Thu, 16 Dec 2021 12:34:53 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 57C562A1995; Thu, 16 Dec 2021 12:34:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A4A9E2A1995 for ; Thu, 16 Dec 2021 12:34:51 +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 IPd-wT53Jt4t for ; Thu, 16 Dec 2021 12:34:47 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=130.92.0.83; helo=mailhub-lb2.unibe.ch; envelope-from=denis.maier@unibe.ch; receiver= Original-Received: from mailhub-lb2.unibe.ch (mailhub-lb2.unibe.ch [130.92.0.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id B5E0E2A1806 for ; Thu, 16 Dec 2021 12:34:47 +0100 (CET) X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-03.campus.unibe.ch [130.92.13.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb2.unibe.ch (Postfix) with ESMTPS id 617925002FC for ; Thu, 16 Dec 2021 12:34:46 +0100 (CET) Thread-Topic: LTR footnotes from RTL paragraph Thread-Index: AdfybN4ldGg7x50tRByIpqqohoBLnQAA7v/Q In-Reply-To: <305442ccf422411198e074f2f13bbd85@unibe.ch> Accept-Language: de-CH, en-US Content-Language: de-DE x-originating-ip: [172.18.72.2] 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:113787 Archived-At: --===============1179988343443852113== Content-Language: de-DE Content-Type: multipart/alternative; boundary="_000_91e182afb1fb4aaaa3b37311df699c0funibech_" --_000_91e182afb1fb4aaaa3b37311df699c0funibech_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Ok, this works: \setupnote[footnote][align=3Dl2r] Does that have any drawbacks? Is it possible to change the text direction for single notes ? Denis Von: ntg-context Im Auftrag von Denis Maier vi= a ntg-context Gesendet: Donnerstag, 16. Dezember 2021 12:09 An: ntg-context@ntg.nl Cc: Maier, Denis Christian (UB) Betreff: [NTG-context] LTR footnotes from RTL paragraph Hi Footnotes originating from an RTL paragraph will be also typeset in RTL mod= e as the following example illustrates: %%%%%%%%%%%%%%%%%%%%%% \setupdelimitedtext[blockquote] [leftmargin=3D1.5em,rightmargin=3D0em,] \definedelimitedtext[rtlblockquote] \setupdelimitedtext[rtlblockquote] [leftmargin=3D0em,rightmargin=3D1.5em,before=3D{\righttolef= t}] \starttext \input knuth \startblockquote \input knuth\footnote{this starts on the left.} \stopblockquote \startrtlblockquote \input knuth\footnote{this should start on the left, but it doesn't.} \stoprtlblockquote \input knuth \stoptext %%%%%%%%%%%%%%%%%%%%%%%% According to the wiki, that's the expected behaviour (https://wiki.contextg= arden.net/RTL#Footnotes). However, I'd prefer to keep the footnotes as LTR footnotes. Can I convince = ConTeXt to typeset these footnotes in LTR mode? Best, Denis --_000_91e182afb1fb4aaaa3b37311df699c0funibech_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Ok, this works:

 

\setupnote[footnote][align=3Dl2= r]

 

Does that have any drawbacks?

 

Is it possible to change the te= xt direction for single notes ?

 

Denis

 

 

Von: ntg-context <ntg-context-bounces@ntg.nl> Im Auftrag von Denis Maier via ntg-context
Gesendet: Donnerstag, 16. Dezember 2021 12:09
An: ntg-context@ntg.nl
Cc: Maier, Denis Christian (UB) <denis.maier@unibe.ch>
Betreff: [NTG-context] LTR footnotes from RTL paragraph

 

Hi

 

Footnotes originating from an RTL paragraph will be = also typeset in RTL mode as the following example illustrates:

 

%%%%%%%%%%%%%%%%%%%%%%

\setupdelimitedtext[blockquote]

        &nbs= p;       [leftmargin=3D1.5em,rightmargin=3D0e= m,]

        &nbs= p;      

\definedelimitedtext[rtlblockquote]

\setupdelimitedtext[rtlblockquote]

        &nbs= p;       [leftmargin=3D0em,rightmargin=3D1.5e= m,before=3D{\righttoleft}]

 

 

\starttext

 

\input knuth

 

\startblockquote

\input knuth\footnote{this starts on the left.}=

\stopblockquote

 

\startrtlblockquote

\input knuth\footnote{this should start on the left,= but it doesn't.}

\stoprtlblockquote

 

\input knuth

 

\stoptext

%%%%%%%%%%%%%%%%%%%%%%%%

 

According to the wiki, that’s the expected beh= aviour (https://wi= ki.contextgarden.net/RTL#Footnotes).

However, I’d prefer to ke= ep the footnotes as LTR footnotes. Can I convince ConTeXt to typeset these = footnotes in LTR mode?

 

Best,

Denis

--_000_91e182afb1fb4aaaa3b37311df699c0funibech_-- --===============1179988343443852113== 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== --===============1179988343443852113==--