initial scaffold: structure, build setup, chapter stubs, diagrams
This commit is contained in:
@@ -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"
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user