[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm
sakharuk
lon-capa-cvs@mail.lon-capa.org
Thu, 19 Jun 2003 15:30:58 -0000
sakharuk Thu Jun 19 11:30:58 2003 EDT
Modified files:
/loncom/xml londefdef.pm
Log:
LaTeX parsing is changed to batchmode. It allows to automatically correct a simple LaTeX errors (such as typos for example <m>$a^2</m> instead <m>$a^2$</m>) but for more complicated situations it;s more unpredictable.
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.139 loncom/xml/londefdef.pm:1.140
--- loncom/xml/londefdef.pm:1.139 Thu Jun 19 10:58:39 2003
+++ loncom/xml/londefdef.pm Thu Jun 19 11:30:58 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Tags Default Definition Module
#
-# $Id: londefdef.pm,v 1.139 2003/06/19 14:58:39 sakharuk Exp $
+# $Id: londefdef.pm,v 1.140 2003/06/19 15:30:58 sakharuk Exp $
#
#
# Copyright Michigan State University Board of Trustees
@@ -158,6 +158,7 @@
} elsif ($target eq 'tex') {
@Apache::londefdef::table = ();
$currentstring .= '\documentclass[letterpaper]{article}
+ \batchmode
\newcommand{\keephidden}[1]{}
\renewcommand{\deg}{$^{\circ}$}
\usepackage{textcomp}