diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index b301791..1641827 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -3,7 +3,7 @@ run-name: $${{gitea.actor}} - build page on: push: branches: - - master + - production jobs: Render and Deploy to wiai.de: runs-on: ubuntu-latest diff --git a/layouts/root.html b/layouts/root.html index 2f906a7..9a1494a 100644 --- a/layouts/root.html +++ b/layouts/root.html @@ -7,7 +7,7 @@ @title - + @slides diff --git a/lib/highlightjs/dark.css b/lib/highlightjs/dark.css new file mode 100644 index 0000000..bdeceb2 --- /dev/null +++ b/lib/highlightjs/dark.css @@ -0,0 +1,62 @@ +pre code.hljs { + display: block; + overflow-x: auto; + padding: 1em +} +code.hljs { + padding: 3px 5px +} +/* + +Dark style from softwaremaniacs.org (c) Ivan Sagalaev + +*/ +.hljs { + color: #ddd; + background: #303030 +} +.hljs-keyword, +.hljs-selector-tag, +.hljs-literal, +.hljs-section, +.hljs-link { + color: white +} +.hljs-subst { + /* default */ + +} +.hljs-string, +.hljs-title, +.hljs-name, +.hljs-type, +.hljs-attribute, +.hljs-symbol, +.hljs-bullet, +.hljs-built_in, +.hljs-addition, +.hljs-variable, +.hljs-template-tag, +.hljs-template-variable { + color: #d88 +} +.hljs-comment, +.hljs-quote, +.hljs-deletion, +.hljs-meta { + color: #979797 +} +.hljs-keyword, +.hljs-selector-tag, +.hljs-literal, +.hljs-title, +.hljs-section, +.hljs-doctag, +.hljs-type, +.hljs-name, +.hljs-strong { + font-weight: bold +} +.hljs-emphasis { + font-style: italic +} \ No newline at end of file diff --git a/lib/highlightjs/zenburn.css b/lib/highlightjs/zenburn.css deleted file mode 100644 index f37c21e..0000000 --- a/lib/highlightjs/zenburn.css +++ /dev/null @@ -1,7 +0,0 @@ -/*! - Theme: Zenburn - Author: elnawe - License: ~ MIT (or more permissive) [via base16-schemes-source] - Maintainer: @highlightjs/core-team - Version: 2021.09.0 -*/pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#dcdccc;background:#383838}.hljs ::selection,.hljs::selection{background-color:#606060;color:#dcdccc}.hljs-comment{color:#a87ab9}.hljs-tag{color:grey}.hljs-operator,.hljs-punctuation,.hljs-subst{color:#dcdccc}.hljs-operator{opacity:.7}.hljs-bullet,.hljs-deletion,.hljs-name,.hljs-selector-tag,.hljs-template-variable,.hljs-variable{color:#dca3a3}.hljs-attr,.hljs-link,.hljs-literal,.hljs-number,.hljs-symbol,.hljs-variable.constant_{color:#dfaf8f}.hljs-class .hljs-title,.hljs-title,.hljs-title.class_{color:#e0cf9f}.hljs-strong{font-weight:700;color:#e0cf9f}.hljs-addition,.hljs-code,.hljs-string,.hljs-title.class_.inherited__{color:#5f7f5f}.hljs-built_in,.hljs-doctag,.hljs-keyword.hljs-atrule,.hljs-quote,.hljs-regexp{color:#93e0e3}.hljs-attribute,.hljs-function .hljs-title,.hljs-section,.hljs-title.function_,.ruby .hljs-property{color:#7cb8bb}.diff .hljs-meta,.hljs-keyword,.hljs-template-tag,.hljs-type{color:#dc8cc3}.hljs-emphasis{color:#dc8cc3;font-style:italic}.hljs-meta,.hljs-meta .hljs-keyword,.hljs-meta .hljs-string{color:#000}.hljs-meta .hljs-keyword,.hljs-meta-keyword{font-weight:700} \ No newline at end of file diff --git a/slides/intro.de.md b/slides/intro.de.md index 72f677b..36c7c69 100644 --- a/slides/intro.de.md +++ b/slides/intro.de.md @@ -15,11 +15,12 @@ Um das Skript für das Tutorium kompilieren zu können, müssen zunächst ein pa Exkurs: Eine Kommandozeile öffnen @content -* Für die kommenden Aufgaben brauchen wir eine Kommandozeile -* Je nach Betriebssystem, das verwendet wird, gibt es unteschiedliche Wege, sie zu öffnen -* **Windows**: Drückt die Windows-Taste, tippt *cmd* und drückt Enter -* **MacOS**: Drückt die *Command*-Taste und die Leertaste gleichzeitig, tippt danach *Terminal* und macht einen Doppelklick auf *Terminal* -* **Linux**: Drückt ``Strg + Alt + T`` +* Für die kommenden Aufgaben brauchen wir eine Kommandozeile. +* Je nach Betriebssystem, das verwendet wird, gibt es unteschiedliche Wege, sie zu öffnen: + + * **Windows**: Drückt die Windows-Taste, tippt *cmd* und drückt Enter + * **MacOS**: Drückt die *Command*-Taste und die Leertaste gleichzeitig, tippt danach *Terminal* und macht einen Doppelklick auf *Terminal* + * **Linux**: Drückt Strg + Alt + T @slide(layout=content-only) @@ -27,15 +28,15 @@ Exkurs: Eine Kommandozeile öffnen Den Compiler installieren @content -* Der Compiler übersetzt unseren LaTeX-Code in ein PDF +* Der Compiler übersetzt unseren LaTeX-Code in ein ansprechend formatiertes PDF-Dokument. * Je nach Betriebssystem stehen unterschiedliche Compiler zur Verfügung: -* Windows: MikTEX -* Linux-Distributionen: TEXLive - * Debian-basierte Distros: Führt `sudo apt install texlive-full` aus - * Andere Distributionen: Folgt den anweisungen auf der TEXLive-Website + + * Windows: MikTEX + * Linux: TEXLive (bestenfalls `texlive-full`) + * macOS: MacTEX
-Bitte achtet darauf, die full version mit allen Paketen zu installieren, wenn ihr die Auswahl habt! +Unter Windows sollte nach der Installation in der MikTEX-Console einmal nach Updates gesucht werden, um spätere Probleme zu vermeiden.
@slide(layout=content-only) @@ -44,10 +45,10 @@ Bitte achtet darauf, die full version mit allen Paketen zu installieren, wenn ih Installieren des Editors @content -* Ein Editor kann heruntergeladen werden, sobald die Installation des Compilers fertig ist -* Es funktioniert jeglicher Text-Editor, wie etwa Notepad++ oder VSCode -* Für Anfänger:innen empfehlen wir jedoch TEXstudio, da es LaTeX-spezifische Features bietet -* Ladet TEXstudio herunter und installiert es +* Ein Editor kann heruntergeladen werden, sobald die Installation des Compilers fertig ist. +* Es funktioniert jeglicher Text-Editor, wie etwa Notepad++ oder Visual Studio Code. +* Für Anfänger:innen empfehlen wir jedoch TEXstudio, da es LaTeX-spezifische Features bietet. +* Ladet TEXstudio herunter und installiert es. @@ -56,11 +57,11 @@ Installieren des Editors Kompilieren des Skriptes @content -* Ladet das Projektarchiv aus dem VC herunter -* Entpackt das Archiv -* Öffnet die Datei main-exercises.tex in TeXstudio. Ihr findet es im Wurzelverzeichnis des Archivs -* Kompiliert die Datei, indem ihr klickt -* Einige neue Dateien sollten nun durch das Kompilieren generiert werden +* Ladet das Projektarchiv aus dem VC herunter. +* Entpackt das Archiv. +* Öffnet die Datei main-exercises.tex in TeXstudio. Ihr findet es im Wurzelverzeichnis des Archivs. +* Kompiliert die Datei, indem ihr klickt. +* Einige neue Dateien sollten nun durch das Kompilieren generiert werden.
Windows-Nutzer:innen: Um Dateiendungen zu aktivieren, klickt auf das Ansichts-Tab im Dateiexplorer und wählt *Dateiendungen*. So könnt ihr besser zwischen den einzelnen main-Files unterscheiden. diff --git a/slides/intro.en.md b/slides/intro.en.md index fa418c5..6158ebd 100644 --- a/slides/intro.en.md +++ b/slides/intro.en.md @@ -15,12 +15,12 @@ In order to compile the script for this tutorial, a few steps have to be followe Digression: Opening a command prompt @content -* For the following tasks, we are going to need a command prompt -* It can be opened in different ways, depending on your operating system +* For the following tasks, we are going to need a command prompt. +* It can be opened in different ways, depending on your operating system. - * **Windows**: Press the Windows key and type in *cmd*, press Enter - * **MacOS**: Press the *Command* key and the *space bar* simultaneously, then type in *Terminal* and double click on *Terminal* - * **Linux**: Press ``Ctrl + Alt + T`` + * **Windows**: Press the Windows key and type in *cmd*, press Enter. + * **MacOS**: Press the *Command* key and the *space bar* simultaneously, then type in *Terminal* and double click on *Terminal*. + * **Linux**: Press Ctrl + Alt + T. @slide(layout=content-only) @@ -28,16 +28,15 @@ Digression: Opening a command prompt Installing the compiler @content -* The compiler translates our LATEX code into a PDF -* Depending on your operating system, different compilers are available -* Windows: MikTEX -* macOS: MacTEX -* Linux distributions: TEXLive - * Debian-based distributions: run `sudo apt install texlive-full` - * other distributions: see the TEXLive website +* The compiler translates our LATEX code into a properly formatted PDF document. +* Depending on your operating system, different compilers are available: + + * Windows: MikTEX + * Linux: TEXLive (preferably `texlive-full`) + * macOS: MacTEX
-Make sure to install the full version with all packages, if you can! +On Windows, please open the MikTEX Console once and search for updates.
@slide(layout=content-only) @@ -46,10 +45,10 @@ Make sure to install the full version with all packages, if you can! Installing the editor @content -* An editor can downloaded once the compiler has been installed -* For editing LaTeX documents, any text editor works fine, e.g., Notepad++, VSCode -* For beginners, TEXstudio is recommended due to its LaTeX-specific features -* Download and install TEXstudio +* An editor can be downloaded once the compiler has been installed. +* For editing LaTeX documents, any text editor works fine, e. g., Notepad++ or VSCode. +* For beginners, we recommend TEXstudio due to its LaTeX-specific features. +* Download and install TEXstudio. @slide(layout=content-only) @title diff --git a/slides/titlepage.de.md b/slides/titlepage.de.md index d1014a0..fe72a7e 100644 --- a/slides/titlepage.de.md +++ b/slides/titlepage.de.md @@ -4,5 +4,5 @@ LATEX-Wochenende @subscript -Ein Workshop der Fachschaft WIAI. Präsentiert von Evelyn Fradtschuk, Jessica Klarmann, Florian Knoch, Theresa Knoll, Christian Kremitzl, Bernhard Luedtke und Jochen Mehlich. +Ein Workshop der Fachschaft WIAI. Präsentiert von Jessica Klarmann, Jannik Kiesel, Florian Knoch, Theresa Knoll und Hannah Rattenberger. diff --git a/slides/titlepage.en.md b/slides/titlepage.en.md index 3e0076d..3d163ba 100644 --- a/slides/titlepage.en.md +++ b/slides/titlepage.en.md @@ -4,5 +4,5 @@ LATEX Weekend @subscript -A Fachschaft WIAI workshop. Presented by Evelyn Fradtschuk, Jessica Klarmann, Florian Knoch, Theresa Knoll, Christian Kremitzl, Fabian Lamprecht, Bernhard Luedtke and Jochen Mehlich. +A Fachschaft WIAI workshop. Presented by Jessica Klarmann, Jannik Kiesel, Florian Knoch, Theresa Knoll, and Hannah Rattenberger.