summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGloria Mundi <gloria@gloria-mundi.eu>2024-11-16 22:34:12 +0100
committerGloria Mundi <gloria@gloria-mundi.eu>2024-11-16 22:34:12 +0100
commit988a25e9271ed3c0730ec35f8aff6cba32f02fe2 (patch)
treebb0fb963c957422564b5ef00b9fe6acfbad10352
parented2cdb7ff56664d2447301802e574c9289ca4e3f (diff)
fix source links
-rw-r--r--content/latexmkrc2
-rw-r--r--content/tcr.tex6
2 files changed, 1 insertions, 7 deletions
diff --git a/content/latexmkrc b/content/latexmkrc
index c1a56ab..b43f9a2 100644
--- a/content/latexmkrc
+++ b/content/latexmkrc
@@ -7,7 +7,7 @@ $out_dir = "..";
chomp $commit;
$pre_tex_code .=
'\newcommand{\srclink}[1]'
- .'{https://git.gloria-mundi.eu/tcr/plain/content/#1?'.$commit.'}';
+ .'{https://git.gloria-mundi.eu/tcr/plain/content/#1?id='.$commit.'}';
}
&alt_tex_cmds;
$jobname = 'tcr';
diff --git a/content/tcr.tex b/content/tcr.tex
index 3b686ef..46a9a6a 100644
--- a/content/tcr.tex
+++ b/content/tcr.tex
@@ -9,12 +9,6 @@
\newcommand{\teamname}{Infinite Loopers}
\newcommand{\university}{Karlsruhe Institute of Technology}
-% Source code links (optional)
-\ifdefined\srclink
-\else
- \newcommand{\srclink}[1]{https://git.gloria-mundi.eu/tcr/plain/#1}
-\fi
-
% Options
\newif\ifoptional
\ifdefined\OPTIONAL