Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

xiaosq2000/latex-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaTex in docker

A dockerized LaTeX setup with lots of stuff, including TexLive, Zathura PDF Viewer (MuPDF backend), NeoVim, tmux, texlab, Adobe fonts ...

Already tested on Ubuntu 20.04, 22.04, 24.04.

Quick Start

0. Requirements

Docker Engine and Docker Compose

1. Setup

1.1 Run the setup script

./setup.bash -h

For a common user, get everything ready for the first time by executing

sudo ./setup.bash --build --download_texlive --download_typefaces --extract_typefaces

If using network proxy, modify related environment variables in setup.bash, and then

sudo ./setup.bash --build --build_with_proxy --run_with_proxy --download_texlive --download_typefaces --extract_typefaces

1.2 Map your workspace

Modify the section services.latex.volumes in 'docker-compose.yml' to map your workspace directories in the host machine into the Docker container's file system.

2. Build & Run

docker compose build && docker compose up -d

3. Use it

docker exec -it latex zsh

About

A dockerized LaTex setup for personal use.

Resources

License

Stars

Watchers

Forks