I am currently working on an automatic prototype of a theorem in Java.
I would like to provide this evidence as a PDF. Preferably, it will go something like LaTeX using proof.sty or qtree.sty . However, I read that rendering LaTeX code with Java can be a bit problematic .
In Java, proofs are proven by simple trees inspired by Haskell trees, like:
class Tree<A> {
A value;
List<A> subForest;
}
Does anyone have any ideas on how best to do this?
Regarding a related note (i.e. solutions with the rest), what are the best methods for invoking an executable pdflatexfrom Java? (Regarding location, finding out whether or not there, etc.)
source
share