I have Java program, which receives some data and generates LaTeX document.
I need Java library to create PDF file from generated LaTeX source.
Could you recommend me something, please?
I agree with kurtzbot, LaTeX compilers are sophisticated pieces of software which cannot reasonably be rewritten in Java or any other language. If it were it would be a massive effort. To my knowledge there isn't even a C library implementing the compiler, one must us a command line program.
This is not to say that there aren't libraries which manage a build process, probably via system calls and monitoring temporary files (from the LaTeX build). For example, I know there is latexmk which performs such a task. If someone has made a Java implementation like it, I would bundle a LaTeX compiler and that manager into your program.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With