2 tex-stream.cc -- implement Ps_stream
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 Jan Nieuwenhuizen <janneke@gnu.org>
14 #include "ps-stream.hh"
17 Ps_stream::Ps_stream (String filename
)
18 : Paper_stream (filename
)
23 Ps_stream::~Ps_stream ()
25 *os
<< "\nshowpage\n";
31 *os
<< _ ("%!PS-Adobe-3.0\n");
32 // urg, merge with Tex
33 *os
<< _ ("%%Creator: ");
34 if (no_timestamps_global_b
)
35 *os
<< "GNU LilyPond\n";
37 *os
<< get_version_str () << '\n';
38 *os
<< _ ("%%Automatically generated");
39 if (no_timestamps_global_b
)
45 *os
<< ctime (&t
) << "%\n";
49 // print string. don't forget indent.
51 Ps_stream::operator << (Scalar s
)
53 return Paper_stream::operator << (s
);