+* mdoc2texi fixes: parseQuote, closing of list item tables.
* ntp-wait, ntpd, ntpdc, ntpq, ntpsnmpd autogen documentation updates.
* mdoc2texi fixes: Handle_ArCmFlIc, Handle_Fn, HandleQ.
* ntp-keygen autogen documentation updates.
$retval .= "\@end enumerate\n";
print $retval;
}
+ elsif ($optlist == 3)
+ {
+ $oldoptlist = 0;
+ $retval .= "\@end table\n";
+ print $retval;
+ }
elsif ($optlist = 4)
{
$count = 0;
$retval .= "\n\@end multitable\n";
print $retval;
}
+ else
+ {
+ die "optlist <$optlist> was not expected.";
+ }
$optlist = 0;
}
}
print " " if $didOne && $spacing;
print '@code{';
print $dash if ($dash ne ""); # Do we need this?
- ParseQuote(\@words);
+ parseQuote(\@words);
print $words[0];
print '}';
}
if ($words[0] =~ /^"/) {
# assert $isOpen == 1
print '@code{, }' if ($didArg);
- ParseQuote(\@words);
+ parseQuote(\@words);
print '@emph{', $words[0], "}";
$didArg = 1;
} else {
elsif (/^Sq$/) { $lq = '@quoteleft{}'; $rq = '@quoteright{}'; }
print "$lq";
- do {
+ while (@words > 0 && $words[0] !~ /^[[:punct:]]$/) {
# print STDERR "Handle_Q: <$words[0]>\n"; # XXX
print " " if ($wc);
print shift @words;
++$wc;
- } while (@words > 0 || $words[0] =~ /^[[:punct:]]$/);
+ }
print "$rq";
print join('', @words) if (@words > 0);
print "\n";
$sh =~ /Sh/;
- ParseQuote(\@words) if ($words[0] =~ /^"/);
+ parseQuote(\@words) if ($words[0] =~ /^"/);
$a = $words[0];
my ($a);
- ParseQuote(\@words) if ($words[0] =~ /^"/);
+ parseQuote(\@words) if ($words[0] =~ /^"/);
$a = $words[0];
print "\n";
}
-sub ParseQuote # ref to array of words
+sub parseQuote # ref to array of words
{
my ($waref) = @_; # word array reference
my ($string);