lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT: Getting lyluatex to work [was: Re: Lilypond and LaTeX - margins]


From: Marc Hohl
Subject: Re: OT: Getting lyluatex to work [was: Re: Lilypond and LaTeX - margins]
Date: Mon, 27 Jul 2015 12:42:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

Am 27.07.2015 um 12:06 schrieb Ralf Mattes:

Am Sonntag, 26. Juli 2015 12:33 CEST, Marc Hohl <address@hidden> schrieb:

Am 25.07.2015 um 18:12 schrieb Víctor:
On a separate subject, I'd like to recommend you to use lyluatex
<https://github.com/jperon/lyluatex> instead of Lilypond-book. I've
found it to be a cleaner way to work as it is a LuaLaTeX package
(developed by the Gregorio team!) and not an engine.

I wanted to give this package a try and copied the two files
lyluatex.sty and lyluatex.lua in my project folder
(as described in
https://github.com/jperon/lyluatex/blob/master/README.en.md)

Now I get

! LuaTeX error ./lyluatex.lua:1: attempt to index global 'luatexbase' (a nil 
value)
stack traceback:
        ./lyluatex.lua:1: in main chunk
        [C]: in function 'dofile'
        [\directlua]:1: in main chunk.
l.13 ...tlua{dofile(kpse.find_file("lyluatex.lua"))}

?

As an alternative, I made a directory in the texlive tree

$ sudo mkdir /usr/local/texlive/2014/texmf-dist/tex/lualatex/lyluatex/

and copied the files in there, followed by a

$ sudo mktexlsr

but the error message persists.

Can someone of the TeXperts explain to me what I am (obviously) doing wrong 
here?

Not a TeXpert (any more),  but from my quick tests - nothing.
I got the same error as you.  I "fixed" this bug by adding

\usepackage{fontspec}

before using the lyluatex package.

Thanks, that works for me too!

Unfortunately, while the luatex compile now works, the output isn't what I'd 
expect.
My final pdf shows a box with the name of the tmp-file that lilypond created ...
Not enough itch to scratch for me but maybe someone will be able to ebug this.
For now, I'd say this isn't  a production-ready alternative to lilypond book.

I compiled my 40+ project with the lyluatex package and I can see the scores, so for me, it works now as expected.

Cheers,

Marc

Cheers, Ralf Mattes

Thanks,

Marc


Víctor.


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user











reply via email to

[Prev in Thread] Current Thread [Next in Thread]