Skip to content


jpallen edited this page Sep 13, 2010 · 2 revisions
Clone this wiki locally

The Common LaTeX Service Interface (CLSI) is an API providing access to an online LaTeX compiler. The CLSI has a single access point at where you can send a XML request supplying the files you wish to compile.

Developer Token

You will need a developer token to access the CLSI. A token can be requested by emailing

Compile process

The client sends a post request to /clsi/compile with the request body containing XML like the following:


  <resources root-resource-path='main.tex'>
    <resource path="main.tex">
        Hello World!

See Request Format for more details.

The server will then send a response telling the client where to get the compiled files in the following format:

<?xml version="1.0" encoding="UTF-8"?>
    <file type="pdf" url="" mimetype="application/pdf"/>
    <file type="log" url="" mimetype="text/plain"/>

See Response Format for more details.

Something went wrong with that request. Please try again.