latex2html: init at 2016 #21802

wants to merge 1 commit into


None yet

3 participants

yurrriq commented Jan 11, 2017 edited
Motivation for this change

Add latex2html.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits

Mic92 approved these changes Jan 11, 2017 View changes
+ version = "2016";
+ src = fetchurl {
+ url =;
Mic92 Jan 11, 2017 Contributor


url = "${version}.tar.gz;"
yurrriq commented Jan 11, 2017

Good call! Thank you.

yurrriq commented Jan 11, 2017

Force pushed with the amended src.url.

Mic92 commented Jan 11, 2017 edited

The build contains spurious leftover to the build directory. Compiling a document to html results in the following error:

$ latex2html main.tex
Error: '/tmp/nix-build-latex2html-2016.drv-0' not usable as temporary directory.
$ grep /tmp/nix-build-latex2html-2016.drv-0 $(which latex2html)                                                                                                        
    $TEXEXPAND = "$PERL /tmp/nix-build-latex2html-2016.drv-0/latex2html-2016${dd}texexpand";
    $PSTOIMG   = "$PERL /tmp/nix-build-latex2html-2016.drv-0/latex2html-2016${dd}pstoimg";
    $ICONSERVER = L2hos->path2URL("/tmp/nix-build-latex2html-2016.drv-0/latex2html-2016${dd}icons");
    $RGBCOLORFILE = "/tmp/nix-build-latex2html-2016.drv-0/latex2html-2016${dd}styles${dd}rgb.txt";
    $CRAYOLAFILE = "/tmp/nix-build-latex2html-2016.drv-0/latex2html-2016${dd}styles${dd}crayola.txt";
yurrriq commented Jan 11, 2017

@Mic92: I've ticked the "Allow edits from maintainers" box, so feel free to make any changes you see fit. I don't have the time for now.

@yurrriq yurrriq latex2html: init at 2016 69a928c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment