]> git.donarmstrong.com Git - lilypond.git/commitdiff
(classic_output): don't advance Offset for
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 11 Apr 2004 21:22:21 +0000 (21:22 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 11 Apr 2004 21:22:21 +0000 (21:22 +0000)
TeX output.

ChangeLog
input/mutopia/J.S.Bach/wtk1-fugue2.ly
lily/paper-book.cc
lily/paper-outputter.cc
lily/score.cc
make/lilypond.redhat.spec.in

index b9db6dded30be3bf394500020c1ce67cea027f36..7619a19332c936933268823ee25d45a733ca3f1e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-04-11  Han-Wen Nienhuys   <hanwen@xs4all.nl>
 
+       * lily/paper-book.cc (classic_output): don't advance Offset for
+       TeX output.
+
        * make/mutopia-rules.make ($(outdir)-$(PAPERSIZE)/%.dvi): incude
        ec-sauter.map in rules
 
index 53e2c18de464a53dc90e56373ac3cfb2a6e214ff..dcafad7c5f28a2729fa76749d5906cfbaba4c3a1 100644 (file)
@@ -190,7 +190,6 @@ bassdux = \context Voice=three \notes \relative c' {
 }
 
 \score {
     \notes \context PianoStaff << 
         \override Score.TimeSignature  #'style = #'C
        \context Staff = treble <<
@@ -221,4 +220,3 @@ bassdux = \context Voice=three \notes \relative c' {
     }
 }
 
-
index 8620970ab161ab3436df0fb05196ffcca7a8bca5..8c26fa9840e9fb9839803d7c19d882dad4fb609c 100644 (file)
@@ -317,8 +317,14 @@ Paper_book::classic_output (String outname)
   Offset o (0, -0.5 * first->dim ()[Y_AXIS]);
   int line_count = SCM_VECTOR_LENGTH ((SCM) scores_.top ());
   for (int i = 0; i < line_count; i++)
-    out->output_line (scm_vector_ref ((SCM) scores_.top (), scm_int2num (i)),
-                     &o, i == line_count - 1);
+    {
+      if (output_format_global == "tex")
+       o = Offset (0,0);
+      
+      out->output_line (scm_vector_ref ((SCM) scores_.top (),
+                                               scm_int2num (i)),
+                               &o, i == line_count - 1);
+    }
   
   out->output_scheme (scm_list_1 (ly_symbol2scm ("end-output")));
   progress_indication ("\n");
index 98ad110a2c3866a5313e8f328826a138754c8b5f..8540ae1efbd1cf83514eb6acb61f4855db91d83b 100644 (file)
@@ -182,6 +182,7 @@ Paper_outputter::output_line (SCM line, Offset *origin, bool is_last)
   (*origin)[Y_AXIS] += dim[Y_AXIS];
 }
 
+
 void
 Paper_outputter::output_music_output_def (Music_output_def* odef)
 {
index 811e2f2cfa4962e4d4ddff7e6414c263a27057b6..00da8b5f772f0eb9aaad1ccef07f21aedb00d6c2 100644 (file)
@@ -173,11 +173,8 @@ default_rendering (SCM music, SCM outdef, SCM header, SCM outname)
          Paper_score *ps = dynamic_cast<Paper_score*> (output);
          paper_book->papers_.push (ps->paper_);
          paper_book->scores_.push (systems);
-
-         // fixme.
-         //paper_book->global_headers_.push (global_input_file->header_);
-         
          paper_book->headers_.push (header);
+         
          paper_book->classic_output (ly_scm2string (outname));
          scm_gc_unprotect_object (paper_book->self_scm ());
        }
index 049cba2402df51fef497a530e999d67c660379e3..14b1c6e6afcc681195c3797239ae0f19cbf5c384 100644 (file)
@@ -18,7 +18,7 @@ Buildrequires: t1utils bison flex mftrace ImageMagick
 Buildrequires: texinfo >= 4.6
 Buildrequires: guile-devel >= 1.6.4-8
 Requires: tetex  tetex-latex libstdc++ python  tetex-dvips tetex-latex
-Requires: guile >= 1.6.4-8
+Requires: guile >= 1.6.4-8 ec-fonts-mftraced
 
 %description
 LilyPond lets you create music notation.  It produces