rstudio / rstudio/tinytex

TinyTeX's `TEXMFHOME` configuration not deleted

Open
#433 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
1.2k
Forks
127
PR merge metrics
No merged PRs in 30d

Description

Thanks! I just removed TinyTeX's TEXMFHOME configuration, so that it will just use TeX Live's default setting. This will be reflected in the next build of TinyTeX (which will hopefully be ready in about an hour). Or you can delete TEXMFHOME manually:

tlmgr conf texmf --delete TEXMFHOME

Then verify by

kpsewhich -var-value TEXMFHOME

Oddly, it returns ~/texmf instead of ~/Library/texmf on my macOS. I'm not sure if this is a bug, but you can definitely change it:

tlmgr conf texmf TEXMFHOME ~/Library/texmf

Originally posted by @yihui in https://github.com/rstudio/tinytex/issues/377#issuecomment-1176255177

屏幕截图 2024-01-10 120951

As shown in the screenshot, after I installed tinytex with scoop and after each update, the default location of TEXMFHOME became $TEXMFLOCAL instead of ~/texmf, which is the default location of texlive on Windows systems. Could you please make some modifications in install-windows.bat?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading install-windows.bat and reproduce the behavior with a Scoop installation followed by an update. Use kpsewhich -var-value TEXMFHOME to verify that the default resolves to ~/texmf rather than $TEXMFLOCAL after installation and updates.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.