From e7bba4f47beeaad7e46f023c45895f0bcfe7e3f4 Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Sat, 23 Nov 2024 17:51:45 +0100 Subject: [PATCH] Move hint on compiling the main document --- slides/project-structure.de.md | 17 ++++++++++++----- slides/project-structure.en.md | 19 ++++++++++++------- 2 files changed, 24 insertions(+), 12 deletions(-) diff --git a/slides/project-structure.de.md b/slides/project-structure.de.md index ea81b7f..0ef05cb 100644 --- a/slides/project-structure.de.md +++ b/slides/project-structure.de.md @@ -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. -
-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. -
- @slide(layout=task) @@ -193,4 +189,15 @@ Im Ordner `exercises/project-structure` findet ihr eine Datei namens `main.tex`. * Erstellt neue Dateien (z. 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? \ No newline at end of file +* 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. \ No newline at end of file diff --git a/slides/project-structure.en.md b/slides/project-structure.en.md index 990f1ed..3def5ba 100644 --- a/slides/project-structure.en.md +++ b/slides/project-structure.en.md @@ -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 don’t have a preamble. -
-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. -
- @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? \ No newline at end of file +* 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. \ No newline at end of file