texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/tp TODO Texinfo/Common.pm Texinfo/Conve...


From: Patrice Dumas
Subject: texinfo/tp TODO Texinfo/Common.pm Texinfo/Conve...
Date: Mon, 16 Jan 2012 22:54:42 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        12/01/16 22:54:42

Modified files:
        tp             : TODO 
        tp/Texinfo     : Common.pm 
        tp/Texinfo/Convert: TextContent.pm 

Log message:
        Add TEXTCONTENT_COMMENT to not strip comments.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/TODO?cvsroot=texinfo&r1=1.248&r2=1.249
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Common.pm?cvsroot=texinfo&r1=1.115&r2=1.116
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/TextContent.pm?cvsroot=texinfo&r1=1.3&r2=1.4

Patches:
Index: TODO
===================================================================
RCS file: /sources/texinfo/texinfo/tp/TODO,v
retrieving revision 1.248
retrieving revision 1.249
diff -u -b -r1.248 -r1.249
--- TODO        14 Jan 2012 13:28:53 -0000      1.248
+++ TODO        16 Jan 2012 22:54:42 -0000      1.249
@@ -6,6 +6,7 @@
 Before next release
 ===================
 
+Document TEXTCONTENT_COMMENT.
 
 Bugs
 ====
@@ -113,6 +114,9 @@
 default functions, for example in page_head, use $self->title_string() 
 and so on and so forth.  
 
+Check that configuration variables that may only be set on the command 
+line should not be handled more like usual configuration variables.
+
 
 DocBook
 =======

Index: Texinfo/Common.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Common.pm,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -b -r1.115 -r1.116
--- Texinfo/Common.pm   15 Jan 2012 15:08:00 -0000      1.115
+++ Texinfo/Common.pm   16 Jan 2012 22:54:42 -0000      1.116
@@ -172,6 +172,8 @@
   'USE_UP_NODE_FOR_ELEMENT_UP',
   'BEFORE_OVERVIEW', 'AFTER_OVERVIEW',
   'BEFORE_TOC_LINES', 'AFTER_TOC_LINES', 
+# FIXME document
+  'TEXTCONTENT_COMMENT',
 # FIXME Not strings. To be documented.
   'LINKS_BUTTONS', 'TOP_BUTTONS', 'SECTION_BUTTONS', 'BUTTONS_TEXT',
   'BUTTONS_ACCESSKEY', 'BUTTONS_REL', 'BUTTONS_GOTO',

Index: Texinfo/Convert/TextContent.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/TextContent.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- Texinfo/Convert/TextContent.pm      16 Jan 2012 22:15:12 -0000      1.3
+++ Texinfo/Convert/TextContent.pm      16 Jan 2012 22:54:42 -0000      1.4
@@ -66,10 +66,10 @@
   %{$self->{'formatting_misc_commands'}}
     = %Texinfo::Convert::Text::formatting_misc_commands;
 
-  #if ($self->get_conf('KEEP_COMMENTS')) {
-  #  $self->{'formatting_misc_commands'}->{'c'} = 1;
-  #  $self->{'formatting_misc_commands'}->{'comment'} = 1;
-  #}
+  if ($self->get_conf('TEXTCONTENT_COMMENT')) {
+    $self->{'formatting_misc_commands'}->{'c'} = 1;
+    $self->{'formatting_misc_commands'}->{'comment'} = 1;
+  }
 }
 
 sub convert_tree($$)



reply via email to

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