\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.