Module: libav
Branch: master
Commit: 7f0e747b8c2f732ea40c4cc072fe5a3c25ec3799

Author:    Justin Ruggles <justin.rugg...@gmail.com>
Committer: Justin Ruggles <justin.rugg...@gmail.com>
Date:      Thu Mar 24 18:39:19 2011 -0400

support @heading, @subheading, @subsubheading, and @subsubsection in
texi2pod.pl

---

 doc/texi2pod.pl |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index aa3273e..84c36ff 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 {

_______________________________________________
libav-commits mailing list
libav-commits@libav.org
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to