]> git.donarmstrong.com Git - lilypond.git/blobdiff - tex/lilyponddefs.tex
*** empty log message ***
[lilypond.git] / tex / lilyponddefs.tex
index 880545417ff9cef62406c58d6b3dbf1ef032a038..5cc6d4ffcf95e3b7b6172efe765fad235816cfaa 100644 (file)
@@ -55,6 +55,7 @@
         \endgroup
         \def\lilyponddocument{}
         \documentclass[a4paper]{article}
+       \nofiles
         \pagestyle{empty}
         % \begin is defined as \outer in texinfo, thus we use \csname
         \csname begin\endcsname{document}
   {\gdef\lilypondpaperinterscorelinefill{0}}
   {\gdef\lilypondpaperinterscorelinefill{1}}
 
-\gdef\interscoreline{
+%% Allow overriding of interscoreline, eg for lilypond --preview
+\lilypondifundefined{interscoreline}
+{\gdef\interscoreline{
   \vskip \lilypondpaperinterscoreline \lilypondpaperunit
     plus \lilypondpaperinterscorelinefill fill
-}
+}}{}
 
 % Are we using PDFTeX?  If so, use pdf definitions.
 % MiKTeX checks \pdfoutput the wrong way, thus we use \csname.