Hi,

lilypond-book processes this minimal file successfully:

%%% BEGIN 1 %%%

\documentclass[10pt]{article}
\begin{document}
Hello!
\end{document}

%%% END %%%



But when we externalize the (one-line) preamble to a separate file,
lilypond-book grumbles:

%%% BEGIN EXTERNALIZED PREAMBLE %%%

\include{test-preamble}  % contents of test-preamble.tex:
\documentclass[10pt]{article}
\begin{document}
Hello!
\end{document}

%%% END %%%


Desktop$ lilypond-book --pdf --output=out test.tex
lilypond-book (GNU LilyPond) 2.11.43
Reading test.tex...
Running latex...This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %&-line parsing enabled.
entering extended mode
(/tmp/tmpUlfqXl.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang,
noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german,
ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi,
finnish,
 french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua,
ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish,
por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian,
swedish,
turkish, ukenglish, ukrainian, loaded.

[EMAIL PROTECTED]
No file test-preamble.tex.
No file tmpUlfqXl.aux.

! LaTeX Error: The font size command \normalsize is not defined:
               there is probably something wrong with the class file.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.5 \begin{document}

textwidth=8191.99998pt
columnsep=0.0pt
(./tmpUlfqXl.aux) )
(see the transcript file for additional information)
No pages of output.
Transcript written on tmpUlfqXl.log.
command failed: latex /tmp/tmpUlfqXl.tex
Child returned 1



Is lilypond-book supposed to know how to look for LaTeX \includes? Or is
this a known limitation such that the workaround is simply not to
externalize when using lilypond-book?




-- 
Trevor Bača
[EMAIL PROTECTED]
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to