Processing:
----------- test.lytex ---------
%% a comment
\documentclass[english]{article}
\begin{document}
\lilypondfile {test.ly}
\end{document}
--------------------------------
with:
lilypond-book -V --psfonts test.lytex
results in the file:
----------- test.tex -----------
%% a comment
\documentclass[english]{article}
\begin{document}
{%
\parindent 0pt
[EMAIL PROTECTED]
\ifx\preLilyPondExample \undefined
\relax
\else
\preLilyPondExample
\fi
\def\lilypondbook{}%
\input lily-531319895-systems.tex
\ifx\postLilyPondExample \undefined
\relax
\else
\postLilyPondExample
\fi
}
\end{document}
----------------------------------
Note that RequirePackage{graphics} has not been added to the file. It
appears that the initial comment is causing the confusion. When it is
deleted the file is processed correctly. (Front ends such as LyX
generate latex code with an itial comment)
--
Bernard Hurley <[EMAIL PROTECTED]>
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond