Skip to content

Commit

Permalink
Fix references in the hydra specification
Browse files Browse the repository at this point in the history
Multiple invocation of pdflatex is needed. Using latexmk we can automate
all the needed steps for generating a properly linked PDF
  • Loading branch information
ch1bo committed May 29, 2023
1 parent 85e650c commit 4e37031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/default.nix
Expand Up @@ -9,7 +9,7 @@ pkgs.stdenvNoCC.mkDerivation rec {
];
phases = [ "unpackPhase" "buildPhase" ];
buildPhase = ''
pdflatex -file-line-error --synctex=1 -interaction=nonstopmode ${./main.tex}
latexmk -pdf ${./main.tex}
mkdir -p $out
mv *-main.pdf $out/${name}.pdf
'';
Expand Down

0 comments on commit 4e37031

Please sign in to comment.