\endgroup
\def\lilyponddocument{}
\documentclass[a4paper]{article}
+ \nofiles
\pagestyle{empty}
% \begin is defined as \outer in texinfo, thus we use \csname
\csname begin\endcsname{document}
\lilypondnext
}
-\newread\lilypondinput
-
% the following macro is executed only once
\gdef\lilypondspecial{
\special{header=music-drawing-routines.ps}
{\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.
{\input lily-ps-defs }
{
\pdfoutput = 1
- \input lily-pdf-defs
+ \input lily-pdf-defs %
}
}
{}