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