Return to lontexconvert.pm CVS log | Up to [LON-CAPA] / loncom / xml |
version 1.81, 2006/11/09 21:31:54 | version 1.82, 2007/06/13 00:21:03 |
---|---|
Line 151 ENDCONV | Line 151 ENDCONV |
sub clean_out_math_mode { | sub clean_out_math_mode { |
my ($texstring)=@_; | my ($texstring)=@_; |
$$texstring=~s/(?!\\)\$//g; | $$texstring=~s/(?<!\\)\$//g; |
$$texstring=~s/\\[\)\(\]\[]//g; | $$texstring=~s/\\[\)\(\]\[]//g; |
$$texstring=~s/\\ensuremath//g; | $$texstring=~s/\\ensuremath//g; |
return ''; | return ''; |