11

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.

7

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.

  • 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 ... – user2478 Dec 22 '10 at 17:04
  • 1
    @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
  • 2
    @Herbert: I'm afraid you left an extra quote ' after TEXMFLOCAL. – mpg Dec 23 '10 at 17:31

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.