[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
foxr
lon-capa-cvs-allow@mail.lon-capa.org
Tue, 22 Apr 2008 10:24:25 -0000
foxr Tue Apr 22 06:24:25 2008 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
BZ5691 - correct the latex produced for
¨ and ´ so these entities don't cause print failures.
Note that entities.pm table will replace this RSN in any event, but
we don't like print failures in the meantime.
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.529 loncom/interface/lonprintout.pm:1.530
--- loncom/interface/lonprintout.pm:1.529 Fri Apr 4 12:38:34 2008
+++ loncom/interface/lonprintout.pm Tue Apr 22 06:24:24 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.529 2008/04/04 16:38:34 raeburn Exp $
+# $Id: lonprintout.pm,v 1.530 2008/04/22 10:24:24 foxr Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -629,7 +629,7 @@
$result =~ s/&(\#165|yen);/\\textyen /g;
$result =~ s/&(\#166|brvbar);/\\textbrokenbar /g;
$result =~ s/&(\#167|sect);/\\textsection /g;
- $result =~ s/&(\#168|uml);/\\texthighdieresis /g;
+ $result =~ s/&(\#168|uml);/\\"\{\} /g;
$result =~ s/&(\#169|copy);/\\copyright /g;
$result =~ s/&(\#170|ordf);/\\textordfeminine /g;
$result =~ s/&(\#172|not);/\\ensuremath\{\\neg\}/g;
@@ -640,7 +640,7 @@
$result =~ s/&(\#177|plusmn);/\\ensuremath\{\\pm\}/g;
$result =~ s/&(\#178|sup2);/\\ensuremath\{^2\}/g;
$result =~ s/&(\#179|sup3);/\\ensuremath\{^3\}/g;
- $result =~ s/&(\#180|acute);/\\textacute /g;
+ $result =~ s/&(\#180|acute);/\\'\{\} /g;
$result =~ s/&(\#181|micro);/\\ensuremath\{\\mu\}/g;
$result =~ s/&(\#182|para);/\\P/g;
$result =~ s/&(\#183|middot);/\\ensuremath\{\\cdot\}/g;