# Compound word hyphenation problem (bug?) with LuaTeX 1.07.0 (TeX Live 2018)

EDIT 2019/05/07:

In LuaTeX 1.10.0 included in TeX Live 2019 compound word hyphenation works as expected.

As stated in this answer from 2014 and this one from 2016, LuaTeX should allow arbitrary hyphenation points for compound words already separated by hyphens through:

\hyphenation{short=tem-pered}


I'm using LuaTeX version 1.07.0 included in TeX Live 2018 and this command isn't working (though it seemed to work in earlier LuaTeX versions).

MWE:

\documentclass{article}

\usepackage{polyglossia}
\usepackage{fontspec}
\usepackage{showhyphens}

\setmainlanguage{spanish}
\setotherlanguage{english}

\begin{document}

\hyphenation{cos-te=be-ne-fi-cio s-ib-a-rit-a}
%                  ^
%                  Should allow hyphenation for contiguous words

\textenglish{Equal sign hyphenation is not working:}

\parbox{0pt}{Coste-beneficio}

\parbox{0pt}{Coste}

\parbox{0pt}{Beneficio}

\textenglish{Silly example of (wrong) manual hyphenation, which works:}

\parbox{0pt}{Sibarita}

\end{document}


• @UlrikeFischer Good! Will not stumble upon this issue in the future. Thank you. Is there a way to try out a recent version of LuaTeX for a TeX Live 2018 installation (through install-tl-unx.tar.gz) in a GNU/Linux system? – undostres Sep 28 '18 at 0:33