[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm
sakharuk
lon-capa-cvs@mail.lon-capa.org
Tue, 08 Jun 2004 14:13:22 -0000
sakharuk Tue Jun 8 10:13:22 2004 EDT
Modified files:
/loncom/xml londefdef.pm
Log:
Added a few \strut after list environment definition to avoide LaTeX warning
message (error message) LaTeX Error: There's no line here to end.
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.220 loncom/xml/londefdef.pm:1.221
--- loncom/xml/londefdef.pm:1.220 Thu Jun 3 14:08:03 2004
+++ loncom/xml/londefdef.pm Tue Jun 8 10:13:21 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Tags Default Definition Module
#
-# $Id: londefdef.pm,v 1.220 2004/06/03 18:08:03 sakharuk Exp $
+# $Id: londefdef.pm,v 1.221 2004/06/08 14:13:21 sakharuk Exp $
#
#
# Copyright Michigan State University Board of Trustees
@@ -1537,17 +1537,17 @@
$currentstring .= ' \renewcommand{\labelitemi}{$\bullet$}
\renewcommand{\labelitemii}{$\bullet$}
\renewcommand{\labelitemiii}{$\bullet$}
- \renewcommand{\labelitemiv}{$\bullet$}';
+ \renewcommand{\labelitemiv}{$\bullet$}\strut ';
} elsif ($TeXtype eq 'circle') {
$currentstring .= ' \renewcommand{\labelitemi}{$\circ$}
\renewcommand{\labelitemii}{$\circ$}
\renewcommand{\labelitemiii}{$\circ$}
- \renewcommand{\labelitemiv}{$\circ$}';
+ \renewcommand{\labelitemiv}{$\circ$}\strut ';
} elsif ($TeXtype eq 'square') {
$currentstring .= ' \renewcommand{\labelitemi}{$\diamond$}
\renewcommand{\labelitemii}{$\diamond$}
\renewcommand{\labelitemiii}{$\diamond$}
- \renewcommand{\labelitemiv}{$\diamond$}';
+ \renewcommand{\labelitemiv}{$\diamond$}\strut ';
}
$currentstring .= '\begin{itemize}';
}
@@ -1563,7 +1563,7 @@
$currentstring = '\end{itemize} \renewcommand{\labelitemi}{$\bullet$}
\renewcommand{\labelitemii}{$\bullet$}
\renewcommand{\labelitemiii}{$\bullet$}
- \renewcommand{\labelitemiv}{$\bullet$}';
+ \renewcommand{\labelitemiv}{$\bullet$}\strut ';
}
return $currentstring;
}
@@ -1626,27 +1626,27 @@
$currentstring .= ' \renewcommand{\labelenumi}{\arabic{enumi}.}
\renewcommand{\labelenumii}{\arabic{enumii}.}
\renewcommand{\labelenumiii}{\arabic{enumiii}.}
- \renewcommand{\labelenumiv}{\arabic{enumiv}.}';
+ \renewcommand{\labelenumiv}{\arabic{enumiv}.}\strut ';
} elsif ($type eq 'A') {
$currentstring .= ' \renewcommand{\labelenumi}{\Alph{enumi}.}
\renewcommand{\labelenumii}{\Alph{enumii}.}
\renewcommand{\labelenumiii}{\Alph{enumiii}.}
- \renewcommand{\labelenumiv}{\Alph{enumiv}.}';
+ \renewcommand{\labelenumiv}{\Alph{enumiv}.}\strut ';
} elsif ($type eq 'a') {
$currentstring .= ' \renewcommand{\labelenumi}{\alph{enumi}.}
\renewcommand{\labelenumii}{\alph{enumii}.}
\renewcommand{\labelenumiii}{\alph{enumiii}.}
- \renewcommand{\labelenumiv}{\alph{enumiv}.} ';
+ \renewcommand{\labelenumiv}{\alph{enumiv}.} \strut ';
} elsif ($type eq 'i') {
$currentstring .= ' \renewcommand{\labelenumi}{\roman{enumi}.}
\renewcommand{\labelenumii}{\roman{enumii}.}
\renewcommand{\labelenumiii}{\roman{enumiii}.}
- \renewcommand{\labelenumiv}{\roman{enumiv}.} ';
+ \renewcommand{\labelenumiv}{\roman{enumiv}.}\strut ';
} elsif ($type eq 'I') {
$currentstring .= ' \renewcommand{\labelenumi}{\Roman{enumi}.}
\renewcommand{\labelenumii}{\Roman{enumii}.}
\renewcommand{\labelenumiii}{\Roman{enumiii}.}
- \renewcommand{\labelenumiv}{\Roman{enumiv}.} ';
+ \renewcommand{\labelenumiv}{\Roman{enumiv}.} \strut ';
}
$currentstring .= '\begin{enumerate}';
}
@@ -1662,7 +1662,7 @@
$currentstring = '\end{enumerate} \renewcommand{\labelenumi}{\arabic{enumi}.}
\renewcommand{\labelenumii}{\arabic{enumii}.}
\renewcommand{\labelenumiii}{\arabic{enumiii}.}
- \renewcommand{\labelenumiv}{\arabic{enumiv}.}';
+ \renewcommand{\labelenumiv}{\arabic{enumiv}.}\strut ';
}
return $currentstring;
}