[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm
sakharuk
lon-capa-cvs@mail.lon-capa.org
Wed, 26 May 2004 15:33:45 -0000
sakharuk Wed May 26 11:33:45 2004 EDT
Modified files:
/loncom/xml londefdef.pm
Log:
Added \strut around \newline at the beginning and end of table to avoid standard LaTeX error 'Can not start a new line'.
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.217 loncom/xml/londefdef.pm:1.218
--- loncom/xml/londefdef.pm:1.217 Wed May 26 11:13:56 2004
+++ loncom/xml/londefdef.pm Wed May 26 11:33:45 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Tags Default Definition Module
#
-# $Id: londefdef.pm,v 1.217 2004/05/26 15:13:56 sakharuk Exp $
+# $Id: londefdef.pm,v 1.218 2004/05/26 15:33:45 sakharuk Exp $
#
#
# Copyright Michigan State University Board of Trustees
@@ -1832,7 +1832,7 @@
$Apache::londefdef::table[-1]{'vvinc'} = '';
}
if ($#Apache::londefdef::table==0) {
- $Apache::londefdef::table[-1]{'output'}='\newline\setlength{\tabcolsep}{1 mm}';
+ $Apache::londefdef::table[-1]{'output'}='\strut\newline\strut\setlength{\tabcolsep}{1 mm}';
}
$Apache::londefdef::table[-1]{'output'}.=' \noindent \begin{tabular} ';
$Apache::londefdef::table[-1]{'TeXlen'}=[];
@@ -2014,7 +2014,7 @@
}
$output.=' \\\\ '.$Apache::londefdef::table[-1]{'hinc'}.' ';
}
- $Apache::londefdef::table[-1]{'output'} .= $header_of_table.$Apache::londefdef::table[-1]{'hinc'}.$output.'\end{tabular}\vskip 0 mm ';
+ $Apache::londefdef::table[-1]{'output'} .= $header_of_table.$Apache::londefdef::table[-1]{'hinc'}.$output.'\end{tabular}\strut\newline\strut ';
if ($#Apache::londefdef::table > 0) {
my $inmemory = $Apache::londefdef::table[-1]{'output'};
pop @Apache::londefdef::table;