Skip to main content

sltx-utility

Project description

made-with-python MIT license Maintenance PyPI version shields.io Generic badge
Publish to Test-PyPI

sltx 0.1.x

  1. Short overview
  2. How tos'
    1. How to get
    2. How to setup
    3. How to compile
    4. How to run
  3. Todos

Short overview

sltx is a simple (python 3.5+) script, i've written for my own purposes (LaTeX). It uses sltx-dep.yml files to track my latex dependencies over various repositories and installs them on the host-system. I use it only under linux, with texlive installed, but it should work for other os too. You can configure the installer for your host-system using the sltx-config.yml or supply it while installing.

How tos'

How to get

The script including the Package sltxpkg is available with pypi/sltx So simply install it like any other Python package with sltx with pip:

pip3 install sltx

Afterwards sltx should be available as a normal script! Afterwards you can updates with pip3 and the --upgrade-flag.

How to setup

If you just want the auto configuration, type

sltx auto-setup

Please note, that this command requires docker to be installed. If you have texlive or an comparable variant (having a texmf-home) installed on your local machine you may use the -d flag to download the LaTeX-libraries shipped with the container(s).

How to compile

If you just want to compile a document and have any docker container installed, use:

sltx compile <document>

If you do not want to compile in the docker-container (or if you have none), please use the following instead.

sltx raw-compile <document>

For further help add -h to the commands to get more information about arguments.

How to run

Just run sltx or sltx -h to get the help menu. If you want to install dependencies from a file like dep.yml run:

sltx dep dep.yml

If you have your own configuration, lets say it is name "config.yml" add -c config.yml.

If you want to generate a github workflow just type sltx gen-gha.

Todos

  • add .sltx-src.yml or some similar file so that the repo itself can determine what it should serve? -- maybe allow different "sets"?

  • Update functionality

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sltx-0.1.44.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

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

sltx-0.1.44-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

Details for the file sltx-0.1.44.tar.gz.

File metadata

  • Download URL: sltx-0.1.44.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for sltx-0.1.44.tar.gz
Algorithm Hash digest
SHA256 bf020d2ff3cc2850995043e0cee64bf5022e46a77810958b03a9459d2544fd3b
MD5 d60174b2f6b0546df8833cb6da0e695f
BLAKE2b-256 7e08fa5a739cbab7c70c9e5c0625779762d7bfdf0bdaab4d9fed03964a5e5faa

See more details on using hashes here.

File details

Details for the file sltx-0.1.44-py3-none-any.whl.

File metadata

  • Download URL: sltx-0.1.44-py3-none-any.whl
  • Upload date:
  • Size: 27.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for sltx-0.1.44-py3-none-any.whl
Algorithm Hash digest
SHA256 d3beca3065ef725d2a9c57c024fde126a530029ff2acc31a2c0c90c67ecda79f
MD5 0f074587dd7e28c3546f71695434d2a6
BLAKE2b-256 8919e9e2df090225e4c90856f4daf582be0e1b6d2a17cc8fd33a8e40d60426b9

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