mirror of https://git.ffmpeg.org/ffmpeg.git
support @heading, @subheading, @subsubheading, and @subsubsection in
texi2pod.pl
This commit is contained in:
parent
c535d0896e
commit
7f0e747b8c
|
@ -231,10 +231,12 @@ while(<$inf>) {
|
||||||
|
|
||||||
# Single line command handlers.
|
# Single line command handlers.
|
||||||
|
|
||||||
/^\@(?:section|unnumbered|unnumberedsec|center)\s+(.+)$/
|
/^\@(?:section|unnumbered|unnumberedsec|center|heading)\s+(.+)$/
|
||||||
and $_ = "\n=head2 $1\n";
|
and $_ = "\n=head2 $1\n";
|
||||||
/^\@subsection\s+(.+)$/
|
/^\@(?:subsection|subheading)\s+(.+)$/
|
||||||
and $_ = "\n=head3 $1\n";
|
and $_ = "\n=head3 $1\n";
|
||||||
|
/^\@(?:subsubsection|subsubheading)\s+(.+)$/
|
||||||
|
and $_ = "\n=head4 $1\n";
|
||||||
|
|
||||||
# Block command handlers:
|
# Block command handlers:
|
||||||
/^\@itemize\s*(\@[a-z]+|\*|-)?/ and do {
|
/^\@itemize\s*(\@[a-z]+|\*|-)?/ and do {
|
||||||
|
|
Loading…
Reference in New Issue