15

I'm trying to install the nth package, which automatically adds and formats ordinal numbers in English.

The package is included in the default TeXLive distribution, but I had to install a smaller distribution on this computer for space considerations. So it should be in the repositories. When I ask tlmgr to install nth...

$ sudo tlmgr install nth
tlmgr: package repository http://mirror.unl.edu/ctan/systems/texlive/tlnet
package nth not present in package repository.

Does it go by a different name than that in CTAN / the tlmgr repositories?

2
  • 5
    Welcome to TeX.SX! Not all LaTeX packages have a dedicated TeX Live package. I find nth in the genmisc package for TeX Live.
    – egreg
    Sep 27, 2013 at 17:25
  • That did it; I installed genmisc through tlmgr and that got it working. Sep 27, 2013 at 17:56

1 Answer 1

19

Not all LaTeX packages have a dedicated TeX Live package for them. In particular, several small packages by Donald Arsenau are grouped together in a genmisc package. So

sudo tlmgr install genmisc

should solve the problem.

You can see it in the CTAN page: http://ctan.org/pkg/nth

enter image description here

Generally I recommend installing a full TeX Live and forget about hunting for packages; and updating regularly, also.

2
  • 1
    Thanks a lot! I normally would have installed the standard distribution (I did on my main computer), but in this case I had HDD space constraints and a very narrow, specific purpose for installing LaTeX. Oct 7, 2013 at 17:53
  • Ah ha! Ran into this problem 4 years later, for a different reason: the default texlive package on Ubuntu doesn't include genmisc. Nov 7, 2017 at 14:45

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.