Hebrew uses maqaf as a hyphenation character, and I have to declare it if I want to use it instead of the usual hyphen. However, this declaration somehow makes certain words disappear in Hebrew when I use HarfTeX with LuaLaTeX. Please see my example below:

\babelfont[hebrew]{rm}[RawFeature={mode=harf},Script=Hebrew,Language=Default]{SBL Hebrew}
\exhyphenchar=`\־ % If I comments this out, the words are displayed correctly.






Missing words

KLUDGE: If I put the maqaf in slanted (doesn't have visible effect), it seems to circumvent the problem, but I assume there is a bug somewhere.

  • What is the problem if you don't change \exhyphenchar? Aug 23, 2020 at 19:07
  • @UlrikeFischer I need maqaf as a hyphen in my document, because otherwise I would get an ugly layout (and even more underfull hboxes). Aug 23, 2020 at 19:13
  • 1
    Marcel just pushed a fix to the luaotfload github. So with the next version it will work. Btw: the name of the binary is now luahbtex (and it is used by default by lualatex in a current tex system). And with a current fontspec you can use Renderer=Harfbuzz instead of the Rawfeature. Aug 23, 2020 at 19:31
  • @UlrikeFischer Thank you very much indeed your quick help, I really appreciate! Aug 23, 2020 at 19:34


You must log in to answer this question.

Browse other questions tagged .