Hi Wolfgang,
On Sun, 11 Jan 2026 at 20:31, Wolfgang Schuster
<[email protected]> wrote:
>
>
>
> Am 07.01.2026 um 11:36 schrieb Hans Hagen via ntg-context:
> > Hi,
> >
> > The latest upload has:
> >
> > - a few fixed cf posts around 2025/2026 crossover
> >
> > - a new parinject feature, that Hraban likely will abuse, see https://
> > tex.stackexchange.com/a/758011/52406 for the rationale and an
> > explanation / example by Mikael.
> >
> > - a new (experimental) tabulate preamble key 'P' that is mostly 'p'
> > compatible but uses a different split paragraphs across page approach;
> > it is a side effect of upgrading the alignment mechanism in luametatex
> > in addition to already present extensions
> >
> > - we also now enabled shaping penalties thatwas already enabled in my
> > local cont-exp for a while for testing interferences; it prevents breaks
> > inside shapes and hang (unless configured otherwise)
> >
> > - a few improvements in \column uses in column sets but we're working on
> > making that more relable (not that trivial)
> >
> > - gaelic language and patterns (more work needed there)
> >
> > - a bit more documentation here and there (there is some more pending)
> >
> > Hans
> >
> > % another example, one of our tests
> >
> > %\enabletrackers[parinsert]
> >
> > \setupexternalfigures
> > [location={global,local,default}]
> >
> > \starttext
> >
> > \samplefile{tufte}%
> > \space\leftparinsert[color=darkred]{An example.}\space
> > \samplefile{ward}%
> > \space\rightparinsert[color=darkgreen]{Another example.}\space
> > \samplefile{tufte}
> >
> > \page
> >
> > \samplefile{tufte}%
> > \space
> > \leftparinsert
> > [lines=3]
> > {\externalfigure[cow.pdf][height=3lh,location=top]}%
> > \rightparinsert
> > [lines=4]
> > {\mirror{\externalfigure[cow.pdf][height=4lh,location=top]}}%
> > \space
> > \samplefile{ward}%
> > \space
> > \rightparinsert
> > [distance=2em,lines=2]
> > {\mirror{\externalfigure[cow.pdf][height=2lh,location=top]}}%
> > \space
> > \samplefile{tufte}
> >
> > \stoptext
>
>
> The new mechanism produces wrong result for right to left paragraphs
> (page 2) and narrow paragraphs (page 3):
>
> \setuppapersize[A4][A3]
> \setuplayout[location=middle]
>
> \showframe
>
> \startbuffer
> \samplefile{lorem}
> \leftparinsert
> [lines=3]{\blackrule[color=red,width=2cm,height=1sh,depth=1sd+2lh]}
> \samplefile{lorem}
>
> \rightparinsert[lines=3]{\blackrule[color=red,width=2cm,height=1sh,depth=1sd+2lh]}
> \samplefile{lorem}
> \stopbuffer
Try
\startbuffer
\samplefile{lorem}
\leftparinsert
[lines=3,xoffset=\leftskip]{\blackrule[color=red,width=2cm,height=1sh,depth=1sd+2lh]}
\samplefile{lorem}
\rightparinsert[lines=3,xoffset=-\rightskip]{\blackrule[color=red,width=2cm,height=1sh,depth=1sd+2lh]}
\samplefile{lorem}
\stopbuffer
>
> \starttext
>
> \title{Default text direction}
>
> \getbuffer
>
> \title{Reverse text direction}
>
> \startalignment[r2l]
> \getbuffer
> \stopalignment
This one works here with the alternative approach that Hans added
today (not uploaded yet).
/Mikael
>
> \title{Narrow paragraphs}
>
> \startnarrower
> \getbuffer
> \stopnarrower
>
> \stoptext
>
> Wolfgang
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the
> Wiki!
>
> maillist : [email protected] /
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________