lilypond-0.1.57
[lilypond.git] / lily / header.cc
blobfb1e02205b9766854c4f9ff8f1f03ed656be6ec4
1 /*
2 header.cc -- implement Header
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
9 #include "string.hh"
10 #include "dictionary-iter.hh"
11 #include "header.hh"
13 String
14 Header::TeX_string() const
16 String s;
18 s+= "\\def\\LilyIdString{" + lily_id_str_ + "}";
20 for (Dictionary_iter<String> i(*this); i.ok(); i++)
22 s += "\\def\\mudela" + i.key() + "{" + i.val() + "}";
24 return s;