How to install the latest version of microtype (v. 2.5) in Linux (Ubuntu)?

2,395

Solution 1

I saw your question on one of my older questions. Egreg provided excellent details so I'll just use his instructions: Create a directory for microtype in your local TeX path.

sudo mkdir -p $(kpsewhich -var-value TEXMFLOCAL)/tex/latex/microtype

Then move all the microtype stuff into that folder.

Next you need to tell TeX to use the new version you've installed:

sudo texhash

Now you have the most recent version of microtype installed locally. Your old microtype installation will still be on your system but LaTeX will know to look at this local installation first.

Solution 2

Just for completeness, here on Fedora 18 (ships TeXlive 2012) it is just a dnf install "tex(microtype.sty)" (or yum, if you cling to that) away.

Share:
2,395

Related videos on Youtube

nutty about natty
Author by

nutty about natty

Updated on March 30, 2020

Comments

  • nutty about natty
    nutty about natty over 3 years

    How to install the latest version of microtype (v. 2.5) in Linux (Ubuntu) ?

    (also, is v. 2.5 still in beta?)

    Edit

    I'm using this ppa https://launchpad.net/~texlive-backports/+archive/ppa/ which currently delivers 2012.20120611-3~ubuntu12.04.1, where texlive-latex-recommended contains microtype (v. 2.4).

    /usr/share/texlive/texmf-dist/tex/latex/microtype
    /usr/share/texlive/texmf-dist/tex/latex/microtype/letterspace.sty
    /usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.cfg
    /usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.lua
    /usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.sty
    /usr/share/texlive/texmf-dist/tex/latex/microtype/mt-bch.cfg
    /usr/share/texlive/texmf-dist/tex/latex/microtype/mt-blg.cfg
    /usr/share/texlive/texmf-dist/tex/latex/microtype/mt-cmr.cfg
    /usr/share/texlive/texmf-dist/tex/latex/microtype/mt-euf.cfg
    /usr/share/texlive/texmf-dist/tex/latex/microtype/mt-eur.cfg
    /usr/share/texlive/texmf-dist/tex/latex/microtype/mt-euroitc.cfg
    /usr/share/texlive/texmf-dist/tex/latex/microtype/mt-eus.cfg
    /usr/share/texlive/texmf-dist/tex/latex/microtype/mt-msa.cfg
    /usr/share/texlive/texmf-dist/tex/latex/microtype/mt-msb.cfg
    /usr/share/texlive/texmf-dist/tex/latex/microtype/mt-mvs.cfg
    /usr/share/texlive/texmf-dist/tex/latex/microtype/mt-pad.cfg
    /usr/share/texlive/texmf-dist/tex/latex/microtype/mt-pmn.cfg
    /usr/share/texlive/texmf-dist/tex/latex/microtype/mt-ppl.cfg
    /usr/share/texlive/texmf-dist/tex/latex/microtype/mt-ptm.cfg
    /usr/share/texlive/texmf-dist/tex/latex/microtype/mt-ugm.cfg
    /usr/share/texlive/texmf-dist/tex/latex/microtype/mt-zpeu.cfg
    
  • nutty about natty
    nutty about natty over 10 years
    I updated my question; does your answer still apply?
  • nutty about natty
    nutty about natty over 10 years
    I updated my question; does your answer still apply?
  • Marco Daniel
    Marco Daniel over 10 years
    I think the command should be: mkdir -p $(kpsewhich -var-value TEXMFHOME)/tex/latex/microtype
  • Martin Schröder
    Martin Schröder over 10 years
    Be aware that your local version of microtype will always be preferred over any future version of microtype installed by your distribution.
  • bfootdav
    bfootdav over 10 years
    Nutty, right now you have 2.4 installed, do you really need 2.5? If so then it looks like you're going to have to install it yourself. My answer allows you to install the latest microtype package manually instead of using what's in the repository since it might not always be current. You download the package from CTAN and then install it as mentioned above.