lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Use forward slashes as path separators in latex (issue 2209). (issue 553


From: julien . rioux
Subject: Use forward slashes as path separators in latex (issue 2209). (issue 5530069)
Date: Tue, 10 Jan 2012 22:37:50 +0000

Reviewers: ,

Message:
Please review.

Description:
Use forward slashes as path separators in latex (issue 2209).

Please review this at http://codereview.appspot.com/5530069/

Affected files:
  M python/book_latex.py


Index: python/book_latex.py
diff --git a/python/book_latex.py b/python/book_latex.py
index fcd539aeaa8219eeeb5e8d07e4860e632ae31bb9..f9fcfdacd0bdb849253ef5a138e62f607fa25d11 100644
--- a/python/book_latex.py
+++ b/python/book_latex.py
@@ -124,7 +124,7 @@ Latex_output = {
   \expandafter\preLilyPondExample
 \fi
 \def\lilypondbook{}%%
-\input %(base)s-systems.tex
+\input{%(base)s-systems.tex}
 \ifx\postLilyPondExample \undefined
 \else
   \expandafter\postLilyPondExample
@@ -271,7 +271,7 @@ class BookLatexOutputFormat (BookBase.BookOutputFormat):
     def snippet_output (self, basename, snippet):
         str = ''
         rep = snippet.get_replacements ();
-        rep['base'] = basename
+        rep['base'] = basename.replace ('\\', '/')
         str += self.output_print_filename (basename, snippet)
         if VERBATIM in snippet.option_dict:
             rep['verb'] = snippet.verb_ly ()





reply via email to

[Prev in Thread] Current Thread [Next in Thread]