and postLilyPondExample are called when defined.
+2004-06-04 Mats Bengtsson <mabe@drongo.s3.kth.se>
+
+ * scripts/lilypond-book.py (output): Bug fix so preLilyPondExample
+ and postLilyPondExample are called when defined.
+
2004-06-03 Han-Wen Nienhuys <hanwen@xs4all.nl>
* ly/nederlands.ly (pitchnames): use ly:parser-set-note-names.
BEFORE: '',
OUTPUT: r'''{\parindent 0pt
\catcode`\@=12
-\ifx\preLilyPondExample\preLilyPondExample\fi
+\ifx\preLilyPondExample\undefined\relax\else\preLilyPondExample\fi
\def\lilypondbook{}
\input %(base)s.tex
-\ifx\preLilyPondExample\postLilyPondExample\fi
+\ifx\postLilyPondExample\undefined\relax\else\postLilyPondExample\fi
\catcode`\@=0}''',
PRINTFILENAME: '''\\texttt{%(filename)s}