summaryrefslogtreecommitdiff
path: root/doc/texi2pod.pl
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-03-24 18:39:19 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-03-25 09:48:31 -0400
commit7f0e747b8c2f732ea40c4cc072fe5a3c25ec3799 (patch)
tree9c4ee442f1ad44163347bb78cd78b6367a7d7177 /doc/texi2pod.pl
parentc535d0896e6f08d9526da57b0b4fece19c22b59f (diff)
support @heading, @subheading, @subsubheading, and @subsubsection in
texi2pod.pl
Diffstat (limited to 'doc/texi2pod.pl')
-rwxr-xr-xdoc/texi2pod.pl6
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 {