Skip to content
forked from DXsmiley/rtex

Minimal LaTeX rendering server (forked for xelatex and docker support)

License

classabbyamp/rtex

 
 

Repository files navigation

rTeX

Deployed example here

Minimal LaTeX rendering server.

Requirements:

  • Python 3.5.2
  • The libraries in requirements.txt
  • An installation of LaTeX, of some description.
    • MikTeX and TeXLive both work decently.
  • A command called convert. I think it's part of imagemagik but I'm not sure.

Security Concerns

The following settings should be applied to your texmf.cnf file in order to prevent security breaches:

shell_escape = f
parse_first_line = f
openout_any = p
openin_any = p

More details here.

Docker

Sample docker-compose.yml:

version: '3'
  services:
    rtex:
      image: "docker.pkg.github.com/classabbyamp/rtex/rtex:latest"
      restart: on-failure
      volumes:
        - "./data:/app/data:rw"
      environment:
	- PYTHONUNBUFFERED=1

About

Minimal LaTeX rendering server (forked for xelatex and docker support)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

 
 
 

Languages

  • Python 43.9%
  • HTML 23.2%
  • TeX 14.7%
  • CSS 12.9%
  • JavaScript 4.1%
  • Dockerfile 1.2%