TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I’d like to install a package (microtype 2.5 beta 4) under TeX Live that isn’t available in the official repository.

Now, I know that it’s usually enough to put the package under ~/texmf/tex/latex/ but I was wondering if I couldn’t use tlmgr to do the grunt work for me.

In particular, I noticed that tlmgr has a --repository option that can be used to pass it a local repository path. However, the following command unfortunately fails (understandably, since there is no TeX Live database file texlive.tlpdb there to read from):

wget http://xetex.tk/mediawiki/images/1/1c/Microtype.tds.zip
unzip Microtype.tds.zip
tlmgr --repository=./Microtype.tds/ update microtype

I was wondering if there was still a possibility to make this work.

share|improve this question
up vote 6 down vote accepted

why do you need tlmgr here. unzip the tds into your local tree:

unzip -d `kpsewhich --var-value TEXMFLOCAL'` Microtype.tds.zip

the TeXLive manager needs a repository with some more information.

share|improve this answer
Why I need it here: I was actually hoping that I could install the beta version of the microtype package alongside the old version in my local repository. Having tested your way, I see that this apparently isn’t necessary at all. I’ll accept your answer but I’ll probably delete the question since it doesn’t make sense in hindsight. – Konrad Rudolph Dec 22 '10 at 16:55
no, it is a question of what tlmgr can do and can not do ... – Herbert Dec 22 '10 at 17:04
@Herbert: kpsewhich --var-value TEXMFLOCAL is more portable (kpseexpand doesn't exist on windows AFAIK). – mpg Dec 22 '10 at 17:04
@Konrad: I agree with Herbert, the question is legitimate, even if the answer is that tlmgr can't. – mpg Dec 22 '10 at 17:05
@Herbert: I'm afraid you left an extra quote ' after TEXMFLOCAL. – mpg Dec 23 '10 at 17:31

Your Answer


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.