Am Sonntag, 26. Juli 2015 12:33 CEST, Marc Hohl <m...@hohlart.de> 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.
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.

Cheers, Ralf Mattes

> Thanks,
> 
> Marc
> 
> >
> > Víctor.
> >
> >
> > _______________________________________________
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
> >
> 
> 
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
 
 
 
 



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

Reply via email to