TexLive: Difference between revisions

From NixOS Wiki
imported>Josephtheengineer
Explained what each package contains
imported>Josephtheengineer
Added tex live guide link
Line 1: Line 1:
According to [[Wikipedia:TeX Live|Wikipedia]]:
According to [[Wikipedia:TeX Live|Wikipedia]]:


Line 5: Line 4:


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


Line 27: Line 25:
=== Missing <code>lmodern.sty</code> ===
=== Missing <code>lmodern.sty</code> ===
If LaTex (perhaps through Pandoc) complains about missing <code>lmodern.sty</code>, make sure you have at least <code>texlive.combined.scheme-medium</code> installed (-full should work as well; while -small worked for some, but not for all).
If LaTex (perhaps through Pandoc) complains about missing <code>lmodern.sty</code>, make sure you have at least <code>texlive.combined.scheme-medium</code> installed (-full should work as well; while -small worked for some, but not for all).
== Further reading ==
* [https://www.tug.org/texlive/doc/texlive-en/texlive-en.html The Tex Live Guide 2018]

Revision as of 23:30, 24 April 2019

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