Berichtsheft für Ausbildung https://comfix.cc
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Marcel Rupp 253161e791 Last commit from workstation 2 weeks ago
.gitignore Added some 2 years ago
README.md Shorthands added 2 years ago
kw01-2020.md Added bunch of weeks and adjusted times for second year 2 years ago
kw01-2021.md Signed some weeks 7 months ago
kw02-2019.md Hardened libra.py and added all of the missing flags for compilation 2 years ago
kw02-2020.md Added bunch of weeks and adjusted times for second year 2 years ago
kw02-2021.md Added KW 02-04 2021 6 months ago
kw03-2019.md Hardened libra.py and added all of the missing flags for compilation 2 years ago
kw03-2020.md Added bunch of weeks and adjusted times for second year 2 years ago
kw03-2021.md Updated KW03 and added KW05, 06 & 07 6 months ago
kw04-2019.md Hardened libra.py and added all of the missing flags for compilation 2 years ago
kw04-2020.md Added bunch of weeks and adjusted times for second year 2 years ago
kw04-2021.md Corrected tyops 6 months ago
kw05-2019.md Hardened libra.py and added all of the missing flags for compilation 2 years ago
kw05-2020.md Signing date added 1 year ago
kw05-2021.md Added bunch of weeks 4 months ago
kw06-2019.md Hardened libra.py and added all of the missing flags for compilation 2 years ago
kw06-2020.md KW 06, 07 2020 Added 1 year ago
kw06-2021.md Added bunch of weeks 4 months ago
kw07-2019.md Added KW07, 08, 09 2019 2 years ago
kw07-2020.md KW 06, 07 2020 Added 1 year ago
kw07-2021.md Added bunch of weeks 4 months ago
kw08-2019.md Added KW07, 08, 09 2019 2 years ago
kw08-2020.md Signing date added 1 year ago
kw08-2021.md Added bunch of weeks 4 months ago
kw09-2019.md Added KW07, 08, 09 2019 2 years ago
kw09-2020.md Added KW09, 10, 11 2020 1 year ago
kw09-2021.md Added bunch of weeks 4 months ago
kw10-2019.md KW10 2019 Added 2 years ago
kw10-2020.md Added KW09, 10, 11 2020 1 year ago
kw10-2021.md Added bunch of weeks 4 months ago
kw11-2019.md Signing date added for KW11&12 2019 2 years ago
kw11-2020.md Added KW09, 10, 11 2020 1 year ago
kw11-2021.md Added bunch of weeks 4 months ago
kw12-2019.md Signing date added for KW11&12 2019 2 years ago
kw12-2020.md Added KW12 2020 1 year ago
kw12-2021.md Added bunch of weeks 4 months ago
kw13-2019.md KW13 & KW14 2019 finished 2 years ago
kw13-2020.md KW13 2020 added signing date 1 year ago
kw13-2021.md Added bunch of weeks 4 months ago
kw14-2019.md Signed weekly reports 2 years ago
kw14-2020.md Updated KW14, 15 2020 1 year ago
kw14-2021.md Added bunch of weeks 3 months ago
kw15-2019.md Added KW15,15 & 19 2019 2 years ago
kw15-2020.md Added bunch of weeks 1 year ago
kw15-2021.md Added bunch of weeks 3 months ago
kw16-2019.md Signed weekly reports 2 years ago
kw16-2020.md Added bunch of weeks 1 year ago
kw16-2021.md Added bunch of weeks 2 months ago
kw17-2019.md Signed weekly reports 2 years ago
kw17-2020.md Added bunch of weeks 1 year ago
kw17-2021.md Added bunch of weeks 2 months ago
kw18-2019.md Signed weekly reports 2 years ago
kw18-2020.md Added bunch of weeks 1 year ago
kw18-2021.md Added bunch of weeks 2 months ago
kw19-2019.md Added KW15,15 & 19 2019 2 years ago
kw19-2020.md Added bunch of weeks 1 year ago
kw19-2021.md Added bunch of weeks 2 months ago
kw20-2019.md Added KW15,15 & 19 2019 2 years ago
kw20-2020.md Added bunch of weeks 1 year ago
kw20-2021.md Added bunch of weeks 2 months ago
kw21-2019.md KW 21 & 22 added 2 years ago
kw21-2020.md Added KW21-25 2020 1 year ago
kw21-2021.md Added bunch of weeks 2 months ago
kw22-2019.md Added KW 22, 23 & 24 2 years ago
kw22-2020.md Fixed merge conflict 1 year ago
kw22-2021.md Added bunch of weeks 2 months ago
kw23-2019.md Added KW 22, 23 & 24 2 years ago
kw23-2020.md Added KW21-25 2020 1 year ago
kw23-2021.md Last commit 2 weeks ago
kw24-2019.md Added KW 22, 23 & 24 2 years ago
kw24-2020.md Added KW21-25 2020 1 year ago
kw24-2021.md Last commit 2 weeks ago
kw25-2019.md KW25 & 26 Added 2 years ago
kw25-2020.md Added bunch of weeks 1 year ago
kw25-2021.md Added KW 25, 26 1 month ago
kw26-2019.md Added some 2 years ago
kw26-2020.md Added bunch of weeks 1 year ago
kw26-2021.md Last commit from workstation 2 weeks ago
kw27-2019.md Added some 2 years ago
kw27-2020.md Added bunch of weeks 1 year ago
kw27-2021.md Last commit from workstation 2 weeks ago
kw28-2019.md Added some 2 years ago
kw28-2020.md Added bunch of weeks 1 year ago
kw29-2019.md KW 29, 30 & 31 2019 Added 2 years ago
kw29-2020.md Added --nocleanup to libra.py and added bunch of weeks 11 months ago
kw30-2019.md KW 29, 30 & 31 2019 Added 2 years ago
kw30-2020.md Added --nocleanup to libra.py and added bunch of weeks 11 months ago
kw31-2019.md KW 29, 30 & 31 2019 Added 2 years ago
kw31-2020.md Added --nocleanup to libra.py and added bunch of weeks 11 months ago
kw32-2019.md Added KW32..37 2 years ago
kw32-2020.md Added --nocleanup to libra.py and added bunch of weeks 11 months ago
kw33-2019.md Added KW32..37 2 years ago
kw33-2020.md Signed KW33-39 2020 10 months ago
kw34-2019.md Added KW32..37 2 years ago
kw34-2020.md Signed KW33-39 2020 10 months ago
kw35-2019.md Added KW32..37 2 years ago
kw35-2020.md Signed KW33-39 2020 10 months ago
kw36-2018.md Hardened libra.py and added all of the missing flags for compilation 2 years ago
kw36-2019.md Added KW32..37 2 years ago
kw36-2020.md Signed KW33-39 2020 10 months ago
kw37-2018.md Hardened libra.py and added all of the missing flags for compilation 2 years ago
kw37-2019.md Added KW 37..40 2 years ago
kw37-2020.md Signed KW33-39 2020 10 months ago
kw38-2018.md Hardened libra.py and added all of the missing flags for compilation 2 years ago
kw38-2019.md Added KW 37..40 2 years ago
kw38-2020.md Signed KW33-39 2020 10 months ago
kw39-2018.md Hardened libra.py and added all of the missing flags for compilation 2 years ago
kw39-2019.md Added KW 37..40 2 years ago
kw39-2020.md Signed KW33-39 2020 10 months ago
kw40-2018.md Hardened libra.py and added all of the missing flags for compilation 2 years ago
kw40-2019.md KW 40 & 41 added signdate 2 years ago
kw40-2020.md Last commit from workstation 2 weeks ago
kw41-2018.md Hardened libra.py and added all of the missing flags for compilation 2 years ago
kw41-2019.md KW 40 & 41 added signdate 2 years ago
kw41-2020.md Signed some weeks 7 months ago
kw42-2018.md Hardened libra.py and added all of the missing flags for compilation 2 years ago
kw42-2019.md KW 42 & 43 added 2 years ago
kw42-2020.md Signed some weeks 7 months ago
kw43-2018.md Hardened libra.py and added all of the missing flags for compilation 2 years ago
kw43-2019.md KW 42 & 43 added 2 years ago
kw43-2020.md Signed some weeks 7 months ago
kw44-2018.md Hardened libra.py and added all of the missing flags for compilation 2 years ago
kw44-2019.md KW 44, 45 & 46 2019 added 2 years ago
kw44-2020.md Signed some weeks 7 months ago
kw45-2018.md Hardened libra.py and added all of the missing flags for compilation 2 years ago
kw45-2019.md KW 44, 45 & 46 2019 added 2 years ago
kw45-2020.md Signed some weeks 7 months ago
kw46-2018.md Hardened libra.py and added all of the missing flags for compilation 2 years ago
kw46-2019.md Signed KW46 & added KW47 2019 2 years ago
kw46-2020.md Signed some weeks 7 months ago
kw47-2018.md Hardened libra.py and added all of the missing flags for compilation 2 years ago
kw47-2019.md Signed KW 47,48,49 2019 2 years ago
kw47-2020.md Signed some weeks 7 months ago
kw48-2018.md Hardened libra.py and added all of the missing flags for compilation 2 years ago
kw48-2019.md Signed KW 47,48,49 2019 2 years ago
kw48-2020.md Signed some weeks 7 months ago
kw49-2018.md Hardened libra.py and added all of the missing flags for compilation 2 years ago
kw49-2019.md Signed KW 47,48,49 2019 2 years ago
kw49-2020.md Signed some weeks 7 months ago
kw50-2018.md Hardened libra.py and added all of the missing flags for compilation 2 years ago
kw50-2019.md Added bunch of weeks and adjusted times for second year 2 years ago
kw50-2020.md Signed some weeks 7 months ago
kw51-2018.md KW51 Added Fri 3 years ago
kw51-2019.md Added bunch of weeks and adjusted times for second year 2 years ago
kw51-2020.md Signed some weeks 7 months ago
kw52-2019.md Added bunch of weeks and adjusted times for second year 2 years ago
kw52-2020.md Signed some weeks 7 months ago
kw53-2020.md Signed some weeks 7 months ago
libra.py Added bunch of weeks 2 months ago
libra.toml Added bunch of weeks and adjusted times for second year 2 years ago
nec.png Updated KW36 & added logo 3 years ago
requirements.txt Added UnitTests for getWeekNumber 7 months ago
template.tex Added new RepoHelper. See README.md 2 years ago
tests.py Added UnitTests for getWeekNumber 7 months ago

README.md

Berichtsheft Repo

Das ist das Repo für mein Berichtsheft. Hier liegen alle .md-Dateien die genutzt werden um die PDFs zu erstellen

Libre

Libre ist mein "RepoHelper", ein Python-Script welches entwickelt wurde um mir mit den folgenden Aufgaben zu helfen:

  • Wochen MD-Datei generieren
  • MD-Datei in unten genanntes Template zu übersetzen
  • PDF mit pdflatex aus Template generieren
  • Cache-Dateien löschen die von pdflatex generiert werden

Libre ist der Nachfolger der ehemaligen buildPDF.py und genWeekMDTemplate.sh Skripte
Da es nun mit LaTeX-Variablen arbeitet, müssen die .tex-Dateien nichtmehr vorgehalten werden, da sich all notwendiger Inhalt nun in der .md-Datei befindet.

Kommandozeilenoptionen

  • -f, --force Erzwingt das überschreiben von Dateien
  • -c, --compile TeX-Kompilierungsschalter
  • -w, --week Spezifizieren der Woche
  • -y, --year Spezifizieren des Jahres
  • -s, --sign-date Spezifizieren des Datums des Unterschriftfeldes
    • Als Datum kann auch today benutzt werden
  • --config-file Spezifizieren einer anderes Konfigurationsdatei

Wenn der Kompilierungsschater gesetzt ist nimmt Libra alle angegebenen Parameter als Dateinamen an. Somit kann auch ein "Batchcompile" durchgeführt werden.
Als Shorthand können auch current & past verwendet werden, die automatisch durch die akutelle bzw vergangene Woche ersetzt werden.

Markdown

In der .md-Datei müssen folgende Einträge erfolgen:

  • Tages-Header (z.B: # 01.01.1970 - Donnerstag)
  • Aufgabe eines Tages (z.B. - Einen PC an einen Mitarbeiter ausgegeben)
  • Signatur-Datum (global) (z.B. !signed_at 01.01.1970)

Bang-Operatoren

Bang-Operatoren !operator_name [<operator_option>] können genutzt werden um wochenspezifische Trigger beim Übersetzen in ein LaTeX Dokument auszulösen. Die Verfügbaren Operatoren sind:

  • !week_profile work|school|vacation
  • !hours <Länge des Tages> [<Kommentar>], wobei der Kommentar nur ausgewertet wird wenn die Zeit bei 0 liegt. Bsp.: Tag der deutschen Einheit, Krankheit, ohne Kommentar überschreibt dieser jedoch nur den Standardwert, der aus der Konfiguration geladen wird
  • !absence <Zeit-Modifier 0-1> <Kommentar>, um eine Abwesenheit einzutragen, die nicht einen ganzen Tag, sondern nur z.B. einen halben Tag betrifft: Halber Tag Urlaub, Arzttermin

LaTeX

Der Mindestinhalt der generierten Datei um das template.tex nutzen zu können:

\def \kw {}
\def \jahr {}
\def \signDate {}

\def \monDate {} \def \monDur {}
\def \monContent {}
\def \tueDate {} \def \tueDur {}
\def \tueContent {}
\def \wedDate {} \def \wedDur {}
\def \wedContent {}
\def \thuDate {} \def \thuDur {}
\def \thuContent {}
\def \friDate {} \def \friDur {}
\def \friContent {}

\include{template}