On Thu, May 26, 2016 at 09:05:37PM +0100, Arthur Reutenauer wrote: > >> \savinghyphcodes > > > > Interesting, where is it documented?
in etex_man.pdf, e.g. `texdoc etex`, section 3.10 > No idea, I think it comes from eTeX ultimately. I never looked into > it myself, but it gets mentioned from time to time (most recently on > this list by Petr Sojka a few weeks ago). the idea behind \savinghyphcodes is that character equivalence settings for given language expressed by \lccode mappings are saved and frozen in the format file. best, Petr > > How do you foresee an implementation for this? This has to be in the > > engine right? > > I haven???t given the implementation serious thought, but it has to be > in the engine, yes. As mentioned, we could have two additional > primitives \left and \rightgraphemehyphenmin, or (better in my opinion) > a primitive \usehyphenminsongraphemes (or whatever) that changes the > interpretation of \left and \righthyphenmin. But this is such a > specialised use case that I don???t think it???s worth the bother. The > differences are either minimal, or the languages for which they are > important use very simple hyphenation (this may change in the future, of > course). > > Best, > > Arthur
