Switch back to minted for listings

This commit is contained in:
Charlotte Van Petegem 2024-01-16 14:51:35 +01:00
parent c7daf11c77
commit f3f4e2a6f4
No known key found for this signature in database
GPG key ID: 019E764B7184435A
4 changed files with 23 additions and 37 deletions

View file

@ -104,6 +104,7 @@
packages = [
full-texlive
pkgs.nixpkgs-fmt
(pkgs.python3.withPackages (ps: [ ps.pygments ]))
];
commands = [
{
@ -139,7 +140,7 @@
builddir=$(mktemp -d --tmpdir=/tmp)
fi
${emacs}/bin/emacs -batch -load build.el
${full-texlive}/bin/latexmk -f -pdf -lualatex -interaction=nonstopmode -output-directory="''${builddir}" book.tex
${full-texlive}/bin/latexmk -f -pdf -lualatex -shell-escape -interaction=nonstopmode -output-directory="''${builddir}" book.tex
mv "''${builddir}"/book.pdf .
if ! [ $# -eq 1 ]
then