ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "talazem@fastmail.fm" <talazem@fastmail.fm>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: footnotes when using RtL (Arabic)
Date: Thu, 30 Jul 2015 19:17:57 +0100	[thread overview]
Message-ID: <19A9BA9B-076D-43E9-840B-E39FB06A7164@fastmail.fm> (raw)
In-Reply-To: <55BA64EF.3040701@gmail.com>


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

Indeed, that seems to do the trick, Wolfgang.

> On 30 Jul 2015, at 18:54, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
> 
>> Pablo Rodriguez <mailto:oinos@gmx.es>	30. Juli 2015 16:26
>> 
>> I wonder whether there is a bug somewhere in notes, because you may have
>> r2l notations, but the notes paragraph is built l2r:
>> 
>> \setuppapersize[A6]
>> \starttext \showframe
>> 
>> \definenote[afootnote][rule={on,right}, paragraph=yes]
>> \definenotation[afootnote][align=r2l]
>> 
>> \startalignment[r2l]
>> Testing.\afootnote{This is footnote one.}
>> Testing testing.\afootnote{This is footnote two.}
>> Testing testing testing.\afootnote{This is footnote three.}
>> \stopalignment
>> 
>> \stoptext
> Can you test the following patch.
> 
> \unprotect
> 
> \def\strc_notes_flush_global
>   {\begingroup
>    \useinterlinespaceparameter\noteparameter
>    \doifelse{\noteparameter\c!paragraph}\v!yes
>      {%\vbox\starthboxestohbox
>       \vbox\ifconditional\displaylefttoright \else dir TRT \fi\starthboxestohbox
>         \iftrialtypesetting\unvcopy\else\unvbox\fi\currentnoteinsertionnumber
>       \stophboxestohbox}
>      {\iftrialtypesetting\unvcopied\else\unvboxed\fi\currentnoteinsertionnumber}%
>    \endgroup}
> 
> \protect
> 
> %\setupalign[righttoleft]
> 
> \setupnote[footnote][paragraph=yes,align=righttoleft]
> \setupnotation[footnote][align=righttoleft]
> 
> \showframe
> 
> \starttext
> 
> First note.\footnote{This is the first footnote.}
> Second note.\footnote{This is the second footnote.}
> 
> \stoptext
> 
> Wolfgang
> ___________________________________________________________________________________
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 4632 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2015-07-30 18:17 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-21 19:56 talazem
2015-07-30 13:00 ` talazem
2015-07-30 14:26   ` Pablo Rodriguez
2015-07-30 14:43     ` talazem
2015-07-30 15:08       ` Pablo Rodriguez
2015-07-30 17:54     ` Wolfgang Schuster
2015-07-30 18:15       ` Idris Samawi Hamid ادريس سماوي حامد
2015-07-30 18:17       ` talazem [this message]
2015-07-30 18:18       ` Pablo Rodriguez
2015-07-30 18:37       ` talazem
2015-07-30 19:04         ` Wolfgang Schuster
2015-07-30 23:51           ` talazem
2015-07-31  8:39             ` Hans Hagen
2015-07-31 11:07               ` talazem
2015-07-31 12:05                 ` Idris Samawi Hamid ادريس سماوي حامد
2015-07-31 14:47                 ` Hans Hagen
2015-08-01 22:36                 ` talazem
2015-08-02  7:52                   ` Pablo Rodriguez
2015-08-02  9:20                     ` talazem
2015-08-02 10:02                       ` talazem
2015-08-02 10:47                         ` Pablo Rodriguez
2015-08-02 11:09                           ` talazem
2015-08-02 11:11                           ` Pablo Rodriguez
2015-08-03 19:14                             ` talazem
  -- strict thread matches above, loose matches on Subject: below --
2010-10-05 12:48 Talal Al-Azem
2010-10-05 13:28 ` Wolfgang Schuster
2010-10-05 14:18   ` Talal Al-Azem
2010-10-05 14:53     ` Khaled Hosny
2010-10-05 15:07     ` Wolfgang Schuster
2010-10-05 15:18       ` Talal Al-Azem
2010-10-05 15:25       ` Hans Hagen
2010-10-05 15:55         ` Talal Al-Azem
2010-10-05 16:20           ` Hans Hagen
2010-10-05 21:19   ` Hans Hagen
2010-10-05 21:50     ` Talal Al-Azem

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=19A9BA9B-076D-43E9-840B-E39FB06A7164@fastmail.fm \
    --to=talazem@fastmail.fm \
    --cc=ntg-context@ntg.nl \
    /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).