]> git.donarmstrong.com Git - lilypond.git/commitdiff
(Lilypond_snippet.output_texinfo):
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 14 Mar 2004 22:14:45 +0000 (22:14 +0000)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 14 Mar 2004 22:14:45 +0000 (22:14 +0000)
Print filename for HTML, LATEX, before texidoc.

ChangeLog
scripts/lilypond-book.py

index 7440e861b131e3d077f03d0ef23e9d2c641e1f0d..dbef003a20a620aa1e36a57ef73353fa9e15ed6c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-03-14  Jan Nieuwenhuizen  <janneke@gnu.org>
 
+       * scripts/lilypond-book.py (Lilypond_snippet.output_texinfo):
+       Print filename for HTML, LATEX, before texidoc.
+
        * scm/output-tex.scm (ps-output-expression): Eval embedded-ps
        instructions in output-ps module.
 
index 587879a50aebe828f7ff70d55d4a56aafbb20a80..6ff3f16faa73811a541cb26ef2ded61c6432d9e0 100644 (file)
@@ -517,9 +517,10 @@ class Lilypond_snippet (Snippet):
                return images
                
        def output_html (self):
-               str = self.output_print_filename (HTML)
+               str = ''
                base = self.basename ()
                if format == HTML:
+                       str += self.output_print_filename (HTML)
                        if VERBATIM in self.options:
                                verb = verbatim_html (self.substring ('code'))
                                str += write (output[HTML][VERBATIM] % vars ())
@@ -544,9 +545,10 @@ class Lilypond_snippet (Snippet):
                return str
 
        def output_latex (self):
-               str = self.output_print_filename (LATEX)
+               str = ''
                base = self.basename ()
                if format == LATEX:
+                       str += self.output_print_filename (LATEX)
                        if  VERBATIM in self.options:
                                verb = self.substring ('code')
                                str += (output[LATEX][VERBATIM] % vars ())
@@ -565,6 +567,11 @@ class Lilypond_snippet (Snippet):
 
        def output_texinfo (self):
                str = ''
+               # self.output_print_filename (TEXINFO)
+               str += ('@html\n' + self.output_print_filename (HTML)
+                       + '\n@end html\n')
+               str += ('@tex\n' + self.output_print_filename (LATEX)
+                       + '\n@end tex\n')
                base = self.basename ()
                if TEXIDOC in self.options:
                        texidoc = base + '.texidoc'