]> git.donarmstrong.com Git - lilypond.git/commitdiff
set hsize for plain tex, but only for
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 21 Sep 2002 00:08:05 +0000 (00:08 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 21 Sep 2002 00:08:05 +0000 (00:08 +0000)
positive line widths.

tex/lilyponddefs.tex

index 5cef0c11dd386c80716adaa19dfb016020902913..cf7bf1f791aea5424f06d233966d3a18f25b72e9 100644 (file)
   \input lilypond-plaintex
 
 %% make plain work ok Out Of The Box
-  \ifdim0pt<\lilypondpaperlinewidth\lilypondpaperunit
-  \hsize=\lilypondpaperlinewidth\lilypondpaperunit
+  \ifundefined{lilypondpaperunit}
+  \else
+    \ifdim0pt<\lilypondpaperlinewidth\lilypondpaperunit
+      \hsize=\lilypondpaperlinewidth\lilypondpaperunit
+    \fi
   \fi
 \else
   \input lilypond-latex