This repository contains a Dockerfile for setting up a ShareLaTeX environment with a full TeX Live installation and additional tools like Inkscape.
- Base Image: Uses the official
sharelatex/sharelatex
image. - TeX Live: Installs the full TeX Live distribution (
scheme-full
) for comprehensive LaTeX support. - Inkscape: Adds Inkscape for handling SVG graphics.
- Shell Escape: Enables shell-escape by default for LaTeX documents requiring it.
- Internet connection to download required packages.
- WSL installed on your system. (Install)
- Docker installed on your system. (Install)
-
Clone this repository:
git clone https://git.serv.eserver.icu/ewbc/sharelatexfull.git cd sharelatexfull
-
Build the Docker image:
docker build -t sharelatexfull .
-
Follow the steps from the Overleaf Quickstart Guide
-
Before running
bin/up
go toconfig/overleaf.rc
and make the following changes:OVERLEAF_IMAGE_NAME=sharelatex/sharelatex
to
OVERLEAF_IMAGE_NAME=git.serv.eserver.icu/ewbc/sharelatexfull
-
After you made the changes you can now start Overleaf using
bin/up
(Usebin/up -d
for detaching the output) -
Go to http://127.0.0.1/launchpad on first run
curl -fsSL -o /tmp/overleaf_install_script.sh https://git.serv.eserver.icu/ewbc/sharelatexfull/raw/branch/main/scripts/overleaf_automated_install.sh && bash /tmp/overleaf_install_script.sh && rm /tmp/overleaf_install_script.sh
After the Installation you may launch overleaf_manager_script.sh
or open the the Overleaf Manager Shortcut in Windows Start
- TeX Live Updates: The Dockerfile updates TeX Live to the latest version during the build process.
- Additional Packages: Modify the
tlmgr install
command in the Dockerfile to include any additional LaTeX packages you need.
- The
update-tlmgr-latest.sh
script is used to ensure the latest version oftlmgr
is installed. - The
texmf.cnf
file is updated to enable shell-escape by default.
- If you encounter issues with missing LaTeX packages, ensure that the
scheme-full
installation was successful. - For any other issues, check the container logs:
docker logs sharelatex
This project is licensed under the MIT License. See the LICENSE file for details.
- ShareLaTeX for the base Docker image.
- CTAN for TeX Live resources.