aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--main.tex3
-rw-r--r--shell.nix2
3 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c004261..e822d5e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
.PHONY: build clean live
build:
- latexmk -pdf -outdir=build main.tex
+ latexmk -shell-escape -pdf -outdir=build main.tex
live:
- latexmk -pdf -pvc -outdir=build main.tex
+ latexmk -shell-escape -pdf -pvc -outdir=build main.tex
clean:
latexmk -C -outdir=build main.tex
diff --git a/main.tex b/main.tex
index 814dd11..2e95c66 100644
--- a/main.tex
+++ b/main.tex
@@ -9,6 +9,9 @@
\usepackage{amsmath,amssymb,amsthm}
%\usepackage[euler-digits,euler-hat-accent]{eulervm}
\usepackage{enumitem}
+\usepackage[outputdir=build]{minted}
+
+\usemintedstyle{borland}
\usepackage{hyperref}
\hypersetup{
diff --git a/shell.nix b/shell.nix
index 35b233b..e5be769 100644
--- a/shell.nix
+++ b/shell.nix
@@ -11,12 +11,14 @@ stdenv.mkDerivation rec {
eulervm
cm-super
enumitem
+ minted fvextra ifplatform framed
bibtex biblatex logreq xstring
;
};
in [
gnumake
texlive-custom
+ python3Packages.pygments
];
shellHook = ''