From 2544e1431844e8c2d32916113dc156722d7e0c23 Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 10 Oct 1996 19:53:42 +0000 Subject: [PATCH] lilypond-0.0.3 --- tstream.cc | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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); -- 2.39.5