version 1.318, 2006/02/04 22:11:42
|
version 1.319, 2006/02/05 18:32:40
|
Line 3179 sub start_pre {
|
Line 3179 sub start_pre {
|
$currentstring .= $token->[4]; |
$currentstring .= $token->[4]; |
} elsif ($target eq 'tex') { |
} elsif ($target eq 'tex') { |
$currentstring .= '\begin{verbatim}'; |
$currentstring .= '\begin{verbatim}'; |
&Apache::lonxml::disable_LaTeX_substitutions; |
&Apache::lonxml::disable_LaTeX_substitutions(); |
} |
} |
return $currentstring; |
return $currentstring; |
} |
} |
Line 3191 sub end_pre {
|
Line 3191 sub end_pre {
|
$currentstring .= $token->[2]; |
$currentstring .= $token->[2]; |
} elsif ($target eq 'tex') { |
} elsif ($target eq 'tex') { |
$currentstring .= '\end{verbatim}'; |
$currentstring .= '\end{verbatim}'; |
&Apache::lonxml::enable_LaTeX_substitutions; |
&Apache::lonxml::enable_LaTeX_substitutions(); |
} |
} |
return $currentstring; |
return $currentstring; |
} |
} |