[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /xml lontexconvert.pm

raeburn raeburn at source.lon-capa.org
Fri Feb 15 12:52:54 EST 2019


raeburn		Fri Feb 15 17:52:54 2019 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/xml	lontexconvert.pm 
  Log:
  - For 2.11
    Backport 1.120 (part).
  
  
Index: loncom/xml/lontexconvert.pm
diff -u loncom/xml/lontexconvert.pm:1.112.2.7 loncom/xml/lontexconvert.pm:1.112.2.8
--- loncom/xml/lontexconvert.pm:1.112.2.7	Mon Apr 23 19:33:17 2018
+++ loncom/xml/lontexconvert.pm	Fri Feb 15 17:52:54 2019
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # TeX Conversion Module
 #
-# $Id: lontexconvert.pm,v 1.112.2.7 2018/04/23 19:33:17 raeburn Exp $
+# $Id: lontexconvert.pm,v 1.112.2.8 2019/02/15 17:52:54 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -328,6 +328,11 @@
         }
 	return $env{'environment.texengine'};
     }
+    my $dom = $env{'request.role.domain'} || $env{'user.domain'};
+    my %domdefaults = &Apache::lonnet::get_domain_defaults($dom);
+    if ($domdefaults{'texengine'} ne '') {
+        return $domdefaults{'texengine'};
+    }
     return 'tth';
 }
 




More information about the LON-CAPA-cvs mailing list