On Mon, 2005-11-28 at 03:16 +0000, Bernard Hurley wrote:
> 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.
>
actually it if you put a comment _anywhere_ before \begin{document} then
\RequirePackage{graphics} is not generated.
I think I know where the problem lies - although my python is not good
enough for me to correct it:
The \RequirePackage{graphics} is generated by the function
"modify_preamble". However this is called as:
modify_preamble (chunks[0])
i.e. on the first "chunk". If a comment occurs before "\begin{document}"
then there will be no "\begin{document}" in this chunk and so the code
generation will not occur.
--
Bernard Hurley <[EMAIL PROTECTED]>
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond