[LON-CAPA-cvs] cvs: loncom /xml lontexconvert.pm
raeburn
lon-capa-cvs-allow@mail.lon-capa.org
Fri, 18 Jul 2008 13:09:33 -0000
raeburn Fri Jul 18 09:09:33 2008 EDT
Modified files:
/loncom/xml lontexconvert.pm
Log:
- Problem testing in CSTR - if blank was selected for "math rendering" option, don't return, otherwise tex engine set in user preference will be ignored.
Index: loncom/xml/lontexconvert.pm
diff -u loncom/xml/lontexconvert.pm:1.87 loncom/xml/lontexconvert.pm:1.88
--- loncom/xml/lontexconvert.pm:1.87 Wed Feb 6 05:16:00 2008
+++ loncom/xml/lontexconvert.pm Fri Jul 18 09:09:33 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# TeX Conversion Module
#
-# $Id: lontexconvert.pm,v 1.87 2008/02/06 10:16:00 foxr Exp $
+# $Id: lontexconvert.pm,v 1.88 2008/07/18 13:09:33 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -219,7 +219,9 @@
sub tex_engine {
if (exists($env{'form.texengine'})) {
- return $env{'form.texengine'};
+ if ($env{'form.texengine'} ne '') {
+ return $env{'form.texengine'};
+ }
}
if ($env{'request.course.id'}
&& exists($env{'course.'.$env{'request.course.id'}.'.texengine'})) {