From d8693a1fc632c45c7948b611bfb051d3b9e68278 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Fri, 20 Sep 2002 23:52:59 +0000 Subject: [PATCH] set hsize for plain tex, but only for positive line widths. --- ChangeLog | 3 ++- tex/lilyponddefs.tex | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 07f4893822..6180f9699f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,7 +2,8 @@ * scm/tex.scm (header-end): enclose lily output in begingroup/endgroup. - * tex/lilyponddefs.tex: set hsize for plain tex. + * tex/lilyponddefs.tex: set hsize for plain tex, but only for + positive line widths. 2002-09-20 Jan Nieuwenhuizen diff --git a/tex/lilyponddefs.tex b/tex/lilyponddefs.tex index 60d779795f..ee34af8bba 100644 --- a/tex/lilyponddefs.tex +++ b/tex/lilyponddefs.tex @@ -41,8 +41,10 @@ \ifundefined{documentclass} \input lilypond-plaintex -%% make plain work ok Out Of The Box +%% make plain work ok Out Of The Box + \ifnum0<\lilypondpaperlinewidth \hsize=\lilypondpaperlinewidth\lilypondpaperunit + \fi \else \input lilypond-latex \fi -- 2.39.5