tex2svg
pip3 install tex2svg
A simple program to convert a LaTeX equations to SVGs.
# for "inline mode" LaTeX
echo "x^2" | tex2svg > x2.svg
# for "block" LaTeX
echo "x^2" | tex2svg --block > x2.svg
Depends on pdflatex, pdfcrop, pdf2svg, and svgo. On Arch Linux, you can install these with:
sudo pacman -S pdf2svg texlive-most npm
sudo npm install -g svgo
This program automatically caches outputs. The cache is stored in ~/.tex2svg.
Release files for tex2svg 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tex2svg-0.0.2.tar.gz | 25.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tex2svg-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 53.4 kB
Release files / tex2svg-0.0.2.tar.gz
| Download URL | tex2svg-0.0.2.tar.gz |
|---|---|
| Size | 25.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9fbc5e97a8bd3e9a7066b5a5a5bd5d90cd81d007397629b3c2de1ec0c2ba27ce
|
|
BLAKE2b-256 checksum How to use checksums |
05803f5b73fe88e16b4bd68bb53858d691428b1b95ad633e131e1de65646c072
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / tex2svg-0.0.2-py3-none-any.whl
| Download URL | tex2svg-0.0.2-py3-none-any.whl |
|---|---|
| Size | 27.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3808b6aa4f024678c09bbbe6723f53e5a4b5e4264d312e81fc3d4689874c23d5
|
|
BLAKE2b-256 checksum How to use checksums |
b2b9ff15b7e3d21addbd5e0d2dc7203f68f8ac698910d30a99605d8877fd45a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|