Dear list, I have the following sample:
\startluacode function document.addfunnyhyphen(tfmdata) local underscore = utf.byte("_") local char = tfmdata.characters[underscore] tfmdata.characters[0xFE000] = { width = 0, height = 0, depth = 0, commands = { { "right", -char.width }, { "down", char.depth }, { "slot", 1, underscore }, } } end utilities.sequencers.appendaction("aftercopyingcharacters","after", "document.addfunnyhyphen") \stopluacode \definehyphenationfeatures [whatever] [righthyphenchar="FE000] \setuphyphenation[method=traditional] \sethyphenationfeatures[strict, whatever] \setuppapersize[A10, lanscape] \starttext \startmakeup[standard] \hsize\zeropoint \tt definebodyfont \stopmakeup \stoptext I get the underscore hyphenation with latest ConTeXt beta (LuaTeX-1.10), but not with latest LMTX (LuaTeX-2.0). Am I missing something here? Many thanks for your help, Pablo -- http://www.ousia.tk ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________