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

Uploaded Python 3

File details

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

File metadata

  • Download URL: latexsak-0.2.4.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.4.tar.gz
Algorithm Hash digest
SHA256 90473ddcf2246df4d0b02fcef952d0af7520ce037821fc83c7b1fedf7e7535ed
MD5 4381c2c617a62d6951971741f275a7d3
BLAKE2b-256 9cb169cac246a737e14d7ddc5a1bdc8dcc3e151eb7c320bb41dd604d1e794ea1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: latexsak-0.2.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 42626d2fbd356ee28d01fd5b00934d36b0c9f004ab23bd51ad19eed91b8625e0
MD5 1f929f0ae5636d6c3c53f71674f2a97f
BLAKE2b-256 23f91e601912043581b0ba42305a892a0f54688aafb0ef596d536dde451c2a5c

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