aslushnikov / latex-online

Online latex compiler. You give it a link, it gives you PDF
http://latexonline.cc
MIT License
497 stars 89 forks source link

Add support for multiple compilers (Xelatex, Lualatex) #31

Closed MonsieurV closed 7 years ago

MonsieurV commented 7 years ago

Hello @aslushnikov,

Love what you're doing here!

I was wondering if this was possible to add multiple compilers support on the API, specified as an optional argument?

A bit like cli-sharelatex does with the compilers option.

The reason behind is: we often have Latex documents that works well with a compiler, but don't work properly on others. (I myself use template that only work on Lualatex)

To support lualatex, pdflatex and xelatex would make the Docker image heavier, but it seems manageable.

What do you think?

I can try a PR for that.

aslushnikov commented 7 years ago

Hi @MonsieurV!

Thank you for your interest :) There's already supports for xelatex and pdflatex, and I've just added lualatex. Here is a usage example.

Hope this helps!

MonsieurV commented 7 years ago

Yes, this is cool!

I have some question on the Rest API, but better ask that in another issue.