# [tex-hyphen] String preparation

Arthur Reutenauer arthur.reutenauer at normalesup.org
Thu May 26 22:05:37 CEST 2016

>> \savinghyphcodes
>
> Interesting, where is it documented?

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).

> 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