about summary refs log tree commit diff stats
path: root/templates/latex
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/latex/flake.nix6
-rw-r--r--templates/latex/main.tex8
2 files changed, 7 insertions, 7 deletions
diff --git a/templates/latex/flake.nix b/templates/latex/flake.nix
index 0247cce..a87c795 100644
--- a/templates/latex/flake.nix
+++ b/templates/latex/flake.nix
@@ -72,7 +72,7 @@
       pkgs = nixpkgs.legacyPackages.${system};
 
       # This version is set automatically on `cog bump --auto`;
-      version = "v1.0.0"; # GUIDING VERSION STRING
+      version = "v%INIT_APPLICATION_VERSION"; # GUIDING VERSION STRING
 
       # TODO reduce to the needed ones
       texlive = pkgs.texlive.combined.scheme-full;
@@ -80,7 +80,7 @@
       treefmtEval = import ./treefmt.nix {inherit treefmt-nix pkgs;};
 
       build = pkgs.stdenv.mkDerivation {
-        pname = "TODO";
+        pname = "%INIT_APPLICATION_NAME";
         inherit version;
         src = ./.;
 
@@ -98,7 +98,7 @@
         '';
 
         installPhase = ''
-          install -D ./build/main.pdf $out/TODO;
+          install -D ./build/main.pdf "$out/%INIT_APPLICATION_NAME";
         '';
       };
     in {
diff --git a/templates/latex/main.tex b/templates/latex/main.tex
index 591e600..a458b07 100644
--- a/templates/latex/main.tex
+++ b/templates/latex/main.tex
@@ -7,14 +7,14 @@
 \input{headers/preamble_local.tex}
 
 \title{\textbf{TODO}}
-\author{Benedikt Peetz \\
-\href{mailto:benedikt.peetz@b-peetz.de}{benedikt.peetz@b-peetz.de}\\[1cm]
+\author{%INIT_AUTHOR_NAME \\
+\href{mailto:%INIT_AUTHOR_EMAIL}{%INIT_AUTHOR_EMAIL}\\[1cm]
 {\small Supervisor: TODO}}
 \date{\DTMToday}
 
 % For the copyright section
-\years{2024}
-\authors{Benedikt Peetz}
+\years{%INIT_YEAR}
+\authors{%INIT_AUTHOR_NAME}
 
 \makeatletter
 \hypersetup{