ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez via ntg-context <ntg-context@ntg.nl>
To: Denis Maier via ntg-context <ntg-context@ntg.nl>
Cc: Pablo Rodriguez <oinos@gmx.es>
Subject: Re: LTR footnotes from RTL paragraph
Date: Thu, 16 Dec 2021 18:06:39 +0100	[thread overview]
Message-ID: <af21c206-13db-6028-770d-67e5fc2fb2bb@gmx.es> (raw)
In-Reply-To: <91e182afb1fb4aaaa3b37311df699c0f@unibe.ch>

On 12/16/21 12:34 PM, Denis Maier via ntg-context wrote:
> Ok, this works:
>
> \setupnote[footnote][align=l2r]
>
> Does that have any drawbacks?

Hi Denis,

I don’t think it may have (other than forgetting other options, such as
hz or hanging).

> Is it possible to change the text direction for single notes?

It doesn’t seem an option for \startfootnote. How about defining a new
command?

  \definedelimitedtext[rtlblockquote][before={\righttoleft}]
  \definenote[otnote][footnote]
  \setupnote[otnote][align=l2r]
  \starttext
  \input zapf
  \startblockquote
  \input zapf\footnote{this starts on the left.}
  \stopblockquote
  \startrtlblockquote
  \input zapf\footnote{this should start on the left.}
  \input zapf\otnote{this should start on the left.}
  \stoprtlblockquote
  \input zapf
  \stoptext

Just in case it might help,

Pablo
___________________________________________________________________________________
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 17:06 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
2021-12-16 17:06   ` Pablo Rodriguez via ntg-context [this message]
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=af21c206-13db-6028-770d-67e5fc2fb2bb@gmx.es \
    --to=ntg-context@ntg.nl \
    --cc=oinos@gmx.es \
    /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).