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, oinos@gmx.es
Subject: Re: LTR footnotes from RTL paragraph
Date: Fri, 17 Dec 2021 09:02:36 +0000	[thread overview]
Message-ID: <8ee9d3233b614477a4b4b0420f920d6d@unibe.ch> (raw)
In-Reply-To: <af21c206-13db-6028-770d-67e5fc2fb2bb@gmx.es>

> -----Ursprüngliche Nachricht-----
> Von: ntg-context <ntg-context-bounces@ntg.nl> Im Auftrag von Pablo
> Rodriguez via ntg-context
> Gesendet: Donnerstag, 16. Dezember 2021 18:07
> An: Denis Maier via ntg-context <ntg-context@ntg.nl>
> Cc: Pablo Rodriguez <oinos@gmx.es>
> Betreff: Re: [NTG-context] LTR footnotes from RTL paragraph
> 
> 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).

Ah, I alway forget that. By the way, is there a way to append to setting instead of overriding it?

> 
> > Is it possible to change the text direction for single notes?
> 
> It doesn’t seem an option for \startfootnote. 

Yep, unlike other \startstops \startfootnote does not inherit key-values settings from the corresponding \setupX (I mean, it does of course inherit the settings, but you can't set them directly on \startfootnote.) Why is that? Is it due to the fact that note setups take place in two places? (\setupnote vs \setupnotation)?

> How about defining a new command?

Thanks for pointing me in that direction. That looks good.

> 
>   \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
> __________________________________________________________
> _________________________
___________________________________________________________________________________
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-17  9:02 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
2021-12-17  9:02     ` Denis Maier via ntg-context [this message]
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=8ee9d3233b614477a4b4b0420f920d6d@unibe.ch \
    --to=ntg-context@ntg.nl \
    --cc=denis.maier@unibe.ch \
    --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).