1

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}

This question from early 2018 is the only reference I found about this issue.

Are there any updates on this? LuaTeX 1.08 got released about a month ago, how can I check if this has been reported or fixed? Thanks!

  • It works with with luatex 1.09, Development id: 6930 and luaotfload 2.9. – Ulrike Fischer Sep 26 '18 at 7:28
  • @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
  • @undostres If you are using a x86-64 system, you can use my LuaTeX development repo for TeX Live. Instructions are on the GitHub page: github.com/hmenke/texlive-luatex-dev – Henri Menke Dec 24 '18 at 8:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.