Lyluatex

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Lyluatex

foxfanfare
Hi all,

I'm beginning my first steps in the world of LaTeX and I'm currently trying
to figure out how Lyluatex works. I'm using TeX Live (and TeXworks for
editing) on Windows.

I made this simple document:

\documentclass{article}
\usepackage{lyluatex}
\begin{document}
Bonjour, j'\'edite en \LaTeX!

\begin{lilypond}
\relative c' { c d e f g a b c }
\end{lilypond}

\end{document}

But when I compile it (either via TeXworks or with the command "lualatex
-shell-escape DOCUMENT.TEX", I get this in the console:

This is LuaTeX, Version 1.07.0 (TeX Live 2018/W32TeX)
 system commands enabled.
(./test.tex
LaTeX2e <2018-04-01> patch level 5
(using cache: C:/texlive/2018/texmf-var/luatex-cache/generic)
luaotfload | main : initialization completed in 0.502 seconds
(c:/texlive/2018/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(c:/texlive/2018/texmf-dist/tex/latex/base/size10.clo(load luc:
C:/texlive/2018
/texmf-var/luatex-cache/generic/fonts/otl/lmroman10-regular.luc)))
(c:/texlive/2018/texmf-dist/tex/luatex/lyluatex/lyluatex.sty
(c:/texlive/2018/texmf-dist/tex/luatex/luatexbase/luatexbase.sty
(c:/texlive/2018/texmf-dist/tex/luatex/ctablestack/ctablestack.sty))
(c:/texlive/2018/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(c:/texlive/2018/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(c:/texlive/2018/texmf-dist/tex/generic/xkeyval/xkvutils.tex
(c:/texlive/2018/texmf-dist/tex/generic/xkeyval/keyval.tex))))
(c:/texlive/2018/texmf-dist/tex/latex/graphics/graphicx.sty
(c:/texlive/2018/texmf-dist/tex/latex/graphics/graphics.sty
(c:/texlive/2018/texmf-dist/tex/latex/graphics/trig.sty)
(c:/texlive/2018/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(c:/texlive/2018/texmf-dist/tex/latex/graphics-def/luatex.def)))
(c:/texlive/2018/texmf-dist/tex/latex/minibox/minibox.sty
(c:/texlive/2018/texmf-dist/tex/latex/l3kernel/expl3.sty
(c:/texlive/2018/texmf-dist/tex/latex/l3kernel/expl3-code.tex)
(c:/texlive/2018/texmf-dist/tex/latex/l3kernel/l3pdfmode.def)))
(c:/texlive/2018/texmf-dist/tex/latex/environ/environ.sty
(c:/texlive/2018/texmf-dist/tex/latex/trimspaces/trimspaces.sty))
(c:/texlive/2018/texmf-dist/tex/latex/currfile/currfile.sty
(c:/texlive/2018/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(c:/texlive/2018/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(c:/texlive/2018/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(c:/texlive/2018/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(c:/texlive/2018/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(c:/texlive/2018/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(c:/texlive/2018/texmf-dist/tex/latex/filehook/filehook.sty))
(c:/texlive/2018/texmf-dist/tex/latex/pdfpages/pdfpages.sty
(c:/texlive/2018/texmf-dist/tex/latex/base/ifthen.sty)
(c:/texlive/2018/texmf-dist/tex/latex/tools/calc.sty)
(c:/texlive/2018/texmf-dist/tex/latex/eso-pic/eso-pic.sty
(c:/texlive/2018/texmf-dist/tex/generic/oberdiek/atbegshi.sty
(c:/texlive/2018/texmf-dist/tex/generic/oberdiek/ifpdf.sty))
(c:/texlive/2018/texmf-dist/tex/latex/xcolor/xcolor.sty
(c:/texlive/2018/texmf-dist/tex/latex/graphics-cfg/color.cfg)))
(c:/texlive/2018/texmf-dist/tex/latex/pdfpages/ppluatex.def))
(c:/texlive/2018/texmf-dist/tex/latex/metalogo/metalogo.sty
(c:/texlive/2018/texmf-dist/tex/generic/ifxetex/ifxetex.sty))) (./test.aux)
(c:/texlive/2018/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (c:/texlive/2018/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(c:/texlive/2018/texmf-dist/tex/latex/oberdiek/grfext.sty
(c:/texlive/2018/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))
(c:/texlive/2018/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty)
(c:/texlive/2018/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
(c:/texlive/2018/texmf-dist/tex/latex/oberdiek/pdflscape.sty
(c:/texlive/2018/texmf-dist/tex/latex/graphics/lscape.sty))(load luc:
C:/texliv
e/2018/texmf-var/luatex-cache/generic/fonts/otl/lmroman7-regular.luc)(load
luc:

C:/texlive/2018/texmf-var/luatex-cache/generic/fonts/otl/lmsans10-regular.luc)
(load luc:
C:/texlive/2018/texmf-var/luatex-cache/generic/fonts/otl/lmmono10-re
gular.luc)'lilypond' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
c:/texlive/2018/texmf-dist/tex/latex/base/ltluatex.lua:109:
Module lyluatex Error: LilyPond could not be started.
(lyluatex)             Please check that LuaLaTeX is started with the
(lyluatex)             --shell-escape option, and that 'program'
(lyluatex)             points to a valid LilyPond executable.
(lyluatex)             on input line 8

stack traceback:
        [C]: in function 'error'
        c:/texlive/2018/texmf-dist/tex/latex/base/ltluatex.lua:109: in
function <c:/te
xlive/2018/texmf-dist/tex/latex/base/ltluatex.lua:108>
        (...tail calls...)
        c:/texlive/2018/texmf-dist/scripts/lyluatex/lyluatex.lua:898: in
function 'lil
ypond_version'
        c:/texlive/2018/texmf-dist/scripts/lyluatex/lyluatex.lua:1113: in
function 'ru
n_lilypond'
        c:/texlive/2018/texmf-dist/scripts/lyluatex/lyluatex.lua:1094: in
function 'pr
ocess'
        [\directlua]:1: in main chunk.
\ly@compilescore ...directlua {ly.score:process()}

l.8 \end{lilypond}

?

I don't understand why. I also tried to change :
\usepackage[program=C:/Program Files
(x86)/LilyPond/usr/bin/lilypond.exe]{lyluatex} but this didn't solve the
problem.

Could someone please point me in the right direction to make it work?
Thanks!



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Lyluatex

Urs Liska-3


Am 18.09.2018 um 15:56 schrieb foxfanfare:

> Hi all,
>
> I'm beginning my first steps in the world of LaTeX and I'm currently trying
> to figure out how Lyluatex works. I'm using TeX Live (and TeXworks for
> editing) on Windows.
>
> I made this simple document:
>
> \documentclass{article}
> \usepackage{lyluatex}
> \begin{document}
> Bonjour, j'\'edite en \LaTeX!
>
> \begin{lilypond}
> \relative c' { c d e f g a b c }
> \end{lilypond}
>
> \end{document}
>
> But when I compile it (either via TeXworks or with the command "lualatex
> -shell-escape DOCUMENT.TEX", I get this in the console:

Did you correctly quote that here? I see -shell-escape instead of
--shell-escape.

>
> This is LuaTeX, Version 1.07.0 (TeX Live 2018/W32TeX)
>   system commands enabled.
> ...
>
> c:/texlive/2018/texmf-dist/tex/latex/base/ltluatex.lua:109:
> Module lyluatex Error: LilyPond could not be started.
> (lyluatex)             Please check that LuaLaTeX is started with the
> (lyluatex)             --shell-escape option, and that 'program'
> (lyluatex)             points to a valid LilyPond executable.
> (lyluatex)             on input line 8
>
> ...
>
>
> I don't understand why. I also tried to change :
> \usepackage[program=C:/Program Files
> (x86)/LilyPond/usr/bin/lilypond.exe]{lyluatex} but this didn't solve the
> problem.

I'm not sure about the behaviour on Windows, but I'd assume you have to
wrap a path that includes spaces in curly brackets:

   [program={C:/Program Files (x86)/LilyPond/usr/bin/lilypond.exe}]

> Could someone please point me in the right direction to make it work?

Is that the right direction?

HTH
Urs

> Thanks!
>
>
>
> --
> Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
>
> _______________________________________________
> lilypond-user mailing list
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/lilypond-user


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Lyluatex

Malte Meyn-3
In reply to this post by foxfanfare


Am 18.09.18 um 15:56 schrieb foxfanfare:
> Bonjour, j'\'edite en \LaTeX!

I think that Urs’s answer could be the right direction and sadly cannot
help further. But as you’re a LaTeX novice here is an off-topic hint:
Since you use LuaLaTeX you can use utf8 characters in input. So you can
write j’édite insted of j'\'edite ;)

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Lyluatex

foxfanfare
In reply to this post by Urs Liska-3
Urs Liska-3 wrote
> Did you correctly quote that here? I see -shell-escape instead of
> --shell-escape.

Hi Urs,
Actually, I just copied what was written in the GitHub documentation:
https://github.com/jperon/lyluatex

I tried with the -- and also with
\usepackage[program={C:/Program Files
(x86)/LilyPond/usr/bin/lilypond-windows.exe}]{lyluatex}, and yet again:

D:\tex>lualatex --shell-escape test.tex
This is LuaTeX, Version 1.07.0 (TeX Live 2018/W32TeX)
 system commands enabled.
(./test.tex
LaTeX2e <2018-04-01> patch level 5
(using cache: C:/texlive/2018/texmf-var/luatex-cache/generic)
luaotfload | main : initialization completed in 0.263 seconds
(c:/texlive/2018/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(c:/texlive/2018/texmf-dist/tex/latex/base/size10.clo(load luc:
C:/texlive/2018
/texmf-var/luatex-cache/generic/fonts/otl/lmroman10-regular.luc)))
(c:/texlive/2018/texmf-dist/tex/luatex/lyluatex/lyluatex.sty
(c:/texlive/2018/texmf-dist/tex/luatex/luatexbase/luatexbase.sty
(c:/texlive/2018/texmf-dist/tex/luatex/ctablestack/ctablestack.sty))
(c:/texlive/2018/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(c:/texlive/2018/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(c:/texlive/2018/texmf-dist/tex/generic/xkeyval/xkvutils.tex
(c:/texlive/2018/texmf-dist/tex/generic/xkeyval/keyval.tex))))
(c:/texlive/2018/texmf-dist/tex/latex/graphics/graphicx.sty
(c:/texlive/2018/texmf-dist/tex/latex/graphics/graphics.sty
(c:/texlive/2018/texmf-dist/tex/latex/graphics/trig.sty)
(c:/texlive/2018/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(c:/texlive/2018/texmf-dist/tex/latex/graphics-def/luatex.def)))
(c:/texlive/2018/texmf-dist/tex/latex/minibox/minibox.sty
(c:/texlive/2018/texmf-dist/tex/latex/l3kernel/expl3.sty
(c:/texlive/2018/texmf-dist/tex/latex/l3kernel/expl3-code.tex)
(c:/texlive/2018/texmf-dist/tex/latex/l3kernel/l3pdfmode.def)))
(c:/texlive/2018/texmf-dist/tex/latex/environ/environ.sty
(c:/texlive/2018/texmf-dist/tex/latex/trimspaces/trimspaces.sty))
(c:/texlive/2018/texmf-dist/tex/latex/currfile/currfile.sty
(c:/texlive/2018/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(c:/texlive/2018/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(c:/texlive/2018/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(c:/texlive/2018/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(c:/texlive/2018/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(c:/texlive/2018/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(c:/texlive/2018/texmf-dist/tex/latex/filehook/filehook.sty))
(c:/texlive/2018/texmf-dist/tex/latex/pdfpages/pdfpages.sty
(c:/texlive/2018/texmf-dist/tex/latex/base/ifthen.sty)
(c:/texlive/2018/texmf-dist/tex/latex/tools/calc.sty)
(c:/texlive/2018/texmf-dist/tex/latex/eso-pic/eso-pic.sty
(c:/texlive/2018/texmf-dist/tex/generic/oberdiek/atbegshi.sty
(c:/texlive/2018/texmf-dist/tex/generic/oberdiek/ifpdf.sty))
(c:/texlive/2018/texmf-dist/tex/latex/xcolor/xcolor.sty
(c:/texlive/2018/texmf-dist/tex/latex/graphics-cfg/color.cfg)))
(c:/texlive/2018/texmf-dist/tex/latex/pdfpages/ppluatex.def))
(c:/texlive/2018/texmf-dist/tex/latex/metalogo/metalogo.sty
(c:/texlive/2018/texmf-dist/tex/generic/ifxetex/ifxetex.sty))) (./test.aux)
(c:/texlive/2018/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (c:/texlive/2018/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(c:/texlive/2018/texmf-dist/tex/latex/oberdiek/grfext.sty
(c:/texlive/2018/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))
(c:/texlive/2018/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty)
(c:/texlive/2018/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
(c:/texlive/2018/texmf-dist/tex/latex/oberdiek/pdflscape.sty
(c:/texlive/2018/texmf-dist/tex/latex/graphics/lscape.sty))(load luc:
C:/texliv
e/2018/texmf-var/luatex-cache/generic/fonts/otl/lmroman7-regular.luc)(load
luc:

C:/texlive/2018/texmf-var/luatex-cache/generic/fonts/otl/lmsans10-regular.luc)
(load luc:
C:/texlive/2018/texmf-var/luatex-cache/generic/fonts/otl/lmmono10-re
gular.luc)'C:/Program' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
c:/texlive/2018/texmf-dist/tex/latex/base/ltluatex.lua:109:
Module lyluatex Error: LilyPond could not be started.
(lyluatex)             Please check that LuaLaTeX is started with the
(lyluatex)             --shell-escape option, and that 'program'
(lyluatex)             points to a valid LilyPond executable.
(lyluatex)             on input line 8

stack traceback:
        [C]: in function 'error'
        c:/texlive/2018/texmf-dist/tex/latex/base/ltluatex.lua:109: in
function <c:/te
xlive/2018/texmf-dist/tex/latex/base/ltluatex.lua:108>
        (...tail calls...)
        c:/texlive/2018/texmf-dist/scripts/lyluatex/lyluatex.lua:898: in
function 'lil
ypond_version'
        c:/texlive/2018/texmf-dist/scripts/lyluatex/lyluatex.lua:1113: in
function 'ru
n_lilypond'
        c:/texlive/2018/texmf-dist/scripts/lyluatex/lyluatex.lua:1094: in
function 'pr
ocess'
        [\directlua]:1: in main chunk.
\ly@compilescore ...directlua {ly.score:process()}

l.8 \end{lilypond}

?




--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Lyluatex

Br. Samuel Springuel
Well, LuaTeX is still having trouble finding the executable, just in this case it’s looking for C:\Program.  That, of course, is not a complete path to the lilypond executable.  The space in the path is clearly not being escaped correctly.  Try adding quotes around the complete path or edit your PATH variable so that `lilypond` is recognized without the complete path.

✝️✝️✝️✝️✝️✝️✝️✝️✝️✝️✝️✝️✝️✝️✝️✝️✝️✝️✝️✝️✝️✝️✝️✝️
Br. Samuel, OSB
(R. Padraic Springuel)
St. Anselm’s Abbey
4501 South Dakota Ave, NE
Washington, DC, 20017
202-269-2300
(c) 202-853-7036

PAX ☧ ΧΡΙΣΤΟΣ

> On Sep 18, 2018, at 10:36 AM, foxfanfare <[hidden email]> wrote:
>
> Urs Liska-3 wrote
>> Did you correctly quote that here? I see -shell-escape instead of
>> --shell-escape.
>
> Hi Urs,
> Actually, I just copied what was written in the GitHub documentation:
> https://github.com/jperon/lyluatex
>
> I tried with the -- and also with
> \usepackage[program={C:/Program Files
> (x86)/LilyPond/usr/bin/lilypond-windows.exe}]{lyluatex}, and yet again:
>
> D:\tex>lualatex --shell-escape test.tex
> This is LuaTeX, Version 1.07.0 (TeX Live 2018/W32TeX)
> system commands enabled.
> (./test.tex
> LaTeX2e <2018-04-01> patch level 5
> (using cache: C:/texlive/2018/texmf-var/luatex-cache/generic)
> luaotfload | main : initialization completed in 0.263 seconds
> (c:/texlive/2018/texmf-dist/tex/latex/base/article.cls
> Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
> (c:/texlive/2018/texmf-dist/tex/latex/base/size10.clo(load luc:
> C:/texlive/2018
> /texmf-var/luatex-cache/generic/fonts/otl/lmroman10-regular.luc)))
> (c:/texlive/2018/texmf-dist/tex/luatex/lyluatex/lyluatex.sty
> (c:/texlive/2018/texmf-dist/tex/luatex/luatexbase/luatexbase.sty
> (c:/texlive/2018/texmf-dist/tex/luatex/ctablestack/ctablestack.sty))
> (c:/texlive/2018/texmf-dist/tex/latex/xkeyval/xkeyval.sty
> (c:/texlive/2018/texmf-dist/tex/generic/xkeyval/xkeyval.tex
> (c:/texlive/2018/texmf-dist/tex/generic/xkeyval/xkvutils.tex
> (c:/texlive/2018/texmf-dist/tex/generic/xkeyval/keyval.tex))))
> (c:/texlive/2018/texmf-dist/tex/latex/graphics/graphicx.sty
> (c:/texlive/2018/texmf-dist/tex/latex/graphics/graphics.sty
> (c:/texlive/2018/texmf-dist/tex/latex/graphics/trig.sty)
> (c:/texlive/2018/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
> (c:/texlive/2018/texmf-dist/tex/latex/graphics-def/luatex.def)))
> (c:/texlive/2018/texmf-dist/tex/latex/minibox/minibox.sty
> (c:/texlive/2018/texmf-dist/tex/latex/l3kernel/expl3.sty
> (c:/texlive/2018/texmf-dist/tex/latex/l3kernel/expl3-code.tex)
> (c:/texlive/2018/texmf-dist/tex/latex/l3kernel/l3pdfmode.def)))
> (c:/texlive/2018/texmf-dist/tex/latex/environ/environ.sty
> (c:/texlive/2018/texmf-dist/tex/latex/trimspaces/trimspaces.sty))
> (c:/texlive/2018/texmf-dist/tex/latex/currfile/currfile.sty
> (c:/texlive/2018/texmf-dist/tex/latex/oberdiek/kvoptions.sty
> (c:/texlive/2018/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
> (c:/texlive/2018/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
> (c:/texlive/2018/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
> (c:/texlive/2018/texmf-dist/tex/generic/oberdiek/etexcmds.sty
> (c:/texlive/2018/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
> (c:/texlive/2018/texmf-dist/tex/latex/filehook/filehook.sty))
> (c:/texlive/2018/texmf-dist/tex/latex/pdfpages/pdfpages.sty
> (c:/texlive/2018/texmf-dist/tex/latex/base/ifthen.sty)
> (c:/texlive/2018/texmf-dist/tex/latex/tools/calc.sty)
> (c:/texlive/2018/texmf-dist/tex/latex/eso-pic/eso-pic.sty
> (c:/texlive/2018/texmf-dist/tex/generic/oberdiek/atbegshi.sty
> (c:/texlive/2018/texmf-dist/tex/generic/oberdiek/ifpdf.sty))
> (c:/texlive/2018/texmf-dist/tex/latex/xcolor/xcolor.sty
> (c:/texlive/2018/texmf-dist/tex/latex/graphics-cfg/color.cfg)))
> (c:/texlive/2018/texmf-dist/tex/latex/pdfpages/ppluatex.def))
> (c:/texlive/2018/texmf-dist/tex/latex/metalogo/metalogo.sty
> (c:/texlive/2018/texmf-dist/tex/generic/ifxetex/ifxetex.sty))) (./test.aux)
> (c:/texlive/2018/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
> [Loading MPS to PDF converter (version 2006.09.02).]
> ) (c:/texlive/2018/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
> (c:/texlive/2018/texmf-dist/tex/latex/oberdiek/grfext.sty
> (c:/texlive/2018/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))
> (c:/texlive/2018/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty)
> (c:/texlive/2018/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
> (c:/texlive/2018/texmf-dist/tex/latex/oberdiek/pdflscape.sty
> (c:/texlive/2018/texmf-dist/tex/latex/graphics/lscape.sty))(load luc:
> C:/texliv
> e/2018/texmf-var/luatex-cache/generic/fonts/otl/lmroman7-regular.luc)(load
> luc:
>
> C:/texlive/2018/texmf-var/luatex-cache/generic/fonts/otl/lmsans10-regular.luc)
> (load luc:
> C:/texlive/2018/texmf-var/luatex-cache/generic/fonts/otl/lmmono10-re
> gular.luc)'C:/Program' n’est pas reconnu en tant que commande interne
> ou externe, un programme exécutable ou un fichier de commandes.
> c:/texlive/2018/texmf-dist/tex/latex/base/ltluatex.lua:109:
> Module lyluatex Error: LilyPond could not be started.
> (lyluatex)             Please check that LuaLaTeX is started with the
> (lyluatex)             --shell-escape option, and that 'program'
> (lyluatex)             points to a valid LilyPond executable.
> (lyluatex)             on input line 8
>
> stack traceback:
>        [C]: in function 'error'
>        c:/texlive/2018/texmf-dist/tex/latex/base/ltluatex.lua:109: in
> function <c:/te
> xlive/2018/texmf-dist/tex/latex/base/ltluatex.lua:108>
>        (...tail calls...)
>        c:/texlive/2018/texmf-dist/scripts/lyluatex/lyluatex.lua:898: in
> function 'lil
> ypond_version'
>        c:/texlive/2018/texmf-dist/scripts/lyluatex/lyluatex.lua:1113: in
> function 'ru
> n_lilypond'
>        c:/texlive/2018/texmf-dist/scripts/lyluatex/lyluatex.lua:1094: in
> function 'pr
> ocess'
>        [\directlua]:1: in main chunk.
> \ly@compilescore ...directlua {ly.score:process()}
>
> l.8 \end{lilypond}
>
> ?
>
>
>
>
> --
> Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
>
> _______________________________________________
> lilypond-user mailing list
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/lilypond-user

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Lyluatex

foxfanfare
R. Padraic Springuel wrote
> Well, LuaTeX is still having trouble finding the executable, just in this
> case it’s looking for C:\Program.  That, of course, is not a complete path
> to the lilypond executable.  The space in the path is clearly not being
> escaped correctly.  Try adding quotes around the complete path or edit
> your PATH variable so that `lilypond` is recognized without the complete
> path.

Hi Padraic,
Thank you for the tip, I could get it to work with:

\usepackage[program={"C:/Program Files
(x86)/LilyPond/usr/bin/lilypond.exe"}]{lyluatex}

A new world is now opening to me :-) This problem could maybe be written in
the GitHub repository for Windows users no?
Also -shell or --shell works the same for me. Do you know how to add this
command in TeXworks if I want to compile with it?


Malte Meyn-3 wrote
> I think that Urs’s answer could be the right direction and sadly cannot
> help further. But as you’re a LaTeX novice here is an off-topic hint:
> Since you use LuaLaTeX you can use utf8 characters in input. So you can
> write j’édite insted of j'\'edite ;)

You're right, thanks! I'm currently reading some manual, but most of those I
found were old and never mentioned Lualatex. For french users, they always
seemed to use some specific packages for that...



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Lyluatex

foxfanfare
foxfanfare wrote
> Do you know how to add this
> command in TeXworks if I want to compile with it?

Don't bother, I found it!




--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user