Update slides for winter semester 2024/25 #14

Merged
fknoch merged 14 commits from master into production 2024-11-23 20:30:10 +00:00
2 changed files with 24 additions and 12 deletions
Showing only changes of commit e7bba4f47b - Show all commits

View File

@ -174,10 +174,6 @@ Kompilieren des Projekts
* ++ Fehlermeldungen enthalten dann Verweis, in welcher Unterdatei sie aufgetreten sind.
* ++ Die Unterdateien können wegen ihrer fehlenden Präambel nicht selbstständig kompiliert werden.
<div class="box warning fragment">
Von nun an kompilieren wir die Datei `main-exercises.tex` im Wurzelverzeichnis des Projektordners. Klickt hierzu in TeXstudio mit der rechten Maustaste auf die Datei und wählt **„Explizit als Root-Dokument setzen“**. Anschließend könnt ihr wie gewohnt kompilieren.
</div>
@slide(layout=task)
@ -193,4 +189,15 @@ Im Ordner `exercises/project-structure` findet ihr eine Datei namens `main.tex`.
* Erstellt neue Dateien (z.&thinsp;B. `section1.tex` und `section2.tex` und verschiebt die Abschnitte in diese.
* Importiert die Fragmente anschließend mit Hilfe des `\input`-Befehls.
* Lagert die Präambel auf demselben Weg in eine eigene Datei aus.
* Schaut euch abschließend die Gesamtstruktur unseres Projektarchivs an, beginnend mit `main-exercises.tex` im Wurzelverzeichnis. Wie binden wir hier die einzelnen Abschnitte ein?
* Schaut euch abschließend die Gesamtstruktur unseres Projektarchivs an, beginnend mit `main-exercises.tex` im Wurzelverzeichnis. Wie binden wir hier die einzelnen Abschnitte ein?
@slide(layout=content-only)
@title
Hinweis
@content
+ Von nun an kompilieren wir die Datei `main-exercises.tex` im Wurzelverzeichnis des Projektordners.
+ Klickt hierzu in TeXstudio mit der rechten Maustaste auf die Datei und wählt **„Explizit als Root-Dokument setzen“**.
+ Anschließend könnt ihr wie gewohnt kompilieren.

View File

@ -171,12 +171,6 @@ Compiling the project
* ++ Error messages include a reference to the corresponding subfile.
* ++ Subfiles cannot be compiled on their own as they dont have a preamble.
<div class="box warning fragment">
From now on, we will compile the file `main-exercises.tex` in the project root.
To do so, right click on the file in TeXstudio and choose **“Select as explicit root document”** from the dropdown.
Next, compile as usual.
</div>
@slide(layout=task)
@ -192,4 +186,15 @@ You will find a file named `main.tex` in the folder `exercises/project-structure
* Put the sections of the file into separate files, named `section1.tex` and `section2.tex`.
* Include them using the `\input` command.
* Move the preamble to its own file in a similar fashion.
* Finally, have a look at the general project archive, starting from `main-exercises.tex` (in the root folder of the project archive). How do we include the different sections here?
* Finally, have a look at the general project archive, starting from `main-exercises.tex` (in the root folder of the project archive). How do we include the different sections here?
@slide(layout=content-only)
@title
Note
@content
+ From now on, we will compile the file `main-exercises.tex` in the project root.
+ To do so, right click on the file in TeXstudio and choose **“Select as explicit root document”** from the dropdown.
+ Next, compile as usual.