[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/tp/Texinfo/Convert Plaintext.pm
From: |
Patrice Dumas |
Subject: |
texinfo/tp/Texinfo/Convert Plaintext.pm |
Date: |
Sun, 05 Dec 2010 21:05:09 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Patrice Dumas <pertusus> 10/12/05 21:05:09
Modified files:
tp/Texinfo/Convert: Plaintext.pm
Log message:
Don't treat especially misc_commands, instead put these in the big if.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/Plaintext.pm?cvsroot=texinfo&r1=1.26&r2=1.27
Patches:
Index: Plaintext.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/Plaintext.pm,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- Plaintext.pm 5 Dec 2010 20:11:34 -0000 1.26
+++ Plaintext.pm 5 Dec 2010 21:05:09 -0000 1.27
@@ -878,15 +878,12 @@
}
print STDERR "MULTITABLE_SIZES @$columnsize\n" if ($self->{'debug'});
$self->{'format_context'}->[-1]->{'columns_size'} = $columnsize;
- #} elsif ($root->{'cmdname'} eq 'direntry') {
- # $result .= "START-INFO-DIR-ENTRY\n";
}
} elsif ($root->{'cmdname'} eq 'node') {
$self->{'footnote_index'} = 0;
$result .= $self->_footnotes();
- } elsif ($misc_commands{$root->{'cmdname'}}) {
- if ($sectioning_commands{$root->{'cmdname'}}) {
+ } elsif ($sectioning_commands{$root->{'cmdname'}}) {
if ($root->{'args'}) {
$result = $self->convert_line($root->{'args'}->[0]);
$result = Texinfo::Convert::Text::heading ($root, $result);
@@ -1082,7 +1079,6 @@
}
}
return '';
- }
} else {
$unknown_command = 1;
}
@@ -1363,8 +1359,6 @@
$result .= $self->convert($self->gdt("address@hidden ---
address@hidden",
{'author' => $author->{'extra'}->{'misc_content'}}));
}
- #} elsif ($root->{'cmdname'} eq 'direntry') {
- # $result .= "END-INFO-DIR-ENTRY\n";
}
}
if ($preformatted) {
- texinfo/tp/Texinfo/Convert Plaintext.pm,
Patrice Dumas <=