Skip to content

Conversation

@holzingk
Copy link
Contributor

@holzingk holzingk commented May 6, 2025

I had to update pinned nixpkgs, as it did not build with TexLive 2022.

Some content annotations are not transformed very well in LaTex output. For example, there is a
bug in sphinx-design which prints dropdowns just as subsections without any visual highlighting. In general it is readable and better typeset compared to the PDF obtained by printing to PDF.

Also, there is now full texlive which is quite a huge dependency.

@holzingk holzingk requested a review from a team as a code owner May 6, 2025 19:17
@holzingk holzingk force-pushed the holzingk/publish-pdf branch from 413dc98 to 5a510be Compare May 6, 2025 19:21
default.nix Outdated
pkgs.perl
nativeBuildInputs = [
nix-dev-python-pkgs
pkgs.texlive.combined.scheme-full
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed downloading multiple gigabyte for a single pdf on each ci run is too slow.
https://github.com/rgri/tex2nix/ could help to cut it down.

holzingk added 2 commits May 28, 2025 09:04
I had to update pinned nixpkgs, as it did not build with TexLive 2022.

Some content annotations are not transformed very well in LaTex output. For example, there is a [bug](executablebooks/sphinx-design#107) in sphinx-design which prints dropdowns just as subsections without any visual highlighting. In general it is readable and better typeset compared to the PDF obtained by printing to PDF.

Also, there is now full texlive which is quite a huge dependency.
@holzingk holzingk force-pushed the holzingk/publish-pdf branch from 5a510be to 0c4fae9 Compare May 28, 2025 07:18
@holzingk
Copy link
Contributor Author

Rebased on current master and now using tex2nix to obtain a minified texlive distribution. Thanks @Mic92 for the great tool.

Copy link
Collaborator

@fricklerhandwerk fricklerhandwerk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty cool! Thanks a lot @holzingk

@fricklerhandwerk fricklerhandwerk merged commit edb7ab2 into NixOS:master May 30, 2025
4 checks passed
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

Successfully merging this pull request may close these issues.

3 participants