Displaying 1 result from an estimated 1 matches for "unmark_par".
1997 Sep 01
1
R-alpha: old Rdoc 2 new Rdoc
...);
$text =~ s/DEQN$id(.*)$id/\\deqn\{$args[0]\}\{$args[1]\}/s;
}
print stderr "eqn ... " if $opt_debug;
replace_command_all("EQN", "eqn");
print stderr "done\n" if $opt_debug;
print stderr "Unmarking parantheses ... " if $opt_debug;
$text = unmark_parents($text);
print stderr "done\n" if $opt_debug;
print $text;
# Mark each matching opening and closing parenthesis with a unique id.
# Idea and original code from latex2html
sub mark_parents {
my $text = $_[0];
$text =~ s/([^\\])\\\(/$1$EOP/gso;
$text =~ s/([^\\])\\\)/$...