TexLive: Difference between revisions
Appearance
imported>Josephtheengineer Added tex live guide link |
imported>Caaaaaa texlive.combine |
||
| Line 21: | Line 21: | ||
* GUST, <code>nixpkgs.texlive.combined.scheme-gust </code>. | * GUST, <code>nixpkgs.texlive.combined.scheme-gust </code>. | ||
===Combine Sets=== | |||
You can install a set with extra packages by using something like | |||
<code>(texlive.combine { | |||
inherit (texlive) scheme-medium xifthen ifmtarg framed paralist titlesec; | |||
}) | |||
</code> | |||
== Troubleshooting == | == Troubleshooting == | ||
Revision as of 16:56, 21 May 2020
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.
Combine Sets
You can install a set with extra packages by using something like
(texlive.combine {
inherit (texlive) scheme-medium xifthen ifmtarg framed paralist titlesec;
})
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).