aslushnikov / latex-online

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

How to compile files that have dependencies by using latex online API #81

Open thibault-chausson opened 1 year ago

thibault-chausson commented 1 year ago

Hey,

I would like generate a pdf file, with a LaTeX like this :

\documentclass[a4paper, 11pt]{article} 
\usepackage{graphicx}

\begin{document}

\includegraphics[height=3cm]{./myImg.png}

\end{document}

Is it possible to send all the information through a url : http://myserver/compile?url=http://myServer/myFile/main.tex&img=http://myServer/myFile/myImg.png

Or if we have to use the command-line interface, how do we make it work with a php or js file ?

Thanks a lot,

Thibault

MShirazAhmad commented 1 year ago

Any leads on this?