Merge two slides

This commit is contained in:
Knoch 2022-09-26 11:50:48 +02:00
parent af84aa0e29
commit 27056f93a1
2 changed files with 18 additions and 29 deletions

View File

@ -163,29 +163,22 @@ Dateipfade angeben <span class="emoji">👣</span>
![](svg/chapter-04/relative-path-superdir-crop.svg) ![](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) @slide(layout=content-only-with-category)
@category @category
Demo Demo
@title @title
Größere Projekte kompilieren Kompilieren des Projekts
@content @content
* Von nun an kompilieren wir die Datei `main.tex` im Wurzelverzeichnis des Projektordners. * **Nur die Hauptdatei** wird kompiliert, um das fertige PDF-Dokument zu erhalten.
* Klickt hierzu in TeXstudio mit der rechten Maustaste auf die Datei und wählt „Explizit als Root-Dokument setzen“. * ++ Fehlermeldungen enthalten dann Verweis, in welcher Unterdatei sie aufgetreten sind.
* Anschließend könnt ihr wie gewohnt kompilieren. * ++ 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.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) @slide(layout=task)

View File

@ -160,16 +160,6 @@ Specifying file paths <span class="emoji">👣</span>
![](svg/chapter-04/relative-path-superdir-english-crop.svg) ![](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 dont have a preamble.
@slide(layout=content-only-with-category) @slide(layout=content-only-with-category)
@ -177,12 +167,18 @@ Compiling the project
Demo Demo
@title @title
Compiling larger projects Compiling the project
@content @content
* From now on, we will compile the file `main.tex` in the project root. * **Only the main file** has to be compiled to get the complete PDF document.
* To do so, right click on the file in TeXstudio and choose “Select as explicit root document” from the dropdown. * ++ Error messages include a reference to the corresponding subfile.
* Next, compile as usual. * ++ 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.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) @slide(layout=task)