You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-1Lines changed: 23 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,29 @@ Das Makefile stellt die folgenden Befehle bereit:
14
14
make clean - räumt mit allen temporären Dateien auf
15
15
make dir - erstellt das Vorkurs-Verzeichnis
16
16
make nodir - löscht das Vorkurs-Verzeichnis
17
-
make zip - erstellt ein zip-file um es online zu stellen
17
+
make zip - erstellt ein zip-file um es online zu stellen
18
+
make format - formatiert alle Latex files automatisch (siehe section Formatierung)
19
+
20
+
Formatierung
21
+
------------
22
+
23
+
Mit
24
+
25
+
make format
26
+
27
+
werden alle `.tex`-Dateien im Projekt automatisch mit `latexindent` formatiert. Dabei werden eventuell fehlende Perl-Module erkannt und du kannst auswählen, ob sie automatisch installiert werden sollen. Nach dem Formatieren werden alle von `latexindent` erzeugten Backup-Dateien (z.B. `.bak0`) automatisch entfernt.
28
+
29
+
**Voraussetzungen:**
30
+
-`latexindent.pl` muss installiert sein (enthalten in TeX Live oder MacTeX).
31
+
- Die Perl-Module `YAML::Tiny`, `File::HomeDir`, `Unicode::GCString` und `File::Find::Rule` müssen installiert sein (das Skript hilft bei der Installation).
32
+
- Für die automatische Installation der Module kann ggf. `sudo` benötigt werden.
33
+
34
+
**Ablauf:**
35
+
1.`make format` ausführen.
36
+
2. Fehlende Module werden angezeigt und können installiert werden.
0 commit comments