--- loncom/interface/lonprintout.pm 2005/08/29 10:06:52 1.389 +++ loncom/interface/lonprintout.pm 2005/09/06 09:54:21 1.391 @@ -1,7 +1,7 @@ # The LearningOnline Network # Printout # -# $Id: lonprintout.pm,v 1.389 2005/08/29 10:06:52 foxr Exp $ +# $Id: lonprintout.pm,v 1.391 2005/09/06 09:54:21 foxr Exp $ # # Copyright Michigan State University Board of Trustees # @@ -508,6 +508,7 @@ sub character_chart { $result =~ s/&(prod|\#8719);/\\ensuremath\{\\prod\}/g; $result =~ s/&(sum|\#8721);/\\ensuremath\{\\sum\}/g; $result =~ s/&(minus|\#8722);/\\ensuremath\{-\}/g; + $result =~ s/–/\\ensuremath\{-\}/g; $result =~ s/&(lowast|\#8727);/\\ensuremath\{*\}/g; $result =~ s/&(radic|\#8730);/\\ensuremath\{\\surd\}/g; $result =~ s/&(prop|\#8733);/\\ensuremath\{\\propto\}/g; @@ -2321,6 +2322,8 @@ CHOOSE_FROM_SUBDIR CHOOSE_FROM_ANY_SEQUENCE return \$res->is_sequence; return $urlValue; + return \$res->hasResource(\$res,sub { return !\$_[0]->is_sequence() },0,0); +