[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm
sakharuk
lon-capa-cvs@mail.lon-capa.org
Mon, 14 Jul 2003 14:29:26 -0000
sakharuk Mon Jul 14 10:29:26 2003 EDT
Modified files:
/loncom/xml londefdef.pm
Log:
Added switch - batchmode on/batchmode off.
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.152 loncom/xml/londefdef.pm:1.153
--- loncom/xml/londefdef.pm:1.152 Wed Jul 9 16:04:19 2003
+++ loncom/xml/londefdef.pm Mon Jul 14 10:29:26 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Tags Default Definition Module
#
-# $Id: londefdef.pm,v 1.152 2003/07/09 20:04:19 sakharuk Exp $
+# $Id: londefdef.pm,v 1.153 2003/07/14 14:29:26 sakharuk Exp $
#
#
# Copyright Michigan State University Board of Trustees
@@ -157,9 +157,9 @@
&Apache::lonxml::fontsettings();
} elsif ($target eq 'tex') {
@Apache::londefdef::table = ();
- $currentstring .= '\documentclass[letterpaper]{article}'.
- #'\batchmode'.
- '\newcommand{\keephidden}[1]{}
+ $currentstring .= '\documentclass[letterpaper]{article}';
+ if ($ENV{'form.latex_type'}=~'batchmode') {$currentstring .='\batchmode';}
+ $currentstring .= '\newcommand{\keephidden}[1]{}
\renewcommand{\deg}{$^{\circ}$}
\usepackage{longtable}
\usepackage{textcomp}