[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 05 Sep 2002 03:30:27 -0000
albertel Wed Sep 4 23:30:27 2002 EDT
Modified files:
/loncom/homework structuretags.pm
Log:
- should generate \end{document} for tex mode
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.111 loncom/homework/structuretags.pm:1.112
--- loncom/homework/structuretags.pm:1.111 Tue Sep 3 22:48:31 2002
+++ loncom/homework/structuretags.pm Wed Sep 4 23:30:27 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.111 2002/09/04 02:48:31 albertel Exp $
+# $Id: structuretags.pm,v 1.112 2002/09/05 03:30:27 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -393,8 +393,8 @@
$result.= $gradestatus;
}
if (
- (($target eq 'web' || $target eq 'tex') && ($ENV{'request.state'} ne 'construct')) ||
- ($target eq 'answer')
+ (($target eq 'web') && ($ENV{'request.state'} ne 'construct')) ||
+ ($target eq 'answer') || ($target eq 'tex')
) {
if ($status eq 'CAN_ANSWER') {
if ($target ne 'tex') {