texi2pod.pl: Handle @subsubsection, ignore @anchor.

2007-02-16  Matthias Klose  <doko@debian.org>

        * texi2pod.pl: Handle @subsubsection, ignore @anchor.

From-SVN: r122026
This commit is contained in:
Matthias Klose 2007-02-16 01:02:57 +00:00 committed by Matthias Klose
parent 73663bb75e
commit d0fc3f0654
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-02-16 Matthias Klose <doko@debian.org>
* texi2pod.pl: Handle @subsubsection, ignore @anchor.
2007-02-10 Hans-Peter Nilsson <hp@axis.com>
* test_summary (configflags): Adjust for changes in the

View File

@ -254,6 +254,8 @@ while(<$inf>) {
and $_ = "\n=head2 $1\n";
/^\@subsection\s+(.+)$/
and $_ = "\n=head3 $1\n";
/^\@subsubsection\s+(.+)$/
and $_ = "\n=head4 $1\n";
# Block command handlers:
/^\@itemize(?:\s+(\@[a-z]+|\*|-))?/ and do {
@ -400,6 +402,9 @@ sub postprocess
s/\@gol//g;
s/\@\*\s*\n?//g;
# Anchors are thrown away
s/\@anchor\{(?:[^\}]*)\}//g;
# @uref can take one, two, or three arguments, with different
# semantics each time. @url and @email are just like @uref with
# one argument, for our purposes.