Thin wrapper for "TinyTeX" (MIT)
Project description
PyTinyTeX
PyTinyTeX provides a thin wrapper for TinyTeX, A lightweight, cross-platform, portable, and easy-to-maintain LaTeX distribution based on TeX Live.
Installation
Installation through the normal means
pip install pytinytex
Or through poetry
poetry add pytinytex
Installation a version of TinyTeX
Each version of TinyTeX contains three variations:
- TinyTeX-0.* contains the infraonly scheme of TeX Live, without any LaTeX packages. If you install this variation, you may install any other packages via tlmgr (which is a utility included in this variation), e.g., tlmgr install latex-bin framed.
- TinyTeX-1.* contains about 90 LaTeX packages enough to compile common R Markdown documents (which was the original motivation of the TinyTeX project).
- TinyTeX-2-* contains more LaTeX packages requested by the community. The list of packages may grow as time goes by, and the size of this variation will grow correspondingly.
By default the variation PyTinyTeX will install is variation 1, but this can be changed.
import pytinytex
pytinytex.download_tinytex()
Contributing
Contributions are welcome. When opening a PR, please keep the following guidelines in mind:
- Before implementing, please open an issue for discussion.
- Make sure you have tests for the new logic.
- Add yourself to contributors at README.md unless you are already there. In that case tweak your
Contributors
- Nicklas Tegner - Maintainer and original creator of PyTinyTeX
License
PyTinyTeX is available under MIT license. See LICENSE for more details. TinyTeX itself is available under the GPL-2 license.
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
PyTinyTeX-0.3.0.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for PyTinyTeX-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ac565a01d1eb8ddc9dfb164c59a7ef20b93a3a8e9c7cdb9fabc4b0a8e45da4c |
|
MD5 | fb5ce67e270c5e90d0fc8df8f910afaf |
|
BLAKE2b-256 | 61710b304e95e6003e5be644c70f2db77dd2a7fe758e3877b35d9e7281e8ec07 |