From cdc4ad339af5010c3c4df1f00a095f0dd57d1430 Mon Sep 17 00:00:00 2001 From: C0ffeeCode Date: Tue, 28 Oct 2025 10:41:36 +0100 Subject: [PATCH] Fix: Duplication of course of studies on first page --- Template-Example-guide.pdf | Bin 89237 -> 89229 bytes template.typ | 20 +++++++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/Template-Example-guide.pdf b/Template-Example-guide.pdf index 440b21e22a0880b6d060e6e28aa3bafb0581c06b..0a09e371bafabb5be3e6f8e17ccaaf5ac5275bad 100644 GIT binary patch delta 2236 zcmZuxX-rgC6wY8pow`sZqiNLZJ_wIdnc?L+qiVJmR5D;yo3aB0HR0h}5=T=k< z*gCAWE-1*V6(N8OYQWK00|~YuSPBB7XsDtjU}dW9)4G&D<8h za|6#5H8~(`+5TjbCezZ`d)LVJ*+X%rcbe7yFnxgDeby>( z&lSbj2Ree5ozX2P$oA%I+eYlVQdhq%()-!{(;a0Mq22qgI;F?Eoz-Y{ckHRC_1Ko4 zX@B0b9#yKFR(4d~ZYs9+wGEwK*lgCPVg!iJg#oHEzZ=jIwvRCTrzBAQFc`Rm~4A|cj>8| zq4ArJeRRAuFuDP6vCS+tN`axusPN^7t{Vnj&S(xfn&H+k>w}6lZMuoAH=DaFm7K$^ z&K?IX_YG+-CE&feJ=&iJCkNLrS#eG28hb#P)VZhP?hxY&5WCOjHUGmSwKmuDQO6%zLt>(@);8M8rBQJ{=k+IV99G_c zv^%Wp+o$`3+XoYrF{|Z{?ytnPhUkVSPjTU)idv&Jf_D84>kH(ZyYV%uxM&fciB&weeXmPh$^oEtv1DsQ}PO6dtpr{ZW&+iF?V=v;WOWu8fA zT;sbqoCNtTz_T}f?h~~-a%#c#rw!?Z8|P#_CZilad@MZxSh zL?J*-JfZ}%7>0t(VMLNBlZ$16${a=|@DfwriXsq-m=v6X2^Z-!_Q_gd|2N7GAsi zA2+Zd6IMMIMaq$gQ0~`}DjJKJYXplF2rMxW;J;&dB~W>h41mNDs}Q><7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2}X{bx=U` z97$0O-D1K4_(qKQ_JZP|ykd@%^__6?eo7lF-+NAgvipH&IZB|&5T2C{2;l)8D8)fW z))F2fnOi&$C=!Ms%)jTtvc!m(A9abg-rlyxL1BuSAGphn31JGS0fe_5JJxsR)c*m6 C`lRdt diff --git a/template.typ b/template.typ index 8ca4cdb..aef0d91 100755 --- a/template.typ +++ b/template.typ @@ -1,16 +1,17 @@ #let acronyms = yaml("acronyms.yml"); -#let acroStates = state("acronymStates", ()); +#let acro_states = state("acronymStates", ()); #let english_pack = ( degree_1: "for the", - degree_2: "from the Course of Studies Computer Science", + degree_2: "from the Course of Studies", + degree_3: "", by: "by", time_period: "Time Period", student_id_course: "Student ID, Course", company: "Company", supervisor: "Supervisor in the Company", - decleration: (type, title) => [ + declaration: (type, title) => [ = Author's Declaration Hereby I solemnly declare: @@ -47,13 +48,14 @@ // TODO: Check alignment to LaTeX template #let german_pack = ( degree_1: "für den", - degree_2: "im Studiengang Informatik an der Dualen Hochschule Baden-Württemberg Stuttgart", + degree_2: "im Studiengang", + degree_3: "an der Dualen Hochschule Baden-Württemberg Stuttgart", by: "von", time_period: "Bearbeitungszeitraum", student_id_course: "Matrikelnummer, Kurs", company: "Ausbildungsfirma", supervisor: "Betreuer", - decleration: (type, title) => [ + declaration: (type, title) => [ == Erklärung Ich erkläre hiermit ehrenwörtlich: @@ -279,7 +281,7 @@ #text(14pt)[*#degree*] - #text(14pt)[#selected_lang.degree_2 #major] + #text(14pt)[#selected_lang.degree_2 #major #selected_lang.degree_3] #v(32pt) #text(14pt, selected_lang.by) @@ -344,7 +346,7 @@ #set align(top) #set align(start) - #(selected_lang.decleration)(type, title) + #(selected_lang.declaration)(type, title) #v(48pt) @@ -494,7 +496,7 @@ let item = acronyms.at(short) context({ - let entries = acroStates.at(here()).filter(e => e == short); + let entries = acro_states.at(here()).filter(e => e == short); // Already used once if entries.len() > 0 { @@ -505,7 +507,7 @@ } // First usage } else { - acroStates.update(e => {e.push(short); e;}); + acro_states.update(e => {e.push(short); e;}); if pref == "short" { link(label(short))[#short#append (#item)] } else {