]> git.donarmstrong.com Git - lilypond.git/commitdiff
Accept '@' in sectionning commands scanned by texi-langutils.py
authorJohn Mandereau <john.mandereau@gmail.com>
Wed, 3 Jan 2007 23:24:30 +0000 (00:24 +0100)
committerJohn Mandereau <john.mandereau@gmail.com>
Thu, 22 Feb 2007 21:59:53 +0000 (22:59 +0100)
Fixes disappearing of
"@chapter @command{lilypond-book}: Integrating text and music"
in lilypond-doc.pot and Texinfo generated skeleton

buildscripts/texi-langutils.py

index 02b0ea36fa683683f8df22d5e0756eae62af0f16..8fc24187dededcdd73e3a6cb9429ca3215cd6007 100644 (file)
@@ -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: