On 3/19/2021 9:49 PM, denis.maier@ub.unibe.ch wrote:
Wow, Hans, that looks awesome. Thanks a lot. This is a nice example:
\setuplayout[tight] \usebodyfont[modern] \usebodyfont[pagella] \usebodyfont[ebgaramond] \usebodyfont[dejavu] % \enabletrackers[hyphenation.applied] \enabletrackers[hyphenation.applied.visualize] % \enabletrackers[hyphenation.applied.console] \startbuffer \samplefile{tufte} \blank {\hsize 4em \dorecurse{4}{x\discretionary{aa}{bb}{cc}x #1 }} \blank \stopbuffer \starttext \switchtobodyfont[modern] \getbuffer \switchtobodyfont[pagella] \getbuffer \switchtobodyfont[ebgaramond] \getbuffer \switchtobodyfont[dejavu] \getbuffer \stoptext When tex had constructed lines, there are so called discretionary nodes left; the pre part gets appended at the end of a line, the postpart injected at the start of the next one. Officially the discretionaries stay although in mkiv/lmtx we wipe them from the lines. In the example above you see 'red' glyphs that are the used pre part, 'blue' ones that are the (seldom used) post parts and the 'green' ones are replacement texts (used when there is no cross linebreak treatment needed). Maybe this helps you wikifying it ... Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------