version 1.146, 2007/11/17 01:46:44
|
version 1.148, 2008/09/10 19:45:23
|
Line 375 sub end_window {
|
Line 375 sub end_window {
|
$result = "<script type=\"text/javascript\"> |
$result = "<script type=\"text/javascript\"> |
//<!-- |
//<!-- |
function LONCAPA_newwindow_$Apache::lonxml::curdepth() { |
function LONCAPA_newwindow_$Apache::lonxml::curdepth() { |
|
newWindow=open(".&Apache::lonhtmlcommon::javascript_nothing().",'new_W'); |
|
newWindow.close(); |
newWindow=open(".&Apache::lonhtmlcommon::javascript_nothing().",'new_W','width=$width,height=$height,scrollbars=1'); |
newWindow=open(".&Apache::lonhtmlcommon::javascript_nothing().",'new_W','width=$width,height=$height,scrollbars=1'); |
newWindow.".&Apache::lonhtmlcommon::javascript_docopen($mimetype)."; |
newWindow.".&Apache::lonhtmlcommon::javascript_docopen($mimetype)."; |
newWindow.document.writeln('$start_page $output $end_page'); |
newWindow.document.writeln('$start_page $output $end_page'); |
Line 619 sub start_algebra {
|
Line 621 sub start_algebra {
|
$inside = &Apache::run::evaluate($inside,$safeeval,$$parstack[-1]); |
$inside = &Apache::run::evaluate($inside,$safeeval,$$parstack[-1]); |
if ($target eq 'web' || $target eq 'tex' || $target eq 'analyze') { |
if ($target eq 'web' || $target eq 'tex' || $target eq 'analyze') { |
my $style=&Apache::lonxml::get_param('style',$parstack,$safeeval); |
my $style=&Apache::lonxml::get_param('style',$parstack,$safeeval); |
$result=&Apache::lontexconvert::algebra($inside,$target,$style); |
$result=&Apache::lontexconvert::algebra($inside,$target,$style,$parstack,$safeeval); |
} |
} |
$Apache::lonxml::post_evaluate=0; |
$Apache::lonxml::post_evaluate=0; |
} |
} |