> [EMAIL PROTECTED] writes:
> |\begin{document}, but instead, it inserts the string "foo.tex". this
> |is what i would rather do anyway, but if i try
> |
> | latexheaders = "\usepackage{babel}";
> |
> |, ly2dvi strips "}" so that "\usepackage{babel" shows up in the latex
> |file. what do i need to do to make it work?
>
> For some reason the TeX result out of lilypond of above is:
>
> \def\mudelalatexheader{\usepackage{babel}%
> }%
That's the result of the general output routine in paper-stream.cc
which always tries to give a nicely indented TeX output.
Wouldn't it be even better to convince ly2dvi to extract the
full TeX expression? The problem is that regular expressions
are not powerful enough to parse that kind of nested grammar.
The same problem happens if you write, for example,
title = "The \\textit{ABC} of Music";
Anyhow, what you could do is
latexheaders = "\\input foo.tex";
and then add any TeX code you wish in foo.tex
/Mats