Bug/limitation in lilypond reported below!

Thomas Scharkowski wrote:
Thank you.

I want to use the \changefont command for titling.

latexheaders = "newcommand.tex"

in the *.ly file does produce

\include{newcommand.tex}

in the resulting *.latex file, right?

Certainly! If you want to find out what lilypond does, just add the flag -k and look in the generated lilypond.dir/*.latex file.

This does not work. I changed to \input{newcommand.tex} and this did the job. Could I get the same without editing the *.latex file?

Run lilypond with the flag -V to see the printouts from latex. The problem here, is that lilypond generates the files and runs latex in a temporary directory. This means that latex will not find your header file if you put it in the same directory as the .ly files. One solution is to put the file in a directory where latex normally searches for files. It seems that almost nobody has used this feature, it was several years since this problem was discussed on the list last time.

Of course, it's a bug that latexheaders doesn't work when the files
are available in the working directory. I don't really know about the
best way to solve it, though.
        

/Mats


_______________________________________________ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user

Reply via email to