[XeTeX] Discretionary hyphens don't work in paragraphed footnotes

Philip Taylor P.Taylor at Rhul.Ac.Uk
Thu Oct 8 13:44:09 CEST 2015

Jonathan Kew wrote:

> Yes, it's very possible this is an engine bug. What would be most useful
> here, I think, would be a reduced (non-LaTeX!) test case demonstrating
> the underlying incorrect behaviour at the (Xe)TeX primitive level. Any
> takers?

Way beyond my abilities but I can demonstrate a probably-related
behaviour without using fontspec :

\font \mainfont =
\footnote{{\mainfont XXxxXX just a few normal words to fill up the line
  up to my word hy\-phe\-na\-te\-me please}}

This hyphenates after "hyphen", which it should not.  Package "footmisc"
does a great deal of \unhboxing; I wonder if it is losing the original
hyphenation points and then finding new ones ?

** Phil.

More information about the XeTeX mailing list