Hello, 2015-06-11 20:08 GMT+02:00 Víctor <[email protected]>:
> Hello Gregorians: > > I don't know if this is the proper place to ask this question, but since > Lyluatex is being developed by Gregorio Project, I'll give it a shot. > The best place is [here](https://github.com/jperon/lyluatex/issues), where I can follow issues easily. > So before getting Lyluatex to work, I had to make a symbolic link of my > Lilypond binary in /usr/bin/, because even when I changed lyluatex.lua line > LILYPOND = 'lilypond' > to > LILYPOND = '/home/victor/Aplicaciones/2.19/bin/lilypond' > lyluatex refused to complie, dumping a "lilypond: not found" error > If you like it, I think you could include `/home/victor/Aplicaciones/2.19/bin/` in your `PATH`, and then it should work without symlink. > After making the symbolik link it found lilypond alright, but then it > complied about the \include statement, because it is set to run in safe > mode. Of course compiling failed. So I took a look again to the code in > lyluatex.lua, and changed line #90: > #(ly:set-option 'safe '#t) > to > #(ly:set-option 'safe '#f) > > And it worked charmingly... now the questions: Why it's set to safe mode > in the first place? Is there any risk to run it without that option? The main reason is that `lyluatex` was first intended to be integrated within [musite](https://github.com/jperon/musite), which as a client/server system needs more secure options. While using `lyluatex` locally without compiling scores from "dangerous" sources, there's no risk to set it to false. > Also I noticed that at the begining of function entete_lilypond, there is > a \version "2.18.2" statement, so will this conflict in any way if I use a > diferent version in my lilypond file? > I put that to avoid `lilypond` complaining about missing version number, and because 2.18.2 is the version I have. It shouldn't conflict with different version in your lilypond file, providden lilypond's syntax didn't change meanwhile ; and you may change it to any version you prefer. Fr. Jacques Peron +
_______________________________________________ Gregorio-users mailing list [email protected] https://mail.gna.org/listinfo/gregorio-users

