X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=python%2Fbook_latex.py;h=677e88a1f70fe42a78df7419b8f4f512689c3693;hb=217d48d7cdefb8ad026c7ade58d1f03f17cbb47a;hp=dfb6fc0ac741617c530ef69701a43a1eaa2790c9;hpb=7fab868fc4a9148be6607ce799986b96e29ebe94;p=lilypond.git diff --git a/python/book_latex.py b/python/book_latex.py index dfb6fc0ac7..677e88a1f7 100644 --- a/python/book_latex.py +++ b/python/book_latex.py @@ -6,6 +6,11 @@ import os import book_base as BookBase from book_snippets import * import lilylib as ly +global _;_=ly._ + +progress = ly.progress +warning = ly.warning +error = ly.error # Recognize special sequences in the input. # @@ -101,6 +106,7 @@ Latex_output = { OUTPUT: r'''{%% \parindent 0pt +\noindent \ifx\preLilyPondExample \undefined \else \expandafter\preLilyPondExample