jperon / lyluatex

Alternative à lilypond-book pour lualatex
MIT License
58 stars 12 forks source link

Fixing #80 creates a related bug #141

Closed uliska closed 6 years ago

uliska commented 6 years ago

6e0b20da250cd5bfc59e7db1962ff7c67ded8cff breaks most documents.

\documentclass{scrartcl}

\usepackage{lyluatex}
\begin{document}

\lilypond{ c' }

\end{document}

Causes this error:

(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty))[\directlua]:1:
 attempt to index global 'ly' (a boolean value)
stack traceback:
    [\directlua]:1: in main chunk.
l.85 }

? 

It's the same with \begin{lilypond}.

The test.tex file surprisingly compiles fine, I have no idea why.

jperon commented 6 years ago

That's weird, I couldn't reproduce it. Should be fixed anyway.