[Tex/LaTex] How to install “tabto” macro

installingtabtotexlive

I am trying to install the "tabto.sty" and I am using the vanilla TeXLive from CTAN.

The tabto macro is archived in the CTAN at the following directory —

1. http://www.ctan.org/tex-archive/macros/latex/contrib/tabto

but my TeXLive repository is looking for it in this location —

2. http://mirrors.ibiblio.org/pub/mirrors/CTAN/systems/texlive/tlnet

and it does not contain tabto.

I know that I can directly download the sty file (or zip archive) from the CTAN url (link 1 above) and use it. But I do not want to do that.

How do I make my TeXLive to fetch all required stuffs from both of the above URLs? Is there any "tlnet" compatible link for the CTAN repository (link 1) that I could use with tlmgr ?

Best Answer

To find the TeX Live packages that contain a particular file (for example tabto.sty), you may use the following command:

% tlmgr search --global --file tabto.sty
tlmgr: package repository http://mirrors.ibiblio.org/pub/mirrors/CTAN/systems/texlive/tlnet
tabto-ltx:
    texmf-dist/tex/latex/tabto-ltx/tabto.sty

Now, you know the name of the TeX Live package to install. You may install it with the following command:

% tlmgr install tabto-ltx