LaTeX Conversion Library

This library provides functionality to convert LaTeX code into a PDF file. The main functionality is encapsulated in the convertLatex method of the provided class.

Installation

Build the container by running DOCKER_BUILDKIT=1 docker-compose build

Usage

To convert LaTeX code to a PDF file, follow these steps:

  1. Make a POST request to the /latex route.
  2. Include the LaTeX code in the request payload using the latex_code parameter. The code should be base64 encoded.
  3. The method will handle the request and perform the conversion.
  4. You will receive a streamed response containing the PDF file.