Java library to create PDF from LaTeX source

13,509

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.

Share:
13,509
Edward Ruchevits
Author by

Edward Ruchevits

Updated on June 23, 2022

Comments

  • Edward Ruchevits
    Edward Ruchevits about 2 years

    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?