Closed PunctatorFortunatus closed 5 years ago
I think it's a "revival" of #80: could you please try to copy texmf-dist/scripts/lyluatex/lyluatex.lua
(in your texlive installation) to texmf-dist/tex/latex/lyluatex/
, then run mktexlsr
, then try again ?
Excellent, I now have a PDF output, but I still don't have warnings or error messages if I write rubbish or if the file doesn't exists. Also, in the above example, the ly
context yields no output after the \lily
command, but renders correctly if I place it before; I also tried lilypond
with the same result.
\lily{c'} %this renders correctly
\begin{ly}[]
\relative c' { c d e f } %this doesn't renders
\end{ly}
But if order is inverted both work correctly.
That's weird, I don't get this error. Could you check you're using last version of lyluatex
, and if so, give me more details about your platform, please ?
I'm using the version distributed in TeXLive 2017, via tlmgr
, on Ubuntu 16.04. Lilypond is 2.19.49.
Could you please try to replace lyluatex.lua
and lyluatex.sty
by the versions of this repository ? Or (easier, and won't touch your TeXLive installation) copy them in the same folder as your mwe ?
Yes, with the repo version it compiles fine, with this warning:
lyluatex.sty: Module lyluatex Warning: Found something incompatible with `fragment`(lyluatex) (or `relative`). Setting them to false.
lyluatex.sty: Module lyluatex Warning: Score with more than one system included inline.
But I still don't get a warning if file name is wrong in \includely
I still don't get a warning if file name is wrong in
\includely
.
Could you please give a mwe, as I don't really understand the exact issue ?
When I use \includely{wrong-file-name.ly}
no error or warning is passed. I don't know if this is normal, though.
Another weird thing: I can't reproduce that, at least with last version. With that mwe:
\documentclass{scrartcl}
\usepackage{lyluatex}
\begin{document}
\includely{wrong-file-name.ly}
\end{document}
I get this:
Module lyluatex Error: File wrong-file-name.ly doesn't exist. on input line 6
stack traceback:
[C]: in function 'error'
/usr/share/texlive/texmf-dist/tex/latex/base/ltluatex.lua:109: in function </u
sr/share/texlive/texmf-dist/tex/latex/base/ltluatex.lua:108>
(...tail calls...)
/usr/share/texlive/texmf-dist/scripts/lyluatex/lyluatex.lua:1136: in function
'file'
[\directlua]:1: in main chunk.
\ly@compilescore ... #1 ly.newpage_if_fullpage() }
\ly@resetunits \ly@page \l...
l.6 \includely{wrong-file-name.ly}
?
! Emergency stop.
@PunctatorFortunatus Is it OK for you now, so that I close this issue ?
I've just updated to TeXlive 2017, and through tlmgr, some packages were updated: kpathsea, polexpr and texlive-docindex. Lyluatex was installed with TeX distribution.
So far I'm failing to run this minimal example:
But only the lipsum paragraph is printed to the pdf. If I fill the ly environment, or any lilypond field with rubbish, I don't get any error message or warning, just the lipsum paragraph. This example is being edited in sublime text 3, and compiled with this command:
"command": ["latexmk", "-cd", "-e", "$pdflatex = 'lualatex -shell-escape -interaction=nonstopmode -synctex=1 %S %O'", "-f", "-pdf"],
If I try to compile from a terminal with
lualatex -shell-escape prueba_lyluatex.tex
I have the following output:And it waits there for some input, so If I hit
ctrl+c
this shows up:I hope this information is useful. Thanks in advance for any help. Regards, Víctor.