Installation¶
Requirements¶
- Python 3.8 or higher
- Internet connection (for downloading TinyTeX)
Install from PyPI¶
The recommended way to install jettex is via pip:
Install from Conda¶
jettex is also available on conda-forge:
Install from Source¶
For development or to get the latest changes:
Verify Installation¶
After installation, verify that jettex is working:
Installing TinyTeX¶
After installing the Python package, you need to install TinyTeX itself:
import jettex
# Install the default version (~90 packages, ~100 MB)
jettex.install_tinytex()
# Or install a minimal version (no packages)
jettex.install_tinytex(version=0)
# Or install an extended version (more packages)
jettex.install_tinytex(version=2)
You can also install TinyTeX via the CLI:
TinyTeX Versions¶
| Version | Description | Size |
|---|---|---|
| 0 | Infraonly - minimal, no LaTeX packages | ~1 MB |
| 1 | Default - ~90 common packages | ~100 MB |
| 2 | Extended - more packages for complex documents | ~200+ MB |
Installation Locations¶
TinyTeX is installed to platform-specific locations:
| Platform | Default Location |
|---|---|
| Windows | %APPDATA%\TinyTeX |
| macOS | ~/Library/TinyTeX |
| Linux | ~/.TinyTeX |
You can customize the installation directory:
Environment Variables¶
| Variable | Description |
|---|---|
TINYTEX_HOME |
Custom TinyTeX installation directory |
Troubleshooting¶
Permission Errors¶
TinyTeX doesn't require administrator privileges. If you encounter permission errors, ensure you have write access to the installation directory.
Network Issues¶
If the download fails, check your internet connection. You can also try: