[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm

sakharuk lon-capa-cvs@mail.lon-capa.org
Fri, 05 Sep 2003 19:35:40 -0000


sakharuk		Fri Sep  5 15:35:40 2003 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  Added a line at the very end of xml/html documents (looks better if you print a sequence).
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.170 loncom/xml/londefdef.pm:1.171
--- loncom/xml/londefdef.pm:1.170	Fri Aug 29 22:38:11 2003
+++ loncom/xml/londefdef.pm	Fri Sep  5 15:35:40 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.170 2003/08/30 02:38:11 albertel Exp $
+# $Id: londefdef.pm,v 1.171 2003/09/05 19:35:40 sakharuk Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -541,7 +541,7 @@
     if ($target eq 'web') {
 	$currentstring = $token->[2];     
     } elsif ($target eq 'tex') {
-	$currentstring = '\end{document}';  
+	$currentstring = '\strut\newline\noindent\makebox[\textwidth/$number_of_columns][b]{\hrulefill}\newline\noindent \end{document}';  
     } 
     return $currentstring;
 }