texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texinfo/tp/Texinfo Common.pm Parser.pm


From: Patrice Dumas
Subject: texinfo/tp/Texinfo Common.pm Parser.pm
Date: Mon, 21 Feb 2011 17:32:14 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        11/02/21 17:32:14

Modified files:
        tp/Texinfo     : Common.pm Parser.pm 

Log message:
        Handle xrefautomaticsectiontitle in the Parser.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Common.pm?cvsroot=texinfo&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Parser.pm?cvsroot=texinfo&r1=1.203&r2=1.204

Patches:
Index: Common.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Common.pm,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- Common.pm   19 Feb 2011 11:05:40 -0000      1.13
+++ Common.pm   21 Feb 2011 17:32:14 -0000      1.14
@@ -138,6 +138,7 @@
                        # or a number and forbids anything else on the line
   'firstparagraphindent' => 1, # none insert
   'frenchspacing'     => 1, # on off
+  'xrefautomaticsectiontitle' => 1, # on off
   'fonttextsize'      => 1, # 10 11
   'allowcodebreaks'   => 1, # false or true
   'exampleindent'     => 1, # asis or a number

Index: Parser.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Parser.pm,v
retrieving revision 1.203
retrieving revision 1.204
diff -u -b -r1.203 -r1.204
--- Parser.pm   20 Feb 2011 14:47:07 -0000      1.203
+++ Parser.pm   21 Feb 2011 17:32:14 -0000      1.204
@@ -389,7 +389,8 @@
   'documentencoding',
   'subtitle', 'contents', 'shortcontents', 'summarycontents',
   'kbdinputstyle', 'paragraphindent', 'firstparagraphindent',
-  'frenchspacing', 'footnotestyle', 'hyphenation', 'urefbreakstyle') {
+  'frenchspacing', 'footnotestyle', 'hyphenation', 'urefbreakstyle',
+  'xrefautomaticsectiontitle') {
   $global_multiple_commands{$global_multiple_command} = 1;
 }
 
@@ -4196,7 +4197,8 @@
     } else {
       $self->line_error (sprintf($self->__("address@hidden arg must be 
numeric/`asis', not `%s'"), $line), $line_nr);
     }
-  } elsif ($command eq 'frenchspacing') {
+  } elsif ($command eq 'frenchspacing' 
+           or $command eq 'xrefautomaticsectiontitle') {
     if ($line eq 'on' or $line eq 'off') {
       $args = [$line];
     } else {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]