Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

share|improve this question
    
Are you using MiKTeX or TeX Live or w32tex or any else? –  Leo Liu Mar 5 '11 at 8:52
    
@Leo Liu: MiKTeX. –  gablin Mar 7 '11 at 15:30
add comment

2 Answers

up vote 8 down vote accepted

'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

share|improve this answer
    
Does a Linux install also apply multiple root paths? –  gablin Mar 7 '11 at 15:32
    
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
add comment

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\texmfhome depending on where yur Windows user profile is.

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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