From: fred Date: Thu, 10 Oct 1996 19:53:42 +0000 (+0000) Subject: lilypond-0.0.3 X-Git-Tag: release/1.5.59~7108 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2544e1431844e8c2d32916113dc156722d7e0c23;p=lilypond.git lilypond-0.0.3 --- diff --git a/tstream.cc b/tstream.cc index 78c9a72852..c47fca6da6 100644 --- a/tstream.cc +++ b/tstream.cc @@ -1,5 +1,7 @@ #include +#include #include "tex.hh" +#include "misc.hh" #include "tstream.hh" #include "debug.hh" @@ -11,8 +13,17 @@ Tex_stream::Tex_stream(String filename) error("can't open " + filename); nest_level = 0; outputting_comment=false; + header(); +} +void +Tex_stream::header() +{ + *os << "% Creator: " << get_version() << "\n"; + *os << "% Automatically generated, at "; + time_t t(time(0)); + *os << ctime(&t)<<"\n"; +//*os << "% from input file ..\n"; } - Tex_stream::~Tex_stream() { assert(nest_level == 0);