2 header.cc -- implement Header
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>
11 #include "dictionary-iter.hh"
15 extern char const *lily_version_number_sz ();
19 lily_id_str_
= "Lily was here, " +
20 String (lily_version_number_sz ());
25 Header::tex_string () const
29 s
+= "\\def\\LilyIdString{" + lily_id_str_
+ "}";
31 for (Dictionary_iter
<String
> i (*this); i
.ok (); i
++)
32 s
+= "\\def\\mudela" + i
.key () + "{" + i
.val () + "}\n";
37 Header::ps_string () const
41 s
+= "/lily_id_string\n{" + lily_id_str_
+ "} bind def\n";
43 for (Dictionary_iter
<String
> i (*this); i
.ok (); i
++)
44 s
+= "/mudela" + i
.key () + "{" + i
.val () + "} bind def\n";