Displaying 1 result from an estimated 1 matches for "i_found_a_com".
1997 Sep 01
1
R-alpha: old Rdoc 2 new Rdoc
...e_command_all("ITALIC", "emph");
replace_command_all("LINK", "link");
$text =~ s/LDOTS/\\ldots/g;
$text =~ s/DOTS/\\dots/g;
$text =~ s/%/\\%/sg;
$text =~ s/\$/\\\$/sg;
while($text =~ /COMMENT($ID)/){
$id = $1;
$text =~ s/COMMENT$id(.*)$id(\n?\s*)/I_FOUND_A_COMMENT/s;
$comment = " % $1";
$comment =~ s/\n/\n% /g;
$comment = "$comment\n" unless ($comment =~ /\n\s*$/s);
$text =~ s/I_FOUND_A_COMMENT/$comment/;
}
print stderr "done\n" if $opt_debug;
print stderr "Parsing math commands ... " if $opt_debug...