From 27056f93a156cccc8e82a8520912983022e4dd34 Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Mon, 26 Sep 2022 11:50:48 +0200 Subject: [PATCH] Merge two slides --- slides/chapter-04.de.md | 23 ++++++++--------------- slides/chapter-04.en.md | 24 ++++++++++-------------- 2 files changed, 18 insertions(+), 29 deletions(-) diff --git a/slides/chapter-04.de.md b/slides/chapter-04.de.md index af8181a..bfa327e 100644 --- a/slides/chapter-04.de.md +++ b/slides/chapter-04.de.md @@ -163,29 +163,22 @@ Dateipfade angeben 👣 ![](svg/chapter-04/relative-path-superdir-crop.svg) -@slide(layout=content-only) - -@title -Kompilieren des Projekts - -@content -* **Nur die Hauptdatei** wird kompiliert, um das fertige PDF-Dokument zu erhalten. -* Fehlermeldungen enthalten dann Verweis, in welcher Unterdatei sie aufgetreten sind. -* Die Unterdateien können wegen ihrer fehlenden Präambel nicht selbstständig kompiliert werden. - - @slide(layout=content-only-with-category) @category Demo @title -Größere Projekte kompilieren +Kompilieren des Projekts @content -* Von nun an kompilieren wir die Datei `main.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. +* **Nur die Hauptdatei** wird kompiliert, um das fertige PDF-Dokument zu erhalten. +* ++ 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.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) diff --git a/slides/chapter-04.en.md b/slides/chapter-04.en.md index c5e37d8..c49c5c8 100644 --- a/slides/chapter-04.en.md +++ b/slides/chapter-04.en.md @@ -160,16 +160,6 @@ Specifying file paths 👣 ![](svg/chapter-04/relative-path-superdir-english-crop.svg) -@slide(layout=content-only) - -@title -Compiling the project - -@content -* **Only the main file** has to be compiled to get the complete PDF document. -* Error messages include a reference to the corresponding subfile. -* Subfiles cannot be compiled on their own as they don’t have a preamble. - @slide(layout=content-only-with-category) @@ -177,12 +167,18 @@ Compiling the project Demo @title -Compiling larger projects +Compiling the project @content -* From now on, we will compile the file `main.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. +* **Only the main file** has to be compiled to get the complete PDF document. +* ++ 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.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)