Update of /cvsroot/aimmath/AIM/WEB-INF/java
In directory sc8-pr-cvs1:/tmp/cvs-serv12072/WEB-INF/java
Modified Files:
Tag: develop_2_1
Alice.java Maple.java
Log Message:
now provide MathDisplay=latex option
Index: Alice.java
===================================================================
RCS file: /cvsroot/aimmath/AIM/WEB-INF/java/Alice.java,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -C2 -d -r1.2.2.1 -r1.2.2.2
Index: Maple.java
===================================================================
RCS file: /cvsroot/aimmath/AIM/WEB-INF/java/Maple.java,v
retrieving revision 1.2.2.2
retrieving revision 1.2.2.3
diff -C2 -d -r1.2.2.2 -r1.2.2.3
*** Maple.java 17 Aug 2003 11:28:24 -0000 1.2.2.2
--- Maple.java 24 Aug 2003 14:44:42 -0000 1.2.2.3
***************
*** 178,184 ****
if (out != null) {
! if (mathdisplay == "html")
out.print(tth.TtH.convert(outstring.toString()));
! else if (mathdisplay == "latex")
out.print(outstring.toString());
else // default to using tth
--- 178,184 ----
if (out != null) {
! if (mathdisplay.toLowerCase().equals("html")) // this don't work! How do we do string comparisons?
out.print(tth.TtH.convert(outstring.toString()));
! else if (mathdisplay.toLowerCase().equals("latex"))
out.print(outstring.toString());
else // default to using tth
|