[luatex] luatex and minted

luigi scarso luigi.scarso at gmail.com
Sun Nov 8 00:08:57 CET 2020


On Sat, Nov 7, 2020 at 7:40 PM Robert Alessi <alessi at robertalessi.net>
wrote:

> Dear all,
>
> I have no idea why the following all of a sudden fails to compile with
> lualatex (I run an up-to-date texlive 2020):
>
> --------------------snip--------------------
> \documentclass{article}
>
> \usepackage{minted}
>
> \begin{document}
>
> \begin{minted}{latex}
>    a-'
> \end{minted}
>
> \end{document}
> --------------------snip--------------------
>
> Remarks:
> --------
>
> 1. The error message I get:
> (./_minted-test/C1B3C74AA35F87A14838FF588F40D6B6715769D21B52E45A
> A7CE8C545C6279BA.pygtexlualatex:
> ../../../texk/web2c/luatexdir/lang/texlang.c:986: hnj_hyphenation:
> Assertion `(((varmem[(wordstart)].hh.u.B1) & (1 << 0)) &&
> !((varmem[(wordstart)].hh.u.B1) & (1 << 1) ) &&
> !((varmem[(wordstart)].hh.u.B1) & (1 << 2) ))' failed.
>
> 2. If I remove the straight single quotation mark so as to write a-
>    instead of a-' it passes.
>
> 3. xelatex and pdflatex work on this file.
>
> 4. I tried lualatex-dev --shell-escape but no avail.
>
> Any ideas would be much appreciated!
>
> Best,
>
> Robert
>
>
It's the same problem as in
Assertion from texlang.c with reproducible example
<https://tug.org/pipermail/luatex/2020-November/007424.html>

( the hyphenation expects a simple word, but
the word doesn't start with a character.)
For the moment I will make a better error message.


-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/luatex/attachments/20201108/52af0b07/attachment.html>


More information about the luatex mailing list.