Re: lilypond code in (pdf/lua/xe)latex documents

2017-12-08 Thread Knut Petersen
Am 06.12.2017 um 20:40 schrieb Jacques Peron: Here is a modified version, that calls `lilypond` only when needed by computing a md5 hash of the content. A good idea. What about making a package out of that and putting it on CTAN ? It would be more universal than lyluatex, so I think many co

Re: lilypond code in (pdf/lua/xe)latex documents

2017-12-06 Thread Jacques Peron
P. S.: I forgot to add that I modified it to make it compatible with lilypond 2.18 2017-12-06 20:40 GMT+01:00 Jacques Peron : > Hello, > > Thank you very much for this : I hadn't ever understood all those > `\catcode` tricks. > Here is a modified version, that calls `lilypond` only when needed by

Re: lilypond code in (pdf/lua/xe)latex documents

2017-12-06 Thread Jacques Peron
Hello, Thank you very much for this : I hadn't ever understood all those `\catcode` tricks. Here is a modified version, that calls `lilypond` only when needed by computing a md5 hash of the content. What about making a package out of that and putting it on CTAN ? It would be more universal than ly

Re: lilypond code in (pdf/lua/xe)latex documents

2017-12-06 Thread Knut Petersen
Am 06.12.2017 um 10:20 schrieb Mark Knoop: The file should be translated with either * pdflatex --shell-escape lyInLatex * lualatex --shell-escape lyInLatex * pdflatex --shell-escape lyInLatex Thanks for this Knut, very helpful. Presumably the 3rd of these should be xelatex. Yes. Inter

Re: lilypond code in (pdf/lua/xe)latex documents

2017-12-06 Thread Mark Knoop
At 09:05 on 06 Dec 2017, Mark Knoop wrote: >At 09:41 on 06 Dec 2017, Knut Petersen wrote: >>Hi everybody! >> >>Some years ago I published example code how to integrate lilypond code >>in latex documents. The attached file is an extended update, it might >>be used with pdflatex, lualatex or xelatex,

Re: lilypond code in (pdf/lua/xe)latex documents

2017-12-06 Thread Mark Knoop
At 09:41 on 06 Dec 2017, Knut Petersen wrote: >Hi everybody! > >Some years ago I published example code how to integrate lilypond code >in latex documents. The attached file is an extended update, it might >be used with pdflatex, lualatex or xelatex, and it demonstrates how to >use the new command