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.
Since TeX Live consist of thousands of packages, to make managing it easier, NixOS replicates the organization of TeX Live into 'schemes' and 'collections'
The following Tex Live schemes are available:
|Name of TeX Live package||Name of Nixos-derivation||Comment|
||Contains every TeX Live package|
||contains everything in the small scheme + more packages and languages|
||contains everything in the basic scheme + xetex, metapost, a few languages.|
||contains everything in the plain scheme but includes latex.|
||contains plain only.|
||contains more than the medium scheme, but nowhere near the full scheme.|
You can install a set with extra packages by using something like
inherit (texlive) scheme-medium xifthen ifmtarg framed paralist titlesec;
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).
Invalid fontname ‘Latin Modern Roman/ICU’
If you get an error message saying “Invalid fontname ‘Latin Modern Roman/ICU’. . . ”, then you need to add the entry lmodern into your configuration in the section fonts.fonts and rebuild.