فهرست منبع

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

Justin Ruggles 14 سال پیش
والد
کامیت
7f0e747b8c
1فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 4 2
      doc/texi2pod.pl

+ 4 - 2
doc/texi2pod.pl

@@ -231,10 +231,12 @@ while(<$inf>) {
 
 
     # Single line command handlers.
     # Single line command handlers.
 
 
-    /^\@(?:section|unnumbered|unnumberedsec|center)\s+(.+)$/
+    /^\@(?:section|unnumbered|unnumberedsec|center|heading)\s+(.+)$/
         and $_ = "\n=head2 $1\n";
         and $_ = "\n=head2 $1\n";
-    /^\@subsection\s+(.+)$/
+    /^\@(?:subsection|subheading)\s+(.+)$/
         and $_ = "\n=head3 $1\n";
         and $_ = "\n=head3 $1\n";
+    /^\@(?:subsubsection|subsubheading)\s+(.+)$/
+        and $_ = "\n=head4 $1\n";
 
 
     # Block command handlers:
     # Block command handlers:
     /^\@itemize\s*(\@[a-z]+|\*|-)?/ and do {
     /^\@itemize\s*(\@[a-z]+|\*|-)?/ and do {