support @heading, @subheading, @subsubheading, and @subsubsection in
authorJustin Ruggles <justin.ruggles@gmail.com>
Thu, 24 Mar 2011 22:39:19 +0000 (18:39 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Fri, 25 Mar 2011 13:48:31 +0000 (09:48 -0400)
texi2pod.pl

doc/texi2pod.pl

index aa3273e..84c36ff 100755 (executable)
@@ -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 {