lyluatex icon indicating copy to clipboard operation
lyluatex copied to clipboard

Doctoral Thesis in musicology

Open andregaby opened this issue 3 years ago • 3 comments

I've tried everything to make lyluatex works, but it isn't. I'm using a MacBook Pro M1 pro with texstudio. I've installed lyluatex with miktex, installed Lillypond 2.18.2 64 bits. Lilypond works very well with Frescobaldi.

Texstudio does return any error in compilation. I'm using Lualatex for compile. If it works, could be the solution about musical examples on my thesis, because I'm writing with Latex.

If you could help me, I will thank you a lot!

andregaby avatar Jan 19 '22 22:01 andregaby

Sorry for the delay of my reply. Lyluatex has some issues with miktex I didn't manage to fix yet ; it's tested and working on TeXLive. I'll have a look again at miktex ASAP, but I fear it won't be as soon as I'd like it !

jperon avatar Feb 16 '22 18:02 jperon

Thanks for your answer.

I did, made work. But now I've found another problem. The log error :

Module lyluatex Warning: Found something incompatible with fragment(lyluatex) (orrelative`). Setting them to false. (lyluatex) on input line 320 Module lyluatex Info: Compiling score tmp-ly/f62b9f1baedf043e0d38e28fb76bb256 wi th LilyPond executable '/opt/homebrew/Cellar/lilypond/2.22.1_1/libexec/lilypond' . on input line 320 ...exlive/2021/texmf-dist/scripts/lyluatex/lyluatex-lib.lua:159: bad argument #1 to 'rawget' (table expected, got nil) stack traceback: [C]: in function 'rawget' ...exlive/2021/texmf-dist/scripts/lyluatex/lyluatex-lib.lua:159: in metamethod '__index' ./lyluatex.lua:814: in method 'lilypond_cmd' ./lyluatex.lua:1126: in method 'run_lilypond' ./lyluatex.lua:1090: in method 'process' [\directlua]:1: in main chunk. \ly@compilescore ...directlua {ly.score:process()}

l.320 ...ypondfile{/ExemplosMusicais/Asperges-me.ly}

The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored.`

I've installed the new versions of everything (lilypond, lyluatex), and again didn't work. Could you help me?

andregaby avatar Feb 18 '22 23:02 andregaby

Sure. It would be really helpful if you could send me a MWE (the shortest document which gives this error). The best way is to copy/paste it here, using the verbatim symbols of Markdown as follows :

\documentclass{scrartcl}
\usepackage{lyluatex}

\begin{document}
\lilypond{a b c}
\end{document}

If you can't narrow things down to a MWE, please send me the whole document, so I can try to reproduce the issue.

jperon avatar Feb 19 '22 09:02 jperon