On 1/7/2026 12:26 PM, Taco Hoekwater wrote:
On 7 Jan 2026, at 11:36, Hans Hagen via ntg-context <[email protected]> wrote:
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.
Not just Hraban, this feature is quite amazing. I can easily imagine how messy
this is behind the scenes. Since you are doing near impossible things anyway,
how about the next challenge: can you make the parinject inserts cross
paragraph boundaries, please? :)
oh a new challenge .. not impossible if we keep state but then we also
need to prevent breaking at that pointswhich is more tricky
as you script your workflow a \hfill\localbreakpar could work out if you
intercept the empty line
\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}
\space
\rightparinsert
[distance=2em,lines=3]
{\mirror{\externalfigure[cow.pdf][height=3lh,location=top]}}%
\space
a bit of text so that we end up on a next line so some more text is needed
\hfill\localbreakpar
\samplefile{tufte}
Best wishes,
Taco
—
Taco Hoekwater E: [email protected]
genderfluid (all pronouns)
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________