Skip to main content

Swiss army knife for LaTeX files.

Project description

PyPI Version License Downloads

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

latexsak-0.2.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

latexsak-0.2.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file latexsak-0.2.0.tar.gz.

File metadata

  • Download URL: latexsak-0.2.0.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

Hashes for latexsak-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6ac0c473420026eb6b2bdfbf90283dd4ce8b0de1dc83712bf12055cd1f5a52f3
MD5 238633432de3e3b64aeaf9292310f15d
BLAKE2b-256 a4ae06f5a707e9d0fb908326ec748ab485e21d5ad89894b4a2deba949d555585

See more details on using hashes here.

File details

Details for the file latexsak-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: latexsak-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for latexsak-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4eba22210ae2e39c5690e85b8031e75c924ab82d5733a41f381e5f4bb3a6a28e
MD5 27369f9d2f0c455ddba105b2d69472d4
BLAKE2b-256 9fdfc80372b8767edc7de6fcb40a164c3772c97e2da47345f2b33f7b9bf1c9d9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page