diff options
author | Nicolas George <george@nsup.org> | 2020-08-22 12:40:56 +0200 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2020-09-08 14:29:19 +0200 |
commit | 7d7e44a3aab1b14d80ec9c6ba32dff88d230eb70 (patch) | |
tree | f2d07fc288d7d6c9b1a04b91344cc9105db199db /doc | |
parent | fe964d80fec17f043763405f5804f397279d6b27 (diff) | |
download | ffmpeg-7d7e44a3aab1b14d80ec9c6ba32dff88d230eb70.tar.gz |
doc/texi2pod: support @float.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/texi2pod.pl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl index 9a9b34fc15..c7f67afe8c 100644 --- a/doc/texi2pod.pl +++ b/doc/texi2pod.pl @@ -172,6 +172,9 @@ INF: while(<$inf>) { } elsif ($ended =~ /^(?:itemize|enumerate|(?:multi|[fv])?table)$/) { $_ = "\n=back\n"; $ic = pop @icstack; + } elsif ($ended =~ /^float$/) { + $_ = "\n=back\n"; + $ic = pop @icstack; } else { die "unknown command \@end $ended at line $.\n"; } @@ -297,6 +300,12 @@ INF: while(<$inf>) { $_ = ""; # need a paragraph break }; + /^\@(float)\s+\w+/ and do { + push @endwstack, $endw; + $endw = $1; + $_ = "\n=over 4\n"; + }; + /^\@item\s+(.*\S)\s*$/ and $endw eq "multitable" and do { my $columns = $1; $columns =~ s/\@tab/ : /; |