TexLive

From NixOS Wiki
Revision as of 23:30, 24 April 2019 by imported>Josephtheengineer (Added tex live guide link)

According to Wikipedia:

TeX Live is a free software distribution for the TeX typesetting system that includes major TeX-related programs, macro packages, and fonts.

Installation

Since TeX Live consist of thousands of packages, to make managing it easier, NixOS provides the following sets:

  • full, nixpkgs.texlive.combined.scheme-full, contains every TeX Live package.
  • medium, nixpkgs.texlive.combined.scheme-medium, contains everything in the small scheme + more packages and languages.
  • small, nixpkgs.texlive.combined.scheme-small, contains everything in the basic scheme + xetex, metapost, a few languages.
  • basic, nixpkgs.texlive.combined.scheme-basic, contains everything in the plain scheme but includes latex.
  • minimal, nixpkgs.texlive.combined.scheme-minimal, contains plain only.
  • teTeX, nixpkgs.texlive.combined.scheme-tetex , contains more than the medium scheme, but nowhere near the full scheme
  • ConTeXt, nixpkgs.texlive.combined.scheme-context.
  • GUST, nixpkgs.texlive.combined.scheme-gust .

Troubleshooting

Missing lmodern.sty

If LaTex (perhaps through Pandoc) complains about missing lmodern.sty, make sure you have at least texlive.combined.scheme-medium installed (-full should work as well; while -small worked for some, but not for all).

Further reading