Swiss army knife for LaTeX files.
Project description
LatexSAK
LaTeX swiss army knife
Install
pip install latexSAK --upgrade
You need the following commands available on your computer:
- latexpand
- delatex (brew install opendetex)
- awk
- zip
Features
Run latexSAK -h to show all the options available.
latexSAK first removes all commands listed in commandsToIgnore.json. This file is generated in the current folder the first time the command is executed. You can then edits the commands to ignore by editing this file that will be loaded upon running the command again.
commandsToIgnore.json defines 4 levels of command to ignore that can be set using the -level option. The default level is 1.
Number of words --count
Count the number of words
clean the tex file and figures --clean
Creates a clean version of the document, using image files actually used. Cleaned files can be found in articleclean/ folder.
zip --zip
Creates the zip archive of the previously cleaned folder (articleclean/).
Get text --text
Get text only and creates the file articleTextOnly.md
Captions --captions
Get captions from images and tables that use the \Description command from acmart.
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file latexsak-0.2.3.tar.gz.
File metadata
- Download URL: latexsak-0.2.3.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77393ecc5971e28851dcd80e7fe8b9e5a050aa5573ccb9c3112bb1a62bbb5a63
|
|
| MD5 |
f6fac690aef773734afaa91fa0f563db
|
|
| BLAKE2b-256 |
d01beb1b46de9f1b83e323bf6bae7b2efc6b9c1a8964d6f9646e4c8886ba3904
|
File details
Details for the file latexsak-0.2.3-py3-none-any.whl.
File metadata
- Download URL: latexsak-0.2.3-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3e2bd5d23060d368c492fa77e3f306674bea6513d7ed2daa61d0926509cf789
|
|
| MD5 |
9a2b66c74b341eb99d344dda18776079
|
|
| BLAKE2b-256 |
95756b5561552ea75b13cbb08bca0234566adcd006f18598b335b05ee423e056
|