diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-03-24 18:39:19 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-03-25 09:48:31 -0400 |
commit | 7f0e747b8c2f732ea40c4cc072fe5a3c25ec3799 (patch) | |
tree | 9c4ee442f1ad44163347bb78cd78b6367a7d7177 /doc/texi2pod.pl | |
parent | c535d0896e6f08d9526da57b0b4fece19c22b59f (diff) | |
download | ffmpeg-7f0e747b8c2f732ea40c4cc072fe5a3c25ec3799.tar.gz |
support @heading, @subheading, @subsubheading, and @subsubsection in
texi2pod.pl
Diffstat (limited to 'doc/texi2pod.pl')
-rwxr-xr-x | doc/texi2pod.pl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl index aa3273ec1a..84c36ff1e1 100755 --- a/doc/texi2pod.pl +++ b/doc/texi2pod.pl @@ -231,10 +231,12 @@ while(<$inf>) { # Single line command handlers. - /^\@(?:section|unnumbered|unnumberedsec|center)\s+(.+)$/ + /^\@(?:section|unnumbered|unnumberedsec|center|heading)\s+(.+)$/ and $_ = "\n=head2 $1\n"; - /^\@subsection\s+(.+)$/ + /^\@(?:subsection|subheading)\s+(.+)$/ and $_ = "\n=head3 $1\n"; + /^\@(?:subsubsection|subsubheading)\s+(.+)$/ + and $_ = "\n=head4 $1\n"; # Block command handlers: /^\@itemize\s*(\@[a-z]+|\*|-)?/ and do { |