projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c535d08
)
support @heading, @subheading, @subsubheading, and @subsubsection in
author
Justin Ruggles
<justin.ruggles@gmail.com>
Thu, 24 Mar 2011 22:39:19 +0000
(18:39 -0400)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Fri, 25 Mar 2011 13:48:31 +0000
(09:48 -0400)
texi2pod.pl
doc/texi2pod.pl
patch
|
blob
|
history
diff --git
a/doc/texi2pod.pl
b/doc/texi2pod.pl
index
aa3273e
..
84c36ff
100755
(executable)
--- 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 {