0

I'm doing a java project and want to produce a word doc or pdf of inputted (formatted) text. I've read that I could use Apache POI xwpf, but I know infinitely more LaTEx commands than apache poi. How would I get my java program to open miketex and compile a tex file?

2
0

I've no idea about java, but surely you can run a software installed on the system. How to invoke pdftex: read the pdfTEX user manual, section 4, please. If you have a working installation of MiKTEX or texlive, type texdoc pdftex-a on the command line. Otherwise see here: https://ctan.org/pkg/pdftex

By the way, people usually use LaTeX. So if you are unsure, show us a minimal working example of a *.tex file you would like to compile.

Not the answer you're looking for? Browse other questions tagged or ask your own question.