Browse Source

texi2pod: Handle @verbatim

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.7
Timothy Gu Michael Niedermayer 10 years ago
parent
commit
5faca08caf
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      doc/texi2pod.pl

+ 2
- 2
doc/texi2pod.pl View File

@@ -166,7 +166,7 @@ INF: while(<$inf>) {
if ($ended =~ /^(?:ifset|ifclear|ignore|menu|iftex|ifhtml|ifnothtml)$/) {
$skipping = pop @skstack;
next;
} elsif ($ended =~ /^(?:example|smallexample|display)$/) {
} elsif ($ended =~ /^(?:example|smallexample|verbatim|display)$/) {
$shift = "";
$_ = ""; # need a paragraph break
} elsif ($ended =~ /^(?:itemize|enumerate|(?:multi|[fv])?table)$/) {
@@ -290,7 +290,7 @@ INF: while(<$inf>) {
$_ = "\n=over 4\n";
};

/^\@((?:small)?example|display)/ and do {
/^\@((?:small)?example|verbatim|display)/ and do {
push @endwstack, $endw;
$endw = $1;
$shift = "\t";


Loading…
Cancel
Save