From: Han-Wen Nienhuys <hanwen@xs4all.nl> Date: Fri, 20 Sep 2002 23:03:40 +0000 (+0000) Subject: * scm/tex.scm (header-end): enclose lily output in begingroup/endgroup. X-Git-Tag: release/1.6.4~5 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2be4d7a48c7f61d6514efa3b17b92eeb0f8f1939;p=lilypond.git * scm/tex.scm (header-end): enclose lily output in begingroup/endgroup. * tex/lilyponddefs.tex: set hsize for plain tex. --- diff --git a/ChangeLog b/ChangeLog index 07996b3db8..07f4893822 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-09-21 Han-Wen Nienhuys <hanwen@cs.uu.nl> + + * scm/tex.scm (header-end): enclose lily output in begingroup/endgroup. + + * tex/lilyponddefs.tex: set hsize for plain tex. + 2002-09-20 Jan Nieuwenhuizen <janneke@gnu.org> * 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