TeX output.
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
}
\score {
-
\notes \context PianoStaff <<
\override Score.TimeSignature #'style = #'C
\context Staff = treble <<
}
}
-
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");
(*origin)[Y_AXIS] += dim[Y_AXIS];
}
+
void
Paper_outputter::output_music_output_def (Music_output_def* odef)
{
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 ());
}
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