LaTeX Compiler and File Manager - Automate your LaTeX workflow
- Clean auxiliary LaTeX files
- Convert .tex files to UTF-8 encoding
- Recompile LaTeX files automatically
- Slugify file and directory names
- Watch directory for changes and auto-compile
- Support for XeLaTeX and LuaLaTeX engines
pip install --upgrade latexcor
$ latexcor [OPTIONS] COMMAND [ARGS]...
-
--install-completion
: Install completion for the current shell -
--show-completion
: Show completion for the current shell -
--help
: Show help message and exit
Clean auxiliary LaTeX files in a directory.
$ latexcor clean [OPTIONS]
Options:
-p, --path DIRECTORY Path to clean (defaults to current directory)
--help Show this message and exit
Convert .tex files to UTF-8 encoding.
$ latexcor convert-utf8 [OPTIONS]
Options:
-p, --path DIRECTORY Path to process (defaults to current directory)
--help Show this message and exit
Recompile all LaTeX files in a directory.
$ latexcor recompile [OPTIONS]
Options:
-e, --engine [xelatex|lualatex] LaTeX engine to use [default: xelatex]
-p, --path DIRECTORY Path to process (defaults to current directory)
-c, --confirm Confirm before recompiling each file
--help Show this message and exit
Rename files and directories using slug format.
$ latexcor slugify [OPTIONS]
Options:
-p, --path DIRECTORY Path to process (defaults to current directory)
-c, --confirm / -C, --no-confirm Confirm before renaming [default: confirm]
-v, --preview / -V, --no-preview Show preview of changes [default: preview]
--help Show this message and exit
Display the current version of latexcor.
$ latexcor version [OPTIONS]
Options:
--help Show this message and exit
Watch a directory and automatically compile LaTeX files when changes are detected.
$ latexcor watch [OPTIONS]
Options:
-e, --engine [xelatex|lualatex] LaTeX engine to use [default: xelatex]
-p, --path DIRECTORY Path to watch (defaults to current directory)
--help Show this message and exit
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.