From 988a25e9271ed3c0730ec35f8aff6cba32f02fe2 Mon Sep 17 00:00:00 2001 From: Gloria Mundi Date: Sat, 16 Nov 2024 22:34:12 +0100 Subject: fix source links --- content/latexmkrc | 2 +- content/tcr.tex | 6 ------ 2 files changed, 1 insertion(+), 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 -- cgit v1.2.3