diff --git a/layouts/content-and-preview-with-category.html b/layouts/content-and-preview-with-category.html new file mode 100644 index 0000000..e0872c3 --- /dev/null +++ b/layouts/content-and-preview-with-category.html @@ -0,0 +1,9 @@ +
Relativer Pfad von `main.tex` in eigenem Unterordner zu `part1.tex` in anderem Unterordner
@@ -229,7 +229,7 @@ Was denkt ihr, passiert, wenn wir die Präambel in eine Unterdatei auslagern? Wird das Gesamtdokument kompilieren oder nicht? -++**Ja, es kompiliert!** \ +++ **Ja, es kompiliert!** \ Ein einfacher Weg, um die Hauptdatei noch übersichtlicher zu halten. @preview @@ -246,9 +246,9 @@ Ein strukturiertes Projekt @content * Entfernt die Präambel, die beiden `document`-Zeilen und das Inhaltsverzeichnis aus `allgemeines.tex`. -* ++Kompiliert stattdessen `l2kurz.tex` – das ist ab sofort unsere **Hauptdatei.** Die Datei `allgemeines.tex` ist bereits eingebunden und wird mit kompiliert. -* ++Die Hauptdatei ist sehr unübersichtlich. Lagert alle Befehle, die vor der Dokumentumgebung (`\begin{document}`) aufgerufen werden, in eine neue Datei `praeambel.tex` aus und bindet diese mit `\input{praeambel}` ein. -* ++**Technischer Hinweis:** Wählt beim Kompilieren bitte die Option »(c) nutze das vorgegebene Kommando«, wenn sich ein entsprechendes Pop-up öffnet. +* ++ Kompiliert stattdessen `l2kurz.tex` – das ist ab sofort unsere **Hauptdatei.** Die Datei `allgemeines.tex` ist bereits eingebunden und wird mit kompiliert. +* ++ Die Hauptdatei ist sehr unübersichtlich. Lagert alle Befehle, die vor der Dokumentumgebung (`\begin{document}`) aufgerufen werden, in eine neue Datei `praeambel.tex` aus und bindet diese mit `\input{praeambel}` ein. +* ++ **Technischer Hinweis:** Wählt beim Kompilieren bitte die Option »(c) nutze das vorgegebene Kommando«, wenn sich ein entsprechendes Pop-up öffnet. @slide(layout=task) @@ -261,7 +261,7 @@ Ein strukturiertes Projekt @content * Um lange Kompilierzeiten zu verhindern, sollten vorerst nur noch die Abschnitte `einleitung.tex` und `allgemeines.tex` eingebunden werden. -* ++Ersetzt hierzu in der Datei `l2kurz.tex` alle **anderen** `\input`-Statements durch `\include`-Statements und verwendet den Befehl `\includeonly`. -* ++**Achtung:** Die Präambel sollte weiterhin durch `\input` eingebunden werden. -* ++Setzt das `\includeonly`-Statement direkt über `\begin{document}`. +* ++ Ersetzt hierzu in der Datei `l2kurz.tex` alle **anderen** `\input`-Statements durch `\include`-Statements und verwendet den Befehl `\includeonly`. +* ++ **Achtung:** Die Präambel sollte weiterhin durch `\input` eingebunden werden. +* ++ Setzt das `\includeonly`-Statement direkt über `\begin{document}`. diff --git a/slides/chapter-04.en.md b/slides/chapter-04.en.md index 2502024..67e7be7 100644 --- a/slides/chapter-04.en.md +++ b/slides/chapter-04.en.md @@ -3,7 +3,6 @@ @title Project structure - @slide(layout=content-and-preview) @title @@ -103,10 +102,10 @@ of section 2. (the entire project has to be compiled at least once before) -@slide(layout=content-and-preview) +@slide(layout=content-and-preview-with-category) -@todo -Label Excursion +@category +Excursion @title Specifying file paths 👣 @@ -119,13 +118,13 @@ Specifying file paths 👣  -@slide(layout=content-and-preview) +@slide(layout=content-and-preview-with-category) -@todo -Label Excursion +@category +Excursion @title -Specifying file paths 👣 +Specifying file paths 👣 @content ### Absolute paths @@ -135,7 +134,7 @@ Specifying file paths 👣 * in Windows: `\`absoluter path for `main.tex`
+absolute path for `main.tex`
* UNIX: `/home/knut/docs/latex/main.tex` * Windows: `C:\knut\docs\latex\main.tex` @@ -147,14 +146,14 @@ Specifying file paths 👣  -@slide(layout=content-and-preview) +@slide(layout=content-and-preview-with-category) + +@category +Excursion @title Specifying file paths 👣 -@todo -Label Exkurs - @content ### Relative paths * path from somewhere in the tree to a certain file @@ -167,17 +166,17 @@ from `main.tex` to `part1.tex` `./part1.tex` -A **single dot ‘`.`’** in a relative path means represents the current folder (in this case: `latex`). It is optional, you could also write `part1.tex` here. +A **single dot ‘`.`’** in a relative path represents the current folder (in this case: `latex`). It is optional, you could also write `part1.tex` here.Relative path from `main.tex` in its own subfolder to `part1.tex` in another subfolder
@@ -233,7 +232,7 @@ What do you think happens when we outsource the preamble into its own subfile? Will the document compile? -++**Yes, it will!** \ +++ **Yes, it will!** \ A simple way of keeping the main file even more organised. @preview @@ -245,17 +244,14 @@ A simple way of keeping the main file even more organised. @task-number 3 -@todo -TeXStudio-Option noch nicht übersetzt - @title A structured project @content * Remove the preamble, both of the `document` lines, and the table of contents from `allgemeines.tex`. -* ++Compile `l2kurz.tex` instead—it is going to be our **main file** from now on. The file `allgemeines.tex` is already included and will be compiled automatically. -* ++The main file is very complex. Outsource all the commands that come before the document environment (`\begin{document}`) into a new file `praeambel.tex` and include it with `\input{praeambel}`. -* ++**Technical note:** When a popup opens during compilation, please choose option “(c) nutze das vorgegebene Kommando.” +* ++ Compile `l2kurz.tex` instead—it is going to be our **main file** from now on. The file `allgemeines.tex` is already included and will be compiled automatically. +* ++ The main file is very complex. Outsource all the commands that come before the document environment (`\begin{document}`) into a new file `preamble.tex` and include it with `\input{preamble}`. +* ++ **Technical note:** When a popup opens during compilation, please choose option “(c) use the default command.” @slide(layout=task) @@ -268,7 +264,7 @@ A structured project @content * To avoid long compilation times, you should should only include the sections `einleitung.tex` and `allgemeines.tex` for now. -* ++For this purpose, replace all of the **other** `\input` statements inside `l2kurz.tex` by `\include` statements und then use `\includeonly`. -* ++**Caution:** The preamble still needs to be included via `\input`. -* ++Put the `\includeonly` statement directly above `\begin{document}`. +* ++ For this purpose, replace all of the **other** `\input` statements inside `l2kurz.tex` by `\include` statements und then use `\includeonly`. +* ++ **Caution:** The preamble still needs to be included via `\input`. +* ++ Put the `\includeonly` statement directly above `\begin{document}`. diff --git a/slides/chapter-05.de.md b/slides/chapter-05.de.md index 12bf5aa..15e60cf 100644 --- a/slides/chapter-05.de.md +++ b/slides/chapter-05.de.md @@ -326,9 +326,6 @@ LaTeX zu verwenden kostet 0 \euro. @slide(layout=content-only) -@todo -Untertitel wirklich auf Englisch? - @title Sonderzeichen & Symbole @@ -350,9 +347,9 @@ Sonderzeichen einfügen @content * Ersetzt in Abschnitt 1.1.1 die Leerzeichen vor und nach dem Namen Knuth durch **geschützte Leerzeichen.** -* ++Fügt in Abschnitt 1.2.1, Absatz 2, ein **halbes Leerzeichen** zwischen ›z.‹ und ›B.‹ von ›z.B.‹ ein. -* ++In Abschnitt 1.2.2 stehen an mehren Stellen Bindestriche als **Gedankenstriche.** Tauscht sie durch Halbgeviertstriche aus. -* ++In Abschnitt 1.2.1, Absatz 2, wird ein `"=` verwendet. Was passiert, wenn ihr stattdessen einen einfachen **Bindestrich** verwendet? -* ++In Abschnitt 1.1.1 sollten »Tech« und »TeX« in **Anführungszeichen** stehen. Nutzt dafür `\enquote{…}` -* ++Ersetzt die drei Punkte in 1.2.1, Absatz 2, durch eine echte **Ellipse.** +* ++ Fügt in Abschnitt 1.2.1, Absatz 2, ein **halbes Leerzeichen** zwischen ›z.‹ und ›B.‹ von ›z.B.‹ ein. +* ++ In Abschnitt 1.2.2 stehen an mehren Stellen Bindestriche als **Gedankenstriche.** Tauscht sie durch Halbgeviertstriche aus. +* ++ In Abschnitt 1.2.1, Absatz 2, wird ein `"=` verwendet. Was passiert, wenn ihr stattdessen einen einfachen **Bindestrich** verwendet? +* ++ In Abschnitt 1.1.1 sollten »Tech« und »TeX« in **Anführungszeichen** stehen. Nutzt dafür `\enquote{…}` +* ++ Ersetzt die drei Punkte in 1.2.1, Absatz 2, durch eine echte **Ellipse.** diff --git a/slides/chapter-05.en.md b/slides/chapter-05.en.md index b849721..143bbd4 100644 --- a/slides/chapter-05.en.md +++ b/slides/chapter-05.en.md @@ -18,7 +18,7 @@ Spaces ``` {.hljs .lang-tex} Thin spaces are used in abbreviations and before units, e.\,g., 10\,s. -Normal-with non-breaking spaces can help +Normal-width non-breaking spaces can help keep honorary titles and names on one line: Dr.~Fooboar. ``` @@ -42,7 +42,7 @@ Folie zu french spacing im Englischen Hyphens and dashes @todo -* Für Silbentrennung muss bei Babel die Sprache angegeben werden. Hier erwähnen und überall überprüfen. +* Für Silbentrennung muss bei Babel die Sprache angegeben werden. Hier erwähnen und überall überprüfen. (Wird auch auf der nächsten Seite angedeutet.) * Überprüfen, ob die Trennung A.E./B.E. wirklich stimmt. @content @@ -131,42 +131,42 @@ Quotation marks \`…\' \`\`…\'\'\`\`…\'\' \`…\'