Skip to content

πŸƒ Easy breezy latex, monitor .tex files & build on change

License

Notifications You must be signed in to change notification settings

loiccoyle/localleaf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

56 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸƒ localleaf

License CI AUR version

Easy breezy latex.

Spins up a latex docker image, monitors .tex files and builds on change.

πŸ“‹ Usage

  1. Download your overleaf source and extract it.

    Pro-tip: sync your project with github and clone it instead!

  2. Run localleaf project_folder project_folder/main_document.tex

If in doubt check the -help.

$ localleaf -h
Easy breezy latex.

Spins up a latex docker image, monitors .tex files and builds on change.

Usage: localleaf [OPTIONS] PROJECT_DIR [MAIN_DOCUMENT]
  -h                          Show this message and exit.
  -e                          Latex engine [pdflatex] {latex,pdflatex,xelatex,lualatex}
  -i                          Docker image. [loiccoyle/localleaf]
  -c                          Commit changes on exit.
  -o                          Don't monitor, build once and exit.
  -p                          Set build files owner's to $USER:$USER on exit.
  PROJECT_DIR                 Folder containing your project.
  MAIN_DOCUMENT               The main document of your project.

πŸ“¦ Installation

Dependencies

You only need docker.

Manual

Clone this repo and add the script somewhere on your $PATH.

git clone https://github.com/loiccoyle/localleaf
mv localleaf/localleaf ~/.local/bin/

Arch

Using your favourite AUR helper:

paru -S localleaf-git

πŸ“œ TODO

  • Add ci
  • Add tests to ci
  • Fix root permission on build files
  • Double check commit on exit

About

πŸƒ Easy breezy latex, monitor .tex files & build on change

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published