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.
Metadata
Release files for latexcor 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| latexcor-0.3.4.tar.gz | 13.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| latexcor-0.3.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.4 kB
Release files / latexcor-0.3.4.tar.gz
| Download URL | latexcor-0.3.4.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8070b3d89269436e7da2168440350a733705a6d8986b1943cbb8a5dc24ac7b8a
|
|
BLAKE2b-256 checksum How to use checksums |
7c878de3a4a7c97c3d94595d5ebed1e1710e7607ff176e4e8ff72b92953127c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.7 Darwin/24.1.0
|
Release files / latexcor-0.3.4-py3-none-any.whl
| Download URL | latexcor-0.3.4-py3-none-any.whl |
|---|---|
| Size | 17.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c8a687812f7ae72046b2f240928ff659a873554885ac84d69dd6d21ae260df75
|
|
BLAKE2b-256 checksum How to use checksums |
a7b2833e18108389f5ad263f5dba2eea34d646df350d04cc203fe9d65f18d753
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.7 Darwin/24.1.0
|
Security for latexcor 0.3.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.