From b722c1a5ad79dd0eb602a09a5d12b96e68d10693 Mon Sep 17 00:00:00 2001 From: jan Date: Thu, 16 May 2002 16:33:52 +0000 Subject: [PATCH] (determine_format): Bugfix: correctly determine latex input. --- ChangeLog | 3 +++ scripts/lilypond-book.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5f25de75dd..4eeeb0f7b7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2002-05-16 Jan Nieuwenhuizen + * scripts/lilypond-book.py (determine_format): Bugfix: correctly + determine latex input. + * stepmake/bin/install-sh: Include latest from libtool. * stepmake/configure: diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py index 004ea592c9..083f9646b0 100644 --- a/scripts/lilypond-book.py +++ b/scripts/lilypond-book.py @@ -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 = '' -- 2.39.5