]> git.donarmstrong.com Git - lilypond.git/commitdiff
(determine_format): Bugfix: correctly
authorJan Nieuwenhuizen <janneke@gnu.org>
Thu, 16 May 2002 16:33:52 +0000 (16:33 +0000)
committerJan Nieuwenhuizen <janneke@gnu.org>
Thu, 16 May 2002 16:33:52 +0000 (16:33 +0000)
determine latex input.

ChangeLog
scripts/lilypond-book.py

index 5f25de75ddbd98d290c542f73b00dc774504b25a..4eeeb0f7b732aa4599020bd99454a4d3232827cd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2002-05-16  Jan Nieuwenhuizen  <janneke@gnu.org>
 
+       * scripts/lilypond-book.py (determine_format): Bugfix: correctly
+       determine latex input.
+
        * stepmake/bin/install-sh: Include latest from libtool.
 
        * stepmake/configure: 
index 004ea592c933bde2ced8f827de6aee77b85810a8..083f9646b0c4b83ec1efc7cf367dbc112dfeb70e 100644 (file)
@@ -1012,7 +1012,7 @@ def determine_format (str):
        if __main__.format == '':
                
                html = re.search ('(?i)<[dh]tml', str[:200])
-               latex = re.search ('''\\document''', str[:200])
+               latex = re.search (r'''\\document''', str[:200])
                texi = re.search ('@node|@setfilename', str[:200])
 
                f = ''