support @heading, @subheading, @subsubheading, and @subsubsection in

texi2pod.pl
This commit is contained in:
Justin Ruggles 2011-03-24 18:39:19 -04:00
parent c535d0896e
commit 7f0e747b8c
1 changed files with 4 additions and 2 deletions

View File

@ -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 {