Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No documentation for listings latex package #12174

Closed
DamienCassou opened this issue Jan 6, 2016 · 5 comments
Closed

No documentation for listings latex package #12174

DamienCassou opened this issue Jan 6, 2016 · 5 comments

Comments

@DamienCassou
Copy link
Contributor

I would like to have documentation for the latex listings. Unfortunately, texdoc always fails:

$ texdoc listings
Sorry, no documentation found for listings.

I installed texlive with

{
texlive = texlive.combine {
  inherit (texlive) scheme-full;
};
}
@vcunat
Copy link
Member

vcunat commented Jan 6, 2016

You first need to read the documentation for our texlive packaging ;-) https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/typesetting/tex/texlive-new/default.nix#L9-L18

@vcunat vcunat closed this as completed Jan 6, 2016
@DamienCassou DamienCassou reopened this Jan 6, 2016
@DamienCassou
Copy link
Contributor Author

I already read it (several times :-)) and I thought it was inaccurate because texdoc koma-script worked and I didn't know koma-script was more core than listings. I also already tried the following and variants without success:

{
texlive = texlive.combine {
  inherit (texlive) scheme-full;
  pkgFilter = pkg: true;
};
}

@vcunat
Copy link
Member

vcunat commented Jan 6, 2016

Does it not include path /nix/store/2xy5im1j892qk2al1hwpwymzjba5dlx0-texlive-listings.doc-1.5e? I am getting that installed into the TeX env when using just

{
  test = texlive.combine {
    inherit (texlive) scheme-basic listings;
    pkgFilter = pkg: pkg.pname == "listings" || pkg.tlType != "doc";
  };
}

However, I've got no idea how texdoc works.

@DamienCassou
Copy link
Contributor Author

Does it not include path /nix/store/2xy5im1j892qk2al1hwpwymzjba5dlx0-texlive-listings.doc-1.5e?

I didn't have this path but now I have it with:

{
texlive = texlive.combine {
  inherit (texlive) scheme-full;
  pkgFilter = pkg: pkg.pname == "listings" || (pkg.tlType != "doc" && pkg.tlType != "source");
};
}

Thanks

@vcunat
Copy link
Member

vcunat commented Jan 7, 2016

:-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants