initial scaffold: structure, build setup, chapter stubs, diagrams

This commit is contained in:
2026-08-25 19:04:44 +02:00
parent ea69e2736e
commit 34f1863882
69 changed files with 1042 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
with import <nixpkgs> {}; let
fonts = [
times-newer-roman
];
# This is not reccocgnised by latexmk, so we will have to put our
# font files in ~/.local/share/fonts
# fontsConf = makeFontsConf {
# fontDirectories = fonts;
# };
# export FONTCONFIG_FILE="${fontsConf}"
in
mkShell {
nativeBuildInputs = fonts;
packages = [
latexrun
mermaid-cli
times-newer-roman
(texlive.withPackages (ps:
with ps; [
transparent
times
hyphenat
changepage
biblatex
listings
minted
upquote
biber
fontaxes
newtxtt
newtx
newtxsf
csquotes
enumitem
titlesec
latexmk
scheme-medium
textpos
]))
];
shellHook = ''
# install fonts
DEST=~/.local/share/fonts/TimesNewerRoman
mkdir -p $DEST
cp -r ${toString times-newer-roman}/share/fonts/opentype "$DEST"
'';
}