Update of /cvsroot/aimmath/AIM/WEB-INF/java/tth
In directory sc8-pr-cvs1:/tmp/cvs-serv7382
Modified Files:
Tag: develop_2_1
TtH.java
Log Message:
changed ID of the file
Index: TtH.java
===================================================================
RCS file: /cvsroot/aimmath/AIM/WEB-INF/java/tth/TtH.java,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -d -r1.2 -r1.2.2.1
*** TtH.java 5 May 2003 05:12:52 -0000 1.2
--- TtH.java 30 Aug 2003 16:40:35 -0000 1.2.2.1
***************
*** 130,134 ****
}
! public static String convertChunk(String s)
throws Exception {
--- 130,134 ----
}
! public static String convertChunk(String s, String opt)
throws Exception {
***************
*** 146,150 ****
// start a TtH process
! p = Runtime.getRuntime().exec(program + " -r -L");
tthinput = p.getOutputStream();
outreader = new TtHReader(p.getInputStream());
--- 146,150 ----
// start a TtH process
! p = Runtime.getRuntime().exec(program + " " + opt + " -r -L");
tthinput = p.getOutputStream();
outreader = new TtHReader(p.getInputStream());
***************
*** 181,185 ****
}
! public static String convert(String s)
throws Exception {
int i,j,k,l,m;
--- 181,185 ----
}
! public static String convert(String s, String opt)
throws Exception {
int i,j,k,l,m;
***************
*** 213,217 ****
i = input.length();
} else {
! html += convertChunk(input.substring(k,l));
i = l + "</latex>".length();
}
--- 213,217 ----
i = input.length();
} else {
! html += convertChunk(input.substring(k,l),opt);
i = l + "</latex>".length();
}
|