No project description provided
Project description
latexcor
LaTeX Compiler and File Manager - Automate your LaTeX workflow
Features
- 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
Installation
pip install --upgrade latexcor
Usage
$ latexcor [OPTIONS] COMMAND [ARGS]...
Global Options
--install-completion
: Install completion for the current shell--show-completion
: Show completion for the current shell--help
: Show help message and exit
Commands
Clean (clean
)
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 to UTF-8 (convert-utf8
)
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 (recompile
)
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
Slugify (slugify
)
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
Version (version
)
Display the current version of latexcor.
$ latexcor version [OPTIONS]
Options:
--help Show this message and exit
Watch (watch
)
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
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file latexcor-0.3.1.tar.gz
.
File metadata
- Download URL: latexcor-0.3.1.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.7 Darwin/24.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a7bc68cb6dd769d1c934a15ea017741553ffc6f6b104858e7d9d79fe8857287 |
|
MD5 | e2e3dcf9174f0fee8ff324e82a407ccb |
|
BLAKE2b-256 | 9d855b5551d6bbc87d87cf27ca677834732fbc6c3224d82cd47d5c26e93eb723 |
File details
Details for the file latexcor-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: latexcor-0.3.1-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.7 Darwin/24.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 011497598eb0d813e4befe31ba40138072e7703eebc43106f0f24d11a2b32b3c |
|
MD5 | 7e4d8d2a569803ecc4e4e476fb8858dd |
|
BLAKE2b-256 | f06d4ef0c5c9eaef8f10d1efe7c94870ff93c03587562d1e89cfaf31a9298f5f |