On 9/28/2021 2:57 AM, jbf via ntg-context wrote:
I may have seen a response to this at some stage in the list, but I cannot find it.
\- works for manual hyphenation in Mkiv but not (for me at least) in LMTX.
My general settingĀ is \setupalign [hz, nothyphenated,stretched,verytolerant] because I am typesetting a book for visually-impaired readers using Atkinson Hyperlegible, especially developed by the Braille Foundation. In general, hyphenation is not recommended for the visually-impaired, but just occasionally it becomes necessary.
Is there a reason for LMTX is not accepting \- or is there another way to achieve it in LMTX?
just a side effect of more control (in the engine) and therefore also in lmtx we can do something like this: \unprotect \def\v!explicit{explicit} \permanent\protected\def\doexplicithyphens{\hyphenationmode\bitwiseflip\hyphenationmode \explicithyphenationcode} \permanent\protected\def\noexplicithyphens{\hyphenationmode\bitwiseflip\hyphenationmode-\explicithyphenationcode} \defcsname\??aligncommand\v!explicit\endcsname{\toksapp\t_spac_align_collected{\nohyphens\doexplicithyphens}} \protect \starttext { \setupalign [hz,nothyphenated,stretched,verytolerant] \dorecurse{100}{test\-}test \par } { \setupalign [hz,explicit,stretched,verytolerant] \dorecurse{100}{test\-}test \par } \stoptext if we can agree on the keyword ... 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 -----------------------------------------------------------------