32

On UNIX you have the texmf folder in your home directory where you store packages you've installed yourself, but where is that folder on a Windows install?

Yeah, I know that if you use MiKTeX then you don't need to worry about it since it installs needed packages on-the-fly, but I'm still interested. =)

  • 1
    Are you using MiKTeX or TeX Live or w32tex or any else? – Leo Liu Mar 5 '11 at 8:52
  • 1
    @Leo Liu: MiKTeX. – gablin Mar 7 '11 at 15:30
18

'texmf' is not the exact directory name, but refer to the root paths of the TeX distribution. There are often more than one 'texmf' tree, and they are often not called 'texmf'. In MiKTeX, you can find all texmf tree in MiKTeX's option (Start menu -> MiKTeX -> Maintenance -> settings):

enter image description here

  • Does a Linux install also apply multiple root paths? – gablin Mar 7 '11 at 15:32
  • 1
    Yes. TeX Live 2010 has texmf, texmf-dist, texmf-var, texmf-local, texmf-config and ~/.texlive2010/texmf-var, ~/.texlive2010/texmf-config, for both Windows and Linux. – Leo Liu Mar 7 '11 at 15:46
13

You could type at the command prompt:

kpsewhich -var-value TEXMFHOME

Alternatively:

kpsewhich -expand-var '$TEXMFHOME'

While on my Linux system, it returns /home/stefan/texmf, on Windows it may return something like C:/Users/Gablin/texmf depending on where your Windows user profile is.

The syntax of kpsewhich may vary depending on the system, for example regarding the quotes or dashes. Type kpsewhich --help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.