The Common LaTeX Service Interface

The Common LaTeX Service Interface is a web service providing access to a LaTeX compiler.

How to get access

To use the CLSI you will need a developer token. To request a token please email me at james@scribtex.com.

An example request

<?xml version="1.0" encoding="UTF-8"?>
<compile>
  <token>e491fa5a2a7b0021d71bd0a5786de4fe</token>
  <resources root-resource-path="book.tex">
    <resource path="book.tex">
      <![CDATA[
\documentclass{report}

\begin{document}

Hi, this is an example of LaTeX in use. 

\input{chapters/chapter1.tex}

\end{document}
]]>
    </resource>
    <resource url="http://www.example.com/files/chapters/chapter1.tex" path="chapters/chapter1.tex" modified="Sat Jan 16 15:33:07 +0000 2010">
    </resource>
  </resources>
</compile>

An example response

<?xml version="1.0" encoding="UTF-8"?>
<compile>
  <status>success</status>
  <output>
    <file type="pdf" url="http://clsi.scribtex.com/output/2501b906ffdf392cfff3fbc4610d1be8/output.pdf" mimetype="application/pdf"/>
  </output>
  <logs>
    <file type="log" url="http://clsi.scribtex.com/output/2501b906ffdf392cfff3fbc4610d1be8/output.log" mimetype="text/plain"/>
  </logs>
</compile>