From: John Mandereau Date: Wed, 3 Jan 2007 23:24:30 +0000 (+0100) Subject: Accept '@' in sectionning commands scanned by texi-langutils.py X-Git-Tag: release/2.11.20-1~2^2~12 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=078593855124e120f09a7a6693b194e8a4b1e012;p=lilypond.git Accept '@' in sectionning commands scanned by texi-langutils.py Fixes disappearing of "@chapter @command{lilypond-book}: Integrating text and music" in lilypond-doc.pot and Texinfo generated skeleton --- diff --git a/buildscripts/texi-langutils.py b/buildscripts/texi-langutils.py index 02b0ea36fa..8fc24187de 100644 --- a/buildscripts/texi-langutils.py +++ b/buildscripts/texi-langutils.py @@ -71,7 +71,7 @@ def process_texi (texifilename, i_blurb, n_blurb, write_skeleton, output_file=No g.write (i_blurb) tutu = re.findall (r"""^(\*) +([^: ]+)::[^ - ]*?$|^@(include|menu|end menu|node|(?:unnumbered|appendix)(?:(?:sub){0,2}sec)?|top|chapter|(?:sub){0,2}section|(?:major|chap|(?:sub){0,2})heading) *([^@ + ]*?$|^@(include|menu|end menu|node|(?:unnumbered|appendix)(?:(?:sub){0,2}sec)?|top|chapter|(?:sub){0,2}section|(?:major|chap|(?:sub){0,2})heading) *([^ ]*)[^ ]*?$|@(rglos){(.+?)}""", texifile, re.M) node_trigger = False @@ -96,7 +96,7 @@ def process_texi (texifilename, i_blurb, n_blurb, write_skeleton, output_file=No g.write (end_blurb) g.close () elif output_file: - toto = re.findall (r"""^@(include|node|(?:unnumbered|appendix)(?:(?:sub){0,2}sec)?|top|chapter|(?:sub){0,2}section|(?:major|chap|(?:sub){0,2})heading) *([^@ + toto = re.findall (r"""^@(include|node|(?:unnumbered|appendix)(?:(?:sub){0,2}sec)?|top|chapter|(?:sub){0,2}section|(?:major|chap|(?:sub){0,2})heading) *([^ ]*)[^ ]*?$|@(rglos){(.+?)}""", texifile, re.M) for item in toto: