On 07/30/2015 07:54 PM, Wolfgang Schuster wrote:
Pablo Rodriguez 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: [...] Can you test the following patch.
Hi Wolfgang, your patch works fine with both samples. What I wonder is wheter \setupnote and \setupnototation should inherit the property from \setupalign[r2l] or from the alignment in the body position where they are inserted. Pablo
\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 ___________________________________________________________________________________