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.3.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.3-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

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

Hashes for latexsak-0.2.3.tar.gz
Algorithm Hash digest
SHA256 77393ecc5971e28851dcd80e7fe8b9e5a050aa5573ccb9c3112bb1a62bbb5a63
MD5 f6fac690aef773734afaa91fa0f563db
BLAKE2b-256 d01beb1b46de9f1b83e323bf6bae7b2efc6b9c1a8964d6f9646e4c8886ba3904

See more details on using hashes here.

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

Hashes for latexsak-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b3e2bd5d23060d368c492fa77e3f306674bea6513d7ed2daa61d0926509cf789
MD5 9a2b66c74b341eb99d344dda18776079
BLAKE2b-256 95756b5561552ea75b13cbb08bca0234566adcd006f18598b335b05ee423e056

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