Skip to content

Easier ntegration with existing TinyTeX installs - #49

Open
abravalheri wants to merge 3 commits into
JessicaTegner:masterfrom
abravalheri:master
Open

abravalheri wants to merge 3 commits into
JessicaTegner:masterfrom
abravalheri:master

Conversation

@abravalheri

Copy link
Copy Markdown

First of all, thank you very much for maintaining this very useful project!

I like the philosophy behind TinyTeX, and the Python wrapper you guys put together is very convenient (Python is almost ubiquitous nowadays and per-installed on Linux and other POSIX OSs, so it's very easy to get started and lightweight — a great alternative for people who don't use R).

Recently, I tried to use it on a new computer and stumbled on #43, so I decided to read through the code a bit and play with ways of making PyTinyTeX work together with TinyTeX installations made independently of PyTinyTeX. I thought some convenience machinery would be nice, which motivated me to share this PR (others may find it useful too).

Please let me know if you'd consider these additions, or if you have any thoughts.

(Possibly this should be stacked after #45).

- Resolve existing installs from ~/.pytinytex, the official installer/R
  dir, and $XDG_DATA_HOME/TinyTeX
- Keep explicit base / PYTINYTEX_TINYTEX authoritative
- Report every tried path on failure
- --tinytex PATH sets PYTINYTEX_TINYTEX for every command
- download installs to --tinytex / PYTINYTEX_TINYTEX when given
- Add Installing TinyTeX section
- Add Finding an existing TinyTeX section
- Show --tinytex CLI example
@abravalheri
abravalheri marked this pull request as ready for review September 21, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant