File tree Expand file tree Collapse file tree 3 files changed +20
-7
lines changed
Expand file tree Collapse file tree 3 files changed +20
-7
lines changed Original file line number Diff line number Diff line change 1+ André Dietrich
2+ Christoph Pooch
3+ Fabian Bär
4+ Fritz Apelt
5+ Galina Rudolf
6+ JohannaKlinke
7+ Jonas Treumer
8+ KoKoKotlin
9+ Lesestein
10+ LinaTeumer
11+ MMachel
12+ Sebastian Zug
13+ Snikker123
14+ Yannik Höll
15+ galinarudollf
Original file line number Diff line number Diff line change @@ -23,19 +23,19 @@ jobs:
2323 # Ausführen des Parsers, der bestimmte Elemente im LiaCode entfernt
2424 - name : Run preprocessing
2525 run : |
26- python3 .github/workflows/preprocessing.py
2726 mkdir output
27+ python3 .github/workflows/preprocessing.py
2828 # Installation der notwendigen Pandoc tools
2929 - name : Install pandoc
3030 run : |
3131 sudo apt install pandoc
3232 # Generierungsprozess
3333 - name : Run pandoc markdown to tex
3434 run : |
35- pandoc --toc --top-level-division=chapter -V linkcolor:blue --pdf-engine=xelatex --listings -H .github/workflows/listings.tex --include-in-header=.github/workflows/header.tex - f markdown -t latex -o output/script.tex *.mdx
35+ pandoc --toc --top-level-division=chapter -V linkcolor:blue --pdf-engine=xelatex -f markdown -t latex -o output/script.tex *.mdx
3636 - name : Run pandoc markdown to pdf
3737 run : |
38- pandoc --toc --top-level-division=chapter -V linkcolor:blue --pdf-engine=xelatex --listings -H .github/workflows/listings.tex --include-in-header=.github/workflows/header.tex - o output/script.pdf *.mdx
38+ pandoc --toc --top-level-division=chapter -V linkcolor:blue --pdf-engine=xelatex -o output/script.pdf *.mdx
3939 # Speichern als Artifact
4040 - uses : actions/upload-artifact@master
4141 with :
Original file line number Diff line number Diff line change 2323 if file .endswith ("00_Einfuehrung.mdx" ): # insert metadata for pandoc in first md file
2424 title = "**C# Kurs TU Freiberg**"
2525 outfile .write (f"---\n title: |\n { title } \n https://github.com/SebastianZug/CsharpCourse\n author:\n " )
26- os .system ("git shortlog -ns --all > authors.txt" )
27- with open ("authors.txt" , "r" ) as authors : # read in authors and write them into the yaml code
26+ with open (".github/workflows/authors.txt" , "r" ) as authors : # read in authors and write them into the yaml code
2827 for line in authors :
29- line = line .strip ()
30- name = line .split ("\t " )[1 ]
28+ name = line .strip ()
3129 outfile .write (f" - { name } \n " )
3230
3331 outfile .write ("papersize:\n - a4\n geometry:\n - margin=2cm\n " )
You can’t perform that action at this time.
0 commit comments