From a22d6df01475777a37ac74a74bd300f61c6b60a2 Mon Sep 17 00:00:00 2001 From: janneke Date: Sun, 14 Mar 2004 22:14:45 +0000 Subject: [PATCH] (Lilypond_snippet.output_texinfo): Print filename for HTML, LATEX, before texidoc. --- ChangeLog | 3 +++ scripts/lilypond-book.py | 11 +++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7440e861b1..dbef003a20 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-03-14 Jan Nieuwenhuizen + * 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. diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py index 587879a50a..6ff3f16faa 100644 --- a/scripts/lilypond-book.py +++ b/scripts/lilypond-book.py @@ -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' -- 2.39.2