X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=python%2Fbook_latex.py;h=677e88a1f70fe42a78df7419b8f4f512689c3693;hb=cf3642858a2340bb39ee56739f34c799946d4454;hp=dfb6fc0ac741617c530ef69701a43a1eaa2790c9;hpb=8860a7700be8348848bba7972ad86ef46721c544;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