Commit be59675a authored by Luca Barbato's avatar Luca Barbato Committed by Vittorio Giovara

doc: Change the multitable rendering in texi2pod

Makes it working better for our documentation purposes.
parent 59388dac
......@@ -277,6 +277,14 @@ INF: while(<$inf>) {
$_ = "\n=over 4\n";
};
/^\@(multitable)\s+{.*/ and do {
push @endwstack, $endw;
push @icstack, $ic;
$endw = $1;
$ic = "";
$_ = "\n=over 4\n";
};
/^\@((?:small)?example|display)/ and do {
push @endwstack, $endw;
$endw = $1;
......@@ -293,10 +301,10 @@ INF: while(<$inf>) {
/^\@tab\s+(.*\S)\s*$/ and $endw eq "multitable" and do {
my $columns = $1;
$columns =~ s/\@tab/ : /;
$columns =~ s/\@tab//;
$_ = " : ". $columns;
$section =~ s/\n+\s+$//;
$_ = $columns;
$section =~ s/$//;
};
/^\@itemx?\s*(.+)?$/ and do {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment