From 683f24de2a834aff75e20ad9bc31039893568dea Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Fri, 14 Aug 2009 13:56:49 +0200 Subject: [PATCH] texi-langutils.py: Include more @*image* tags in skeletons. Also, run on fr, nl. Fixes having images in translations. --- Documentation/fr/general/common-macros.itexi | 6 +++-- Documentation/fr/general/download.itexi | 18 +++++++++++-- Documentation/fr/general/introduction.itexi | 21 ++++++++++++--- Documentation/fr/general/macros.itexi | 21 ++++++++++----- Documentation/nl/general/common-macros.itexi | 4 ++- Documentation/nl/general/community.itexi | 2 +- Documentation/nl/general/download.itexi | 16 +++++++++++- Documentation/nl/general/introduction.itexi | 27 +++++++++++++++----- Documentation/nl/general/macros.itexi | 19 ++++++++++---- Documentation/nl/general/manuals.itexi | 12 ++++++--- scripts/auxiliar/texi-langutils.py | 2 +- 11 files changed, 115 insertions(+), 33 deletions(-) diff --git a/Documentation/fr/general/common-macros.itexi b/Documentation/fr/general/common-macros.itexi index 2b425cbd43..9e8764d4f6 100644 --- a/Documentation/fr/general/common-macros.itexi +++ b/Documentation/fr/general/common-macros.itexi @@ -1,7 +1,7 @@ -\input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: nl -*- +\input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: fr -*- @c This file is part of general.texi @ignore - Translation of GIT committish: 1b3da70d81938d19a2b107382bbe25a267cf130b + Translation of GIT committish: dab17828471057f4e12c0d80777ff9bb4c5b2309 When revising a translation, copy the HEAD committish of the version that you are working on. See TRANSLATION for details. @@ -20,6 +20,8 @@ @c expected to be found in the `lilypond/' subdirectory. `lilypond-book' @c already generates proper @image commands for images of music; these @c macro definitions do the same for other images. +@image{pictures/\FILENAME\,\WIDTH\,\HEIGHT\,\ALTTEXT\} +@image{lilypond/pictures/\FILENAME\,\WIDTH\,\HEIGHT\,\ALTTEXT\} @c ***** Headers ***** @c ***** Indexing ***** @c Don't remove the `@c' within the macro definition! See section 19.3, diff --git a/Documentation/fr/general/download.itexi b/Documentation/fr/general/download.itexi index 4d09b1cc19..4742070398 100644 --- a/Documentation/fr/general/download.itexi +++ b/Documentation/fr/general/download.itexi @@ -1,7 +1,7 @@ -\input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: nl -*- +\input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: fr -*- @c This file is part of general.texi @ignore - Translation of GIT committish: 1b3da70d81938d19a2b107382bbe25a267cf130b + Translation of GIT committish: dab17828471057f4e12c0d80777ff9bb4c5b2309 When revising a translation, copy the HEAD committish of the version that you are working on. See TRANSLATION for details. @@ -38,6 +38,7 @@ @divEnd @divClass{color1} @subheading Sponsors +@sourceimage{VTlogo_ITF} @sourceimage{lao_banner_06_on_white_demo} @subheading Legalese @divClass{legal} @divEnd @@ -65,11 +66,21 @@ @divClass{column-left-top} @subheading Generic Packages @subsubheading Download +@sourceimage{logo-linux} +@sourceimage{logo-linux} +@sourceimage{logo-linux} +@sourceimage{logo-freebsd} +@sourceimage{logo-freebsd} @subsubheading Install @subsubheading Uninstall @divEnd @divClass{column-right-top} @subheading Distribution-specific Packages +@sourceimage{logo-fedora} +@sourceimage{logo-ubuntu} +@sourceimage{logo-slackware} +@sourceimage{logo-debian} +@sourceimage{logo-suse} @divEnd @divClass{column-center-bottom} @subheading Legalese @@ -85,6 +96,8 @@ @divClass{column-left-top} @subheading Packages @subsubheading Download +@sourceimage{logo-macosx} +@sourceimage{logo-macosx} @subsubheading Install @subsubheading Uninstall @divEnd @@ -111,6 +124,7 @@ @divClass{column-left-top} @subheading Packages @subsubheading Download +@sourceimage{logo-windows} @subsubheading Install @subsubheading Uninstall @divEnd diff --git a/Documentation/fr/general/introduction.itexi b/Documentation/fr/general/introduction.itexi index 86fea29b33..e75b9f5fa2 100644 --- a/Documentation/fr/general/introduction.itexi +++ b/Documentation/fr/general/introduction.itexi @@ -1,7 +1,7 @@ -\input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: nl -*- +\input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: fr -*- @c This file is part of general.texi @ignore - Translation of GIT committish: 1b3da70d81938d19a2b107382bbe25a267cf130b + Translation of GIT committish: dab17828471057f4e12c0d80777ff9bb4c5b2309 When revising a translation, copy the HEAD committish of the version that you are working on. See TRANSLATION for details. @@ -71,17 +71,31 @@ @untranslated +@imageClickable{examples/liszt-wagner-small.png, (click to enlarge), examples/liszt-wagner.png, center} @subsubheading Classical Music +@imageClickable{examples/bach-bwv610-small.png, (click to enlarge), examples/bach-bwv610.png, center} @subsubheading Complex Notation +@imageClickable{examples/granados-small.png, (click to enlarge), examples/granados.png, center} @subsubheading Early Music +@imageClickable{examples/ancient-headword-small.png, (click to enlarge), examples/ancient-headword.png, center} @subsubheading Modern Music +@imageClickable{examples/cary-small.png, (click to enlarge), examples/cary.png, center} @subsubheading Efficient, flexible creation of performance materials +@imageClickable{examples/sesto-small.png, (click to enlarge), examples/sesto.png, center} +@imageClickable{examples/sesto-1-small.png, (click to enlarge), examples/sesto-1.png, center} +@imageClickable{examples/sesto-2-small.png, (click to enlarge), examples/sesto-2.png, center} @subsubheading Tablature +@imageClickable{examples/bach-tab-example-small.png, (click to enlarge), examples/bach-tab-example.png, center} @subsubheading Schenker Graphs +@imageClickable{examples/bach-schenker-small.png, (click to enlarge), examples/bach-schenker.png, center} @subsubheading Vocal Music +@imageClickable{examples/aucun-snippet-small.png, (click to enlarge), examples/aucun-snippet.png, center} @subsubheading Educational Applications +@imageClickable{examples/theory-small.png, (click to enlarge), examples/theory.png, center} @subsubheading Popular Music +@imageClickable{examples/chart-small.png, (click to enlarge), examples/chart.png, center} @subsubheading Large Projects +@imageClickable{examples/orchestral-small.png, (click to enlarge), examples/orchestral.png, center} @divClass{column-center-bottom} @subheading Where now? @ref{Freedom}. If you've already decided to try LilyPond, first @@ -94,7 +108,7 @@ @divClass{column-center-top} @subheading Free Software -@ref{GPL, GNU General Public License} and the @ref{FDL, GNU Free Documentation License} +@ref{GPL, GNU General Public License} and the @ref{FDL, GNU Free @divEnd @c @divClass{column-left-top} @divClass{color2} @@ -186,6 +200,7 @@ @c TRANSLATORS: so far it's mostly from @c http://lilypond.org/web/switch/howto @subheading @qq{Compiling} Music +@imageClickable{examples/nereid-shot-small.png, (click to enlarge), examples/nereid-shot.png, right} @subsubheading It's as simple as A B C @imageFloat{text-input-1-annotate.png,center} @imageFloat{text-input-1-output.png,center} diff --git a/Documentation/fr/general/macros.itexi b/Documentation/fr/general/macros.itexi index 45947bb20a..91044d9fd9 100644 --- a/Documentation/fr/general/macros.itexi +++ b/Documentation/fr/general/macros.itexi @@ -1,7 +1,7 @@ -\input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: nl -*- +\input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: fr -*- @c This file is part of general.texi @ignore - Translation of GIT committish: 1b3da70d81938d19a2b107382bbe25a267cf130b + Translation of GIT committish: dab17828471057f4e12c0d80777ff9bb4c5b2309 When revising a translation, copy the HEAD committish of the version that you are working on. See TRANSLATION for details. @@ -38,13 +38,14 @@ @c ***** Links and references ***** @c Definitions for references: @c +@c @rgeneral +@c @ressay @c @rglos +@c @rinternals @c @rlearning -@c @ruser -@c @ressay -@c @rprogram @c @rlsr -@c @rinternals +@c @rprogram +@c @ruser @c @c All these also have a @...named version which allows to specify the @c displayed text for the reference as second argument. @@ -60,6 +61,8 @@ @ref{\TEXT\,,\DISPLAY\,learning-big-page,Learning Manual} @ref{\TEXT\,,,notation-big-page,Notation Reference} @ref{\TEXT\,,\DISPLAY\,notation-big-page,Notation Reference} +@ref{\TEXT\,,,general-big-page,General Information} +@ref{\TEXT\,,\DISPLAY\,general-big-page,General Information} @ref{\TEXT\,,,essay-big-page,Essay} @ref{\TEXT\,,\DISPLAY\,essay-big-page,Essay} @ref{\TEXT\,,,application-big-page,Application Usage} @@ -75,6 +78,8 @@ @ref{\TEXT\,,,learning,Learning Manual} @ref{\TEXT\,,,notation,Notation Reference} @ref{\TEXT\,,\DISPLAY\,notation,Notation Reference} +@ref{\TEXT\,,,general,General Information} +@ref{\TEXT\,,\DISPLAY\,general,General Information} @ref{\TEXT\,,,essay,Essay} @ref{\TEXT\,,\DISPLAY\,essay,Essay} @ref{\TEXT\,,,application,Application Usage} @@ -89,6 +94,8 @@ @ref{\TEXT\,,,lilypond-learning,Learning Manual} @ref{\TEXT\,,,lilypond-notation,Notation Reference} @ref{\TEXT\,,\DISPLAY\,lilypond-notation,Notation Reference} +@ref{\TEXT\,,,lilypond-general,General Information} +@ref{\TEXT\,,\DISPLAY\,lilypond-general, General Information} @ref{\TEXT\,,,lilypond-essay,Essay} @ref{\TEXT\,,\DISPLAY\,lilypond-essay,Essay} @ref{\TEXT\,,,lilypond-application,Application Usage} @@ -110,6 +117,8 @@ @ref{\TEXT\,,\DISPLAY\,learning,Learning Manual} @ref{\TEXT\,,,notation,Notation Reference} @ref{\TEXT\,,\DISPLAY\,notation,Notation Reference} +@ref{\TEXT\,,,general,General Information} +@ref{\TEXT\,,\DISPLAY\,general,General Information} @ref{\TEXT\,,,essay,Essay} @ref{\TEXT\,,\DISPLAY\,essay,Essay} @ref{\TEXT\,,,application,Application Usage} diff --git a/Documentation/nl/general/common-macros.itexi b/Documentation/nl/general/common-macros.itexi index 2b425cbd43..fafde5aee3 100644 --- a/Documentation/nl/general/common-macros.itexi +++ b/Documentation/nl/general/common-macros.itexi @@ -1,7 +1,7 @@ \input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: nl -*- @c This file is part of general.texi @ignore - Translation of GIT committish: 1b3da70d81938d19a2b107382bbe25a267cf130b + Translation of GIT committish: dab17828471057f4e12c0d80777ff9bb4c5b2309 When revising a translation, copy the HEAD committish of the version that you are working on. See TRANSLATION for details. @@ -20,6 +20,8 @@ @c expected to be found in the `lilypond/' subdirectory. `lilypond-book' @c already generates proper @image commands for images of music; these @c macro definitions do the same for other images. +@image{pictures/\FILENAME\,\WIDTH\,\HEIGHT\,\ALTTEXT\} +@image{lilypond/pictures/\FILENAME\,\WIDTH\,\HEIGHT\,\ALTTEXT\} @c ***** Headers ***** @c ***** Indexing ***** @c Don't remove the `@c' within the macro definition! See section 19.3, diff --git a/Documentation/nl/general/community.itexi b/Documentation/nl/general/community.itexi index e698c1fe89..15529405ab 100644 --- a/Documentation/nl/general/community.itexi +++ b/Documentation/nl/general/community.itexi @@ -1,4 +1,4 @@ -\input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: nl -*- +@c -*- coding: utf-8; mode: texinfo; documentlanguage: nl -*- @c This file is part of general.texi @ignore Translation of GIT committish: 1b3da70d81938d19a2b107382bbe25a267cf130b diff --git a/Documentation/nl/general/download.itexi b/Documentation/nl/general/download.itexi index 4d09b1cc19..954337fc0b 100644 --- a/Documentation/nl/general/download.itexi +++ b/Documentation/nl/general/download.itexi @@ -1,7 +1,7 @@ \input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: nl -*- @c This file is part of general.texi @ignore - Translation of GIT committish: 1b3da70d81938d19a2b107382bbe25a267cf130b + Translation of GIT committish: dab17828471057f4e12c0d80777ff9bb4c5b2309 When revising a translation, copy the HEAD committish of the version that you are working on. See TRANSLATION for details. @@ -38,6 +38,7 @@ @divEnd @divClass{color1} @subheading Sponsors +@sourceimage{VTlogo_ITF} @sourceimage{lao_banner_06_on_white_demo} @subheading Legalese @divClass{legal} @divEnd @@ -65,11 +66,21 @@ @divClass{column-left-top} @subheading Generic Packages @subsubheading Download +@sourceimage{logo-linux} +@sourceimage{logo-linux} +@sourceimage{logo-linux} +@sourceimage{logo-freebsd} +@sourceimage{logo-freebsd} @subsubheading Install @subsubheading Uninstall @divEnd @divClass{column-right-top} @subheading Distribution-specific Packages +@sourceimage{logo-fedora} +@sourceimage{logo-ubuntu} +@sourceimage{logo-slackware} +@sourceimage{logo-debian} +@sourceimage{logo-suse} @divEnd @divClass{column-center-bottom} @subheading Legalese @@ -85,6 +96,8 @@ @divClass{column-left-top} @subheading Packages @subsubheading Download +@sourceimage{logo-macosx} +@sourceimage{logo-macosx} @subsubheading Install @subsubheading Uninstall @divEnd @@ -111,6 +124,7 @@ @divClass{column-left-top} @subheading Packages @subsubheading Download +@sourceimage{logo-windows} @subsubheading Install @subsubheading Uninstall @divEnd diff --git a/Documentation/nl/general/introduction.itexi b/Documentation/nl/general/introduction.itexi index f8182009fd..d121441bf4 100644 --- a/Documentation/nl/general/introduction.itexi +++ b/Documentation/nl/general/introduction.itexi @@ -1,18 +1,16 @@ \input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: nl -*- @c This file is part of general.texi @ignore - Translation of GIT committish: 1b3da70d81938d19a2b107382bbe25a267cf130b + Translation of GIT committish: dab17828471057f4e12c0d80777ff9bb4c5b2309 When revising a translation, copy the HEAD committish of the version that you are working on. See TRANSLATION for details. @end ignore - -@c -*- coding: utf-8; mode: texinfo; -*- @node Inleiding @unnumbered Inleiding @translationof Introduction - + @divClass{column-center-top} @subheading Ons Doel @imageFloat{flat-design.png,right} @@ -21,14 +19,14 @@ De inspiratie voor LilyPond ontstond toen twee bevriende muzikanten ontevreden werden met het saaie en inspiratieloze uiterlijk van computerafdrukken. Elke muzikant leest liever mooie muziek, dus zouden wij als programmeurs dat afdrukprobleem niet kunnen oplossen? - + Dat is nu precies wat LilyPond doet: het drukt muziek volgens de beste tradities van klassieke muziekgravure, zonder gedoe. Verspil geen tijd met het bijstellen van spatiëring, het verplaatsen van tekens, of met het vormgeven van legatoboogjes. Imponeer vrienden en collega's met haarscherpe bladmuziek! - @divEnd + @divClass{column-left-top} @subheading Why use LilyPond? @ref{Features}: What can LilyPond do? @@ -81,17 +79,31 @@ en collega's met haarscherpe bladmuziek! @untranslated +@imageClickable{examples/liszt-wagner-small.png, (click to enlarge), examples/liszt-wagner.png, center} @subsubheading Classical Music +@imageClickable{examples/bach-bwv610-small.png, (click to enlarge), examples/bach-bwv610.png, center} @subsubheading Complex Notation +@imageClickable{examples/granados-small.png, (click to enlarge), examples/granados.png, center} @subsubheading Early Music +@imageClickable{examples/ancient-headword-small.png, (click to enlarge), examples/ancient-headword.png, center} @subsubheading Modern Music +@imageClickable{examples/cary-small.png, (click to enlarge), examples/cary.png, center} @subsubheading Efficient, flexible creation of performance materials +@imageClickable{examples/sesto-small.png, (click to enlarge), examples/sesto.png, center} +@imageClickable{examples/sesto-1-small.png, (click to enlarge), examples/sesto-1.png, center} +@imageClickable{examples/sesto-2-small.png, (click to enlarge), examples/sesto-2.png, center} @subsubheading Tablature +@imageClickable{examples/bach-tab-example-small.png, (click to enlarge), examples/bach-tab-example.png, center} @subsubheading Schenker Graphs +@imageClickable{examples/bach-schenker-small.png, (click to enlarge), examples/bach-schenker.png, center} @subsubheading Vocal Music +@imageClickable{examples/aucun-snippet-small.png, (click to enlarge), examples/aucun-snippet.png, center} @subsubheading Educational Applications +@imageClickable{examples/theory-small.png, (click to enlarge), examples/theory.png, center} @subsubheading Popular Music +@imageClickable{examples/chart-small.png, (click to enlarge), examples/chart.png, center} @subsubheading Large Projects +@imageClickable{examples/orchestral-small.png, (click to enlarge), examples/orchestral.png, center} @divClass{column-center-bottom} @subheading Where now? @ref{Freedom}. If you've already decided to try LilyPond, first @@ -104,7 +116,7 @@ en collega's met haarscherpe bladmuziek! @divClass{column-center-top} @subheading Free Software -@ref{GPL, GNU General Public License} and the @ref{FDL, GNU Free Documentation License} +@ref{GPL, GNU General Public License} and the @ref{FDL, GNU Free @divEnd @c @divClass{column-left-top} @divClass{color2} @@ -196,6 +208,7 @@ en collega's met haarscherpe bladmuziek! @c TRANSLATORS: so far it's mostly from @c http://lilypond.org/web/switch/howto @subheading @qq{Compiling} Music +@imageClickable{examples/nereid-shot-small.png, (click to enlarge), examples/nereid-shot.png, right} @subsubheading It's as simple as A B C @imageFloat{text-input-1-annotate.png,center} @imageFloat{text-input-1-output.png,center} diff --git a/Documentation/nl/general/macros.itexi b/Documentation/nl/general/macros.itexi index 45947bb20a..d081a11535 100644 --- a/Documentation/nl/general/macros.itexi +++ b/Documentation/nl/general/macros.itexi @@ -1,7 +1,7 @@ \input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: nl -*- @c This file is part of general.texi @ignore - Translation of GIT committish: 1b3da70d81938d19a2b107382bbe25a267cf130b + Translation of GIT committish: dab17828471057f4e12c0d80777ff9bb4c5b2309 When revising a translation, copy the HEAD committish of the version that you are working on. See TRANSLATION for details. @@ -38,13 +38,14 @@ @c ***** Links and references ***** @c Definitions for references: @c +@c @rgeneral +@c @ressay @c @rglos +@c @rinternals @c @rlearning -@c @ruser -@c @ressay -@c @rprogram @c @rlsr -@c @rinternals +@c @rprogram +@c @ruser @c @c All these also have a @...named version which allows to specify the @c displayed text for the reference as second argument. @@ -60,6 +61,8 @@ @ref{\TEXT\,,\DISPLAY\,learning-big-page,Learning Manual} @ref{\TEXT\,,,notation-big-page,Notation Reference} @ref{\TEXT\,,\DISPLAY\,notation-big-page,Notation Reference} +@ref{\TEXT\,,,general-big-page,General Information} +@ref{\TEXT\,,\DISPLAY\,general-big-page,General Information} @ref{\TEXT\,,,essay-big-page,Essay} @ref{\TEXT\,,\DISPLAY\,essay-big-page,Essay} @ref{\TEXT\,,,application-big-page,Application Usage} @@ -75,6 +78,8 @@ @ref{\TEXT\,,,learning,Learning Manual} @ref{\TEXT\,,,notation,Notation Reference} @ref{\TEXT\,,\DISPLAY\,notation,Notation Reference} +@ref{\TEXT\,,,general,General Information} +@ref{\TEXT\,,\DISPLAY\,general,General Information} @ref{\TEXT\,,,essay,Essay} @ref{\TEXT\,,\DISPLAY\,essay,Essay} @ref{\TEXT\,,,application,Application Usage} @@ -89,6 +94,8 @@ @ref{\TEXT\,,,lilypond-learning,Learning Manual} @ref{\TEXT\,,,lilypond-notation,Notation Reference} @ref{\TEXT\,,\DISPLAY\,lilypond-notation,Notation Reference} +@ref{\TEXT\,,,lilypond-general,General Information} +@ref{\TEXT\,,\DISPLAY\,lilypond-general, General Information} @ref{\TEXT\,,,lilypond-essay,Essay} @ref{\TEXT\,,\DISPLAY\,lilypond-essay,Essay} @ref{\TEXT\,,,lilypond-application,Application Usage} @@ -110,6 +117,8 @@ @ref{\TEXT\,,\DISPLAY\,learning,Learning Manual} @ref{\TEXT\,,,notation,Notation Reference} @ref{\TEXT\,,\DISPLAY\,notation,Notation Reference} +@ref{\TEXT\,,,general,General Information} +@ref{\TEXT\,,\DISPLAY\,general,General Information} @ref{\TEXT\,,,essay,Essay} @ref{\TEXT\,,\DISPLAY\,essay,Essay} @ref{\TEXT\,,,application,Application Usage} diff --git a/Documentation/nl/general/manuals.itexi b/Documentation/nl/general/manuals.itexi index 174f7961eb..54cd1dd741 100644 --- a/Documentation/nl/general/manuals.itexi +++ b/Documentation/nl/general/manuals.itexi @@ -1,7 +1,7 @@ \input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: nl -*- @c This file is part of general.texi @ignore - Translation of GIT committish: 1b3da70d81938d19a2b107382bbe25a267cf130b + Translation of GIT committish: dab17828471057f4e12c0d80777ff9bb4c5b2309 When revising a translation, copy the HEAD committish of the version that you are working on. See TRANSLATION for details. @@ -9,9 +9,11 @@ @c -*- coding: utf-8; mode: texinfo; -*- -@node Handleiding -@unnumbered Handleiding -@translationof Manuals +@node Manuals +@unnumbered Manuals + +@untranslated + @divClass{heading-center} @heading Documentation for LilyPond 2.12.2 @@ -132,3 +134,5 @@ @subheading GNU Free Documentation License 1.1 @include fdl.itexi @divEnd + +@c -- SKELETON FILE -- diff --git a/scripts/auxiliar/texi-langutils.py b/scripts/auxiliar/texi-langutils.py index 0080f11a62..24cb2ecec9 100755 --- a/scripts/auxiliar/texi-langutils.py +++ b/scripts/auxiliar/texi-langutils.py @@ -59,7 +59,7 @@ for x in optlist: elif x[0] == '-l': # -l ISOLANG set documentlanguage to ISOLANG doclang = '; documentlanguage: ' + x[1] -texinfo_with_menus_re = re.compile (r"^(\*) +([^:\n]+)::.*?$|^@(afourpaper|author|bye|contents|copying|end copying|divClass|divEnd|divId|documentencoding|documentlanguage|finalout|ifnottex|end ifnottex|imageFloat|imageId|include|menu|end menu|node|quotation|end quotation|ref|rgloss|setfilename|settitle|set|(?:unnumbered|appendix)(?:(?:sub){0,2}sec)?|titlefont|titlepage|end titlepage|title|subtitle|top|vskip|chapter|(?:sub){0,2}section|(?:major|chap|(?:sub){0,2})heading|c) *(([^ \n].*)|$)", re.M) +texinfo_with_menus_re = re.compile (r"^(\*) +([^:\n]+)::.*?$|^@(afourpaper|author|bye|contents|copying|end copying|divClass|divEnd|divId|documentencoding|documentlanguage|finalout|ifnottex|end ifnottex|imageClickable|imageFloat|imageId|image|include|menu|end menu|node|quotation|end quotation|ref|rgloss|setfilename|settitle|set|(?:unnumbered|appendix)(?:(?:sub){0,2}sec)?|titlefont|titlepage|end titlepage|title|sourceimage|subtitle|top|vskip|chapter|(?:sub){0,2}section|(?:major|chap|(?:sub){0,2})heading|c) *(([^ \n].*)|$)", re.M) texinfo_re = re.compile (r"^@(include|node|(?:unnumbered|appendix)(?:(?:sub){0,2}sec)?|top|chapter|(?:sub){0,2}section|(?:major|chap|(?:sub){0,2})heading) *(.+?)$|@(rglos){(.+?)}", re.M) -- 2.39.5