36

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. =)

gablin
  • 17,006

2 Answers2

23

'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

Leo Liu
  • 77,365
  • Does a Linux install also apply multiple root paths? – gablin Mar 07 '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 07 '11 at 15:46
16

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.

koppor
  • 3,252
Stefan Kottwitz
  • 231,401