Web-based LaTeX editor and compiler. This application use Flask.
Docker image of this application is here
Default account is Admin and password is webtex
platex
to compile LaTeX document.static/ace-builds/src-noconflict/
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