|
|
@ -172,6 +172,9 @@ INF: while(<$inf>) { |
|
|
|
} elsif ($ended =~ /^(?:itemize|enumerate|(?:multi|[fv])?table)$/) { |
|
|
|
} elsif ($ended =~ /^(?:itemize|enumerate|(?:multi|[fv])?table)$/) { |
|
|
|
$_ = "\n=back\n"; |
|
|
|
$_ = "\n=back\n"; |
|
|
|
$ic = pop @icstack; |
|
|
|
$ic = pop @icstack; |
|
|
|
|
|
|
|
} elsif ($ended =~ /^float$/) { |
|
|
|
|
|
|
|
$_ = "\n=back\n"; |
|
|
|
|
|
|
|
$ic = pop @icstack; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
die "unknown command \@end $ended at line $.\n"; |
|
|
|
die "unknown command \@end $ended at line $.\n"; |
|
|
|
} |
|
|
|
} |
|
|
@ -297,6 +300,12 @@ INF: while(<$inf>) { |
|
|
|
$_ = ""; # need a paragraph break |
|
|
|
$_ = ""; # need a paragraph break |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/^\@(float)\s+\w+/ and do { |
|
|
|
|
|
|
|
push @endwstack, $endw; |
|
|
|
|
|
|
|
$endw = $1; |
|
|
|
|
|
|
|
$_ = "\n=over 4\n"; |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
/^\@item\s+(.*\S)\s*$/ and $endw eq "multitable" and do { |
|
|
|
/^\@item\s+(.*\S)\s*$/ and $endw eq "multitable" and do { |
|
|
|
my $columns = $1; |
|
|
|
my $columns = $1; |
|
|
|
$columns =~ s/\@tab/ : /; |
|
|
|
$columns =~ s/\@tab/ : /; |
|
|
|