]> git.donarmstrong.com Git - lilypond.git/commitdiff
* scm/tex.scm (header-end): enclose lily output in begingroup/endgroup.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 20 Sep 2002 23:03:40 +0000 (23:03 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 20 Sep 2002 23:03:40 +0000 (23:03 +0000)
* tex/lilyponddefs.tex: set hsize for plain tex.

ChangeLog
scm/tex.scm
tex/lilyponddefs.tex

index 07996b3db88ec3d6c2afe795f36abd24f5971c96..07f48938224d701cc9839edd214b67b4dd9c9162 100644 (file)
--- 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
index 9015e04961377ab6bbd11ed780f3b7fab14b9308..399dafd51a651637c322980afd6f0c51755f7f3e 100644 (file)
   (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.
                   )))
 
    "}"
    "\\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) 
index acacba8e3db41ce8396528a2815d9e2015c026c6..60d779795f90a1d6c092a7fec4d4401b506cdec0 100644 (file)
@@ -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