From 2be4d7a48c7f61d6514efa3b17b92eeb0f8f1939 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Fri, 20 Sep 2002 23:03:40 +0000 Subject: [PATCH] * scm/tex.scm (header-end): enclose lily output in begingroup/endgroup. * tex/lilyponddefs.tex: set hsize for plain tex. --- ChangeLog | 6 ++++++ scm/tex.scm | 4 ++-- tex/lilyponddefs.tex | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 07996b3db8..07f4893822 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-09-21 Han-Wen Nienhuys + + * scm/tex.scm (header-end): enclose lily output in begingroup/endgroup. + + * tex/lilyponddefs.tex: set hsize for plain tex. + 2002-09-20 Jan Nieuwenhuizen * tex/lilyponddefs.tex: Handle \scoreshift and \outputscale in one diff --git a/scm/tex.scm b/scm/tex.scm index 9015e04961..399dafd51a 100644 --- a/scm/tex.scm +++ b/scm/tex.scm @@ -142,7 +142,7 @@ (begin ; uncomment for some stats about lily memory ; (display (gc-stats)) - (string-append "%\n\\EndLilyPondOutput\n" + (string-append "%\n\\endgroup\\EndLilyPondOutput\n" ; Put GC stats here. ))) @@ -181,7 +181,7 @@ "}" "\\input lilyponddefs\n" "\\outputscale=\\lilypondpaperoutputscale \\lilypondpaperunit\n" - "\\turnOnPostScript\n")) + "\\turnOnPostScript\\begingroup\\parindent0pt\n")) ;; Note: this string must match the string in ly2dvi.py!!! (define (header creator generate) diff --git a/tex/lilyponddefs.tex b/tex/lilyponddefs.tex index acacba8e3d..60d779795f 100644 --- a/tex/lilyponddefs.tex +++ b/tex/lilyponddefs.tex @@ -40,6 +40,9 @@ \ifundefined{documentclass} \input lilypond-plaintex + +%% make plain work ok Out Of The Box + \hsize=\lilypondpaperlinewidth\lilypondpaperunit \else \input lilypond-latex \fi -- 2.39.5