texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/tp texi2any.pl DebugTexinfo/DebugTree.p...


From: Patrice Dumas
Subject: texinfo/tp texi2any.pl DebugTexinfo/DebugTree.p...
Date: Sat, 15 Oct 2011 12:01:43 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        11/10/15 12:01:43

Modified files:
        tp             : texi2any.pl 
        tp/DebugTexinfo: DebugTree.pm 
        tp/init        : book.pm chm.pm 

Log message:
        Remove USE_SECTIONS, as it is obsolete.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/texi2any.pl?cvsroot=texinfo&r1=1.72&r2=1.73
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/DebugTexinfo/DebugTree.pm?cvsroot=texinfo&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/init/book.pm?cvsroot=texinfo&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/init/chm.pm?cvsroot=texinfo&r1=1.3&r2=1.4

Patches:
Index: texi2any.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/texi2any.pl,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -b -r1.72 -r1.73
--- texi2any.pl 15 Oct 2011 11:42:44 -0000      1.72
+++ texi2any.pl 15 Oct 2011 12:01:43 -0000      1.73
@@ -432,7 +432,6 @@
   ['USE_REL_REV', 0],
   ['USE_LINKS', 0],
   ['USE_NODES', undef],
-  ['USE_SECTIONS', 1],
   ['NODE_FILENAMES', 0],
   ['USE_NUMERIC_ENTITY', 1],
   ['SPLIT', ''],

Index: DebugTexinfo/DebugTree.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/DebugTexinfo/DebugTree.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- DebugTexinfo/DebugTree.pm   2 Oct 2011 09:01:43 -0000       1.2
+++ DebugTexinfo/DebugTree.pm   15 Oct 2011 12:01:43 -0000      1.3
@@ -19,7 +19,7 @@
 
 # Example of calls
 # with creation of elements and pages:
-# ./texi2any.pl --set DEBUGTREE --set USE_SECTIONS=1 --split section file.texi
+# ./texi2any.pl --set DEBUGTREE --set USE_NODES=0 --split section file.texi
 # no elements nor pages
 # ./texi2any.pl --set DEBUGTREE file.texi
 
@@ -36,8 +36,8 @@
   my $elements;
   if ($self->get_conf('USE_NODES')) {
     $elements = Texinfo::Structuring::split_by_node($root);
-  } elsif ($self->get_conf('USE_SECTIONS')) {
-    #print STDERR "U USE_SECTIONS\n";
+  } elsif (defined($self->get_conf('USE_NODES'))) {
+    #print STDERR "U sections\n";
     $elements = Texinfo::Structuring::split_by_section($root);
   }
   my $pages;

Index: init/book.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/init/book.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- init/book.pm        10 Oct 2011 21:08:44 -0000      1.3
+++ init/book.pm        15 Oct 2011 12:01:43 -0000      1.4
@@ -34,7 +34,6 @@
 set_from_init_file('WORDS_IN_PAGE', undef);
 set_from_init_file('SHOW_MENU', 0);
 set_from_init_file('USE_NODES', undef);
-set_from_init_file('USE_SECTIONS', 1);
 
 set_from_init_file('BIG_RULE', '<hr>');
 

Index: init/chm.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/init/chm.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- init/chm.pm 10 Oct 2011 21:08:45 -0000      1.3
+++ init/chm.pm 15 Oct 2011 12:01:43 -0000      1.4
@@ -44,7 +44,6 @@
 
 #FIXME remove that later?
 set_from_init_file('USE_NODES', 0);
-#set_from_init_file('USE_SECTIONS', 1);
 
 use vars qw(%commands_formatting);
 texinfo_register_formatting_function('end_file', \&chm_end_file);



reply via email to

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