diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-09 04:26:20 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-09 04:26:20 +0200 |
commit | 8f23045b169e439e9d1f587ecfda2ad1c345d6f5 (patch) | |
tree | 03ca6b5f4800362f9cb2a8f49f28b1ab8e8054dd /doc/texi2pod.pl | |
parent | e40d92b1e48d0baa0ded33b51886c392e8d5235a (diff) | |
parent | be59675add2a05a7400b1abf86201ab069d7b1dd (diff) | |
download | ffmpeg-8f23045b169e439e9d1f587ecfda2ad1c345d6f5.tar.gz |
Merge commit 'be59675add2a05a7400b1abf86201ab069d7b1dd'
* commit 'be59675add2a05a7400b1abf86201ab069d7b1dd':
doc: Change the multitable rendering in texi2pod
Conflicts:
doc/texi2pod.pl
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/texi2pod.pl')
-rw-r--r-- | doc/texi2pod.pl | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl index b825fdc242..94e011e42b 100644 --- a/doc/texi2pod.pl +++ b/doc/texi2pod.pl @@ -282,6 +282,14 @@ INF: while(<$inf>) { $_ = "\n=over 4\n"; }; + /^\@(multitable)\s+{.*/ and do { + push @endwstack, $endw; + push @icstack, $ic; + $endw = $1; + $ic = ""; + $_ = "\n=over 4\n"; + }; + /^\@((?:small)?example|display)/ and do { push @endwstack, $endw; $endw = $1; @@ -298,10 +306,10 @@ INF: while(<$inf>) { /^\@tab\s+(.*\S)\s*$/ and $endw eq "multitable" and do { my $columns = $1; - $columns =~ s/\@tab/ : /; + $columns =~ s/\@tab//; - $_ = " : ". $columns; - $chapter =~ s/\n+\s+$//; + $_ = $columns; + $chapter =~ s/$//; }; /^\@itemx?\s*(.+)?$/ and do { |