Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-04-07 05:49:39 +0400
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-04-09 01:24:42 +0400
commitbe59675add2a05a7400b1abf86201ab069d7b1dd (patch)
tree149629cb6880dd5266b8c86f32c04a705de7f034 /doc/texi2pod.pl
parent59388dac69f9a79eddb003d1c6aad5ec89d4287b (diff)
doc: Change the multitable rendering in texi2pod
Makes it working better for our documentation purposes.
Diffstat (limited to 'doc/texi2pod.pl')
-rwxr-xr-xdoc/texi2pod.pl14
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index 609568e16d..54d57172d5 100755
--- a/doc/texi2pod.pl
+++ b/doc/texi2pod.pl
@@ -277,6 +277,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;
@@ -293,10 +301,10 @@ INF: while(<$inf>) {
/^\@tab\s+(.*\S)\s*$/ and $endw eq "multitable" and do {
my $columns = $1;
- $columns =~ s/\@tab/ : /;
+ $columns =~ s/\@tab//;
- $_ = " : ". $columns;
- $section =~ s/\n+\s+$//;
+ $_ = $columns;
+ $section =~ s/$//;
};
/^\@itemx?\s*(.+)?$/ and do {