From bc7524711bb3043067d4805d9e4a4cfc34110b07 Mon Sep 17 00:00:00 2001 From: John Mandereau Date: Sun, 27 Apr 2008 17:50:55 +0200 Subject: [PATCH] Docs building typos and thinkos --- Documentation/de/user/macros.itexi | 6 ++---- Documentation/es/user/macros.itexi | 6 ++---- Documentation/fr/user/macros.itexi | 6 ++---- buildscripts/mutopia-index.py | 2 +- python/langdefs.py | 2 +- 5 files changed, 8 insertions(+), 14 deletions(-) diff --git a/Documentation/de/user/macros.itexi b/Documentation/de/user/macros.itexi index b329f97757..9177b8399c 100644 --- a/Documentation/de/user/macros.itexi +++ b/Documentation/de/user/macros.itexi @@ -310,18 +310,16 @@ @c Commands specific to translated docs +@c ugh, cannot set/define global variable 'translationof' in some way? @iftex @macro translationof{TEXT} -@tex -\gdef\translationof{\TEXT\} -@end tex @end macro @end iftex @ifinfo @macro @macro translationof{TEXT} -@set translationof{\TEXT\} +@set translationof \TEXT\ @end macro @end ifinfo diff --git a/Documentation/es/user/macros.itexi b/Documentation/es/user/macros.itexi index d283bc3357..508870ed61 100644 --- a/Documentation/es/user/macros.itexi +++ b/Documentation/es/user/macros.itexi @@ -336,18 +336,16 @@ @c Commands specific to translated docs +@c ugh, cannot set/define global variable 'translationof' in some way? @iftex @macro translationof{TEXT} -@tex -\gdef\translationof{\TEXT\} -@end tex @end macro @end iftex @ifinfo @macro @macro translationof{TEXT} -@set translationof{\TEXT\} +@set translationof \TEXT\ @end macro @end ifinfo diff --git a/Documentation/fr/user/macros.itexi b/Documentation/fr/user/macros.itexi index 480f6fa287..06f0974a96 100644 --- a/Documentation/fr/user/macros.itexi +++ b/Documentation/fr/user/macros.itexi @@ -360,18 +360,16 @@ @c Commands specific to translated docs +@c ugh, cannot set/define global variable 'translationof' in some way? @iftex @macro translationof{TEXT} -@tex -\gdef\translationof{\TEXT\} -@end tex @end macro @end iftex @ifinfo @macro @macro translationof{TEXT} -@set translationof{\TEXT\} +@set translationof \TEXT\ @end macro @end ifinfo diff --git a/buildscripts/mutopia-index.py b/buildscripts/mutopia-index.py index c0d4e1fd25..50e4ebbf29 100644 --- a/buildscripts/mutopia-index.py +++ b/buildscripts/mutopia-index.py @@ -190,7 +190,7 @@ for d in dirs: allfiles += find ('*.ly', d) allfiles = [f for f in allfiles - if not x.endswith ('snippet-map.ly') + if not f.endswith ('snippet-map.ly') and not re.search ('lily-[0-9a-f]+', f) and 'musicxml' not in f] diff --git a/python/langdefs.py b/python/langdefs.py index d3b6a0872d..37159c5198 100644 --- a/python/langdefs.py +++ b/python/langdefs.py @@ -44,7 +44,7 @@ french_html_typo_rules = ((' :', ' :'), (' !', ' !')) def french_html_filter (page): - m = html_page_body_re.search (page) + m = html_body_re.search (page) if m: body_begin = m.end () else: -- 2.39.5