ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Denis Maier via ntg-context <ntg-context@ntg.nl>
To: <ntg-context@ntg.nl>
Cc: denis.maier@unibe.ch
Subject: Re: LTR footnotes from RTL paragraph
Date: Thu, 16 Dec 2021 11:34:45 +0000	[thread overview]
Message-ID: <91e182afb1fb4aaaa3b37311df699c0f@unibe.ch> (raw)
In-Reply-To: <305442ccf422411198e074f2f13bbd85@unibe.ch>


[-- Attachment #1.1: Type: text/plain, Size: 1354 bytes --]

Ok, this works:

\setupnote[footnote][align=l2r]

Does that have any drawbacks?

Is it possible to change the text 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]
                [leftmargin=1.5em,rightmargin=0em,]

\definedelimitedtext[rtlblockquote]
\setupdelimitedtext[rtlblockquote]
                [leftmargin=0em,rightmargin=1.5em,before={\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 behaviour (https://wiki.contextgarden.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

[-- Attachment #1.2: Type: text/html, Size: 5595 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
___________________________________________________________________________________

  reply	other threads:[~2021-12-16 11:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-16 11:08 Denis Maier via ntg-context
2021-12-16 11:34 ` Denis Maier via ntg-context [this message]
2021-12-16 17:06   ` Pablo Rodriguez via ntg-context
2021-12-17  9:02     ` Denis Maier via ntg-context
2021-12-17 11:23       ` Hans Hagen via ntg-context
2021-12-21  9:02         ` Denis Maier via ntg-context
2021-12-24 12:13           ` Hans Hagen via ntg-context
2021-12-24 12:22             ` Denis Maier via ntg-context
2022-01-12 20:57         ` Denis Maier via ntg-context
2022-01-12 23:25           ` Hans Hagen via ntg-context

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=91e182afb1fb4aaaa3b37311df699c0f@unibe.ch \
    --to=ntg-context@ntg.nl \
    --cc=denis.maier@unibe.ch \
    /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).