Return to lonxml.pm CVS log | Up to [LON-CAPA] / loncom / xml |
version 1.272, 2003/08/13 18:57:28 | version 1.273, 2003/08/21 15:51:41 |
---|---|
Line 482 sub latex_special_symbols { | Line 482 sub latex_special_symbols { |
if ($where eq 'header') { | if ($where eq 'header') { |
$string =~ s/(\\|_|\^)/ /g; | $string =~ s/(\\|_|\^)/ /g; |
$string =~ s/(\$|%|\#|&|\{|\})/\\$1/g; | $string =~ s/(\$|%|\#|&|\{|\})/\\$1/g; |
$string =~ s/_/ /g; | |
} else { | } else { |
$string=~s/\\ /\\char92 /g; | $string=~s/\\ /\\char92 /g; |
$string=~s/\^/\\char94 /g; | $string=~s/\^/\\char94 /g; |