From: Justin Ruggles Date: Thu, 24 Mar 2011 22:39:19 +0000 (-0400) Subject: support @heading, @subheading, @subsubheading, and @subsubsection in X-Git-Tag: n0.8~523^2~475 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=7f0e747b8c2f732ea40c4cc072fe5a3c25ec3799;p=coroid%2Fffmpeg_saccubus.git support @heading, @subheading, @subsubheading, and @subsubsection in texi2pod.pl --- diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl index aa3273ec1..84c36ff1e 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 {