Web-based LaTeX editor and compiler. This application use Flask.
Docker image of this application is here
- Edit, compile and preview LaTeX document on the web.
- LDAP authentication support (using LDAP3).
- Automatic correction (using RedPen).
Default account is Admin and password is webtex
- Python 3.x
- Java
- TeX Live (texlive-lang-cjk)
- This application use
platex
to compile LaTeX document.
- This application use
- RedPen
- Ace
- Placement path:
static/ace-builds/src-noconflict/
- Placement path:
- pdftotext (poppler-utils)
-
Download and extract this project
-
Install
texlive-lang-cjk (or texlive-langcjk)
,openjdk-7-jre (or jre7-openjdk)
,poppler
-
Install Python3 modules using pip:
pip install -r pip-requirements.txt
-
Install Ace.js
$ wget https://github.com/ajaxorg/ace-builds/archive/v1.2.5.tar.gz -O /tmp/ace.tar.gz $ mkdir /tmp/ace-builds $ tar -xvf /tmp/ace.tar.gz -C /tmp/ace-builds --strip-components 1 $ mkdir -p WebTeX/static/ace-builds $ mv /tmp/ace-builds/src-noconflict WebTeX/static/ace-builds/ $ rm -f /tmp/ace.tar.gz && rm -rf /tmp/ace-builds
-
Install RedPen
$ wget https://github.com/redpen-cc/redpen/releases/download/redpen-1.7.4/redpen-1.7.4.tar.gz -O /tmp/redpen.tar.gz $ mkdir redpen $ tar -xvf /tmp/redpen.tar.gz -C redpen --strip-components 1 $ export PATH=$PATH:$PWD/redpen/bin $ rm -f /tmp/redpen.tar.gz
-
Run this application
$ python WebTeX/app.py