[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Fri, 13 Jan 2006 21:10:03 -0000
albertel Fri Jan 13 16:10:03 2006 EDT
Modified files:
/loncom/xml londefdef.pm
Log:
- forwardport \begin{venter} correntions
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.313 loncom/xml/londefdef.pm:1.314
--- loncom/xml/londefdef.pm:1.313 Thu Jan 12 18:48:00 2006
+++ loncom/xml/londefdef.pm Fri Jan 13 16:10:03 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Tags Default Definition Module
#
-# $Id: londefdef.pm,v 1.313 2006/01/12 23:48:00 foxr Exp $
+# $Id: londefdef.pm,v 1.314 2006/01/13 21:10:03 albertel Exp $
#
#
# Copyright Michigan State University Board of Trustees
@@ -619,9 +619,6 @@
$currentstring = $token->[2];
} elsif ($target eq 'tex') {
$currentstring = '\end{center}';
- if (&is_inside_of($tagstack, "table")) {
- $currentstring .= ¢er_correction();
- }
}
return $currentstring;
}
@@ -1195,7 +1192,6 @@
$closing_string = '\end{center}';
if (&is_inside_of($tagstack, "table")) {
$currentstring = ¢er_correction().$currentstring;
- $closing_string .= ¢er_correction();
}
} elsif ($align eq 'right') {
$currentstring.='\makebox['.$env{'form.textwidth'}.']{\hfill\llap{';
@@ -1544,7 +1540,6 @@
$endstring = '\end{center}';
if (&is_inside_of($tagstack, "table")) {
$currentstring = ¢er_correction().$currentstring;
- $endstring .= ¢er_correction();
}
}
elsif ($align eq 'right') {
@@ -2244,7 +2239,7 @@
}
$output.=$Apache::londefdef::table[-1]{'content'}[$in][$jn];
if ($Apache::londefdef::table[-1]{'align'}[$in][$jn] eq 'c') {
- $output.='\end{center}'.¢er_correction();
+ $output.='\end{center}';
} elsif ($Apache::londefdef::table[-1]{'align'}[$in][$jn] eq 'r') {
$output.='} ';
}