]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.30
authorfred <fred>
Sun, 24 Mar 2002 19:29:27 +0000 (19:29 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:29:27 +0000 (19:29 +0000)
hdr/tex.hh
hdr/tstream.hh

index c33f30e202d5884479b61299f86d35ea54c8c4f6..baff1c634d275b08c567cc1e5c022be12c12077c 100644 (file)
@@ -6,14 +6,14 @@
 #include "scalar.hh"
 
 /// parameter substitution in TeXstrings
-String
-substitute_args(String source, Array<String> args);
 /**
-  this structure provides a simple macro mechanism:
+  this function provides a simple macro mechanism:
 
   if source == "tex%bla%", then
-  eval({"X","Y"})  == "texXblaY"
+  substitute_args(source, {"X","Y"})  == "texXblaY"
   */
+String
+substitute_args(String source, Array<String> args);
 
 /// parameter substitution in TeXstrings
 String
index e75d27a4b3a5ae7ac2cb0b542d05ba1b3b16afc8..27ec95cd165f9a8a2b748839af4806e8c3d168b3 100644 (file)
@@ -5,6 +5,11 @@
 #include "string.hh"
 
 /// TeX output
+/**
+  Use this class for writing to a TeX file.
+  It counts braces to prevent nesting errors, and
+  it will add a comment sign before each newline.
+  */
 struct Tex_stream {
     bool outputting_comment;
     ostream *os;
@@ -21,9 +26,4 @@ struct Tex_stream {
 private:
     Tex_stream(Tex_stream const&);
 };
-/**
-  Use this class for writing to a TeX file.
-  It counts braces to prevent nesting errors, and
-  it will add a comment sign before each newline.
-  */
 #endif