2 tex-stream.cc -- implement Tex_stream
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
14 #include "tex-stream.hh"
17 Tex_stream::Tex_stream (String filename)
18 : Paper_stream (filename)
23 Tex_stream::~Tex_stream ()
25 *os << "\n\\EndLilyPondOutput";
32 *os << _ ("% Creator: ");
33 if (no_timestamps_global_b)
34 *os << "GNU LilyPond\n";
36 *os << get_version_str () << '\n';
37 *os << _ ("% Automatically generated");
38 if (no_timestamps_global_b)
44 *os << ctime (&t) << "%\n";
48 // print string. don't forget indent.
50 Tex_stream::operator << (Scalar s)
52 return Paper_stream::operator << (s);