diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2016-03-26 10:26:29 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2016-03-27 14:29:18 +0200 |
commit | e3da83297fdfcac1af29805aa55e437bc1d45d3a (patch) | |
tree | eac74a3a39c29f8eb8be7dd96d595ca6157d6c94 /pkgs/tools/typesetting | |
parent | c86a8fc19f870c9b817df4afb82631c354b86a40 (diff) | |
download | nixpkgs-e3da83297fdfcac1af29805aa55e437bc1d45d3a.tar nixpkgs-e3da83297fdfcac1af29805aa55e437bc1d45d3a.tar.gz nixpkgs-e3da83297fdfcac1af29805aa55e437bc1d45d3a.tar.bz2 nixpkgs-e3da83297fdfcac1af29805aa55e437bc1d45d3a.tar.lz nixpkgs-e3da83297fdfcac1af29805aa55e437bc1d45d3a.tar.xz nixpkgs-e3da83297fdfcac1af29805aa55e437bc1d45d3a.tar.zst nixpkgs-e3da83297fdfcac1af29805aa55e437bc1d45d3a.zip |
texlive: document in nixpkgs manual
Fixes #13240. It's not really better than source-code comments it replaced, but it's in a better accessible place.
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive-new/default.nix | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive-new/default.nix b/pkgs/tools/typesetting/tex/texlive-new/default.nix index 5fe52ba07ba..fbf4adde2ae 100644 --- a/pkgs/tools/typesetting/tex/texlive-new/default.nix +++ b/pkgs/tools/typesetting/tex/texlive-new/default.nix @@ -1,29 +1,7 @@ -/* (new) TeX Live user docs - - Basic usage: just pull texlive.combined.scheme-basic - for an environment with basic LaTeX support. - There are all the schemes as defined upstream (with tiny differences, perhaps). - - You can compose your own collection like this: - texlive.combine { - inherit (texlive) scheme-small collection-langkorean algorithms cm-super; - } - - By default you only get executables and files needed during runtime, - and a little documentation for the core packages. - To change that, you need to add `pkgFilter` function to `combine`. - texlive.combine { - # inherit (texlive) whatever-you-want; - pkgFilter = pkg: - pkg.tlType == "run" || pkg.tlType == "bin" || pkg.pname == "cm-super"; - # elem tlType [ "run" "bin" "doc" "source" ] - # there are also other attributes: version, name - } - - Known bugs: - * some tools are still missing, e.g. luajittex - * some apps aren't packaged/tested yet (xdvi, asymptote, biber, etc.) - * feature/bug: when a package is rejected by pkgFilter, - its dependencies are still propagated - * in case of any bugs or feature requests, file a github issue and /cc @vcunat +/* TeX Live user docs + - source: ../../../../../doc/languages-frameworks/texlive.xml + - current html: http://nixos.org/nixpkgs/manual/#sec-language-texlive */ - { stdenv, lib, fetchurl, runCommand, writeText, buildEnv , callPackage, ghostscriptX, harfbuzz, poppler_min , makeWrapper, perl, python, ruby |