Skip to content

A CLI tool which enables to compile TeX sources without TeX package installation

Notifications You must be signed in to change notification settings

raahii/tex-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tex-docker

This is a CLI tool which enables compile TeX document without tex-live installation by using docker.

Currently supporting executing latexmk on your tex document directory. In addition, automatic compilation by your file changes is possible.

Installation

go get -u github.com/raahii/tex-docker

Example

  • compile sources at once

    tex-docker -p <tex source directory>
  • automatically compile every time file changes.

    tex-docker -p <tex source directory> -w <regex that matches files to watch e.g. main.tex>

Usage

Usage:
  tex-docker [OPTIONS]

Application Options:
  -p, --path=           Latex source path to compile (execute latexmk)
  -n, --container-name= Docker container name
  -w, --watch=          Process any events whose filename matches the specified POSIX extended regular expression
  -r, --recursive       Watch all subdirectories of the --path directory

Help Options:
  -h, --help            Show this help message

TODO

  • auto compilation triggered by file changes
  • support .latexmk customization

Releases

No releases published

Packages

No packages published