diff --git a/.latexmkrc b/.latexmkrc index 9fc41f68..03197cab 100644 --- a/.latexmkrc +++ b/.latexmkrc @@ -1,6 +1,6 @@ #`-file-line-error` is similar to `--interaction nonstopmode`, but shows the concrete line number -#Remove it, it you want lualatex to stop on errors -$pdflatex = 'lualatex -shell-escape -file-line-error --synctex=-1 %O %S'; +#Remove it, it you want pdflatex to stop on errors +$pdflatex = 'pdflatex -shell-escape -file-line-error --synctex=-1 %O %S'; #Use SumatraPDF instead of the default PDF viewer $pdf_previewer = 'start "C:\Program Files\SumatraPDF\SumatraPDF.exe"'; diff --git a/docs/README.md b/docs/README.md index 812e598a..7d0ee6b9 100644 --- a/docs/README.md +++ b/docs/README.md @@ -33,12 +33,12 @@ For [architectural decision records](https://adr.github.io) see [docs/adr](https ## Characteristics of the template - Most recent packages and package configuration based on long-time experience. -- [lualatex](http://www.luatex.org/) to enable proper typeset [ligatures](https://en.wikipedia.org/wiki/Typographic_ligature). +- ~~[lualatex](http://www.luatex.org/) to enable proper typeset [ligatures](https://en.wikipedia.org/wiki/Typographic_ligature).~~ For older systems, [pdflatex](https://en.wikipedia.org/wiki/PdfTeX) is still supported. - Open for contributions. - [latexmk] - Reasoning available at . - [biblatex]+[biber] instead of plain [bibtex], because biblatex fully supports UTF-8 and commands such as `\citeauthor{...}` work out of the box. See also . -- Automatic adjustment of wrong [ligatures](https://en.wikipedia.org/wiki/Typographic_ligature) using the [selnolig](https://tex.meta.stackexchange.com/questions/2884/new-package-selnolig-that-automates-suppression-of-typographic-ligatures) package +- ~~Automatic adjustment of wrong [ligatures](https://en.wikipedia.org/wiki/Typographic_ligature) using the [selnolig](https://tex.meta.stackexchange.com/questions/2884/new-package-selnolig-that-automates-suppression-of-typographic-ligatures) package~~ - Full Unicode (UTF-8) support - Optional: Render listings using [minted](https://github.com/gpoore/minted/), which provides better output than [listings](https://ctan.org/pkg/listings), but requires [pygments](http://pygments.org/) to be installed. - Optional: Direct inclusion of [PlantUML](http://plantuml.com/) diagram.s @@ -108,10 +108,11 @@ This is provides a perfectly configured latex distribution with all required too Will download approx. 4GB. 4. Open TeXstudio 5. Options > Configure TeXstudio > Commands -6. Set "LuaLaTeX" to `docker run --rm -v DIROFTEXDOCUMENT:/home danteev/texlive lualatex --shell-escape -synctex=1 -interaction=nonstopmode %.tex`, replace `DIROFTEXDOCUMENT` by the directory of your latex document. Example: `/home/user/thesis`. -7. Set "Biber" to `docker run --rm -v DIROFTEXDOCUMENT:/home danteev/texlive biber %`, replace `DIROFTEXDOCUMENT` by the directory of your latex document. Example: `/home/user/thesis`. -8. Check if the "docker pull" command from step 3 succeed. If not, wait. -9. Try to press the "Compile" (F6) button in TeXstudio. +6. Set "PdfLaTeX" to `docker run --rm -v DIROFTEXDOCUMENT:/home danteev/texlive pdflatex --shell-escape -synctex=1 -interaction=nonstopmode %.tex`, replace `DIROFTEXDOCUMENT` by the directory of your latex document. Example: `/home/user/thesis`. +7. Set "LuaLaTeX" to `docker run --rm -v DIROFTEXDOCUMENT:/home danteev/texlive lualatex --shell-escape -synctex=1 -interaction=nonstopmode %.tex`, replace `DIROFTEXDOCUMENT` by the directory of your latex document. Example: `/home/user/thesis`. +8. Set "Biber" to `docker run --rm -v DIROFTEXDOCUMENT:/home danteev/texlive biber %`, replace `DIROFTEXDOCUMENT` by the directory of your latex document. Example: `/home/user/thesis`. +9. Check if the "docker pull" command from step 3 succeed. If not, wait. +10. Try to press the "Compile" (F6) button in TeXstudio. ## Installation hints for Windows diff --git a/main-english.tex b/main-english.tex index 5bfc951d..91a04e2c 100644 --- a/main-english.tex +++ b/main-english.tex @@ -1,6 +1,6 @@ % !TeX spellcheck = en-US % !TeX encoding = utf8 -% !TeX program = lualatex +% !TeX program = pdflatex % !BIB program = biber % -*- coding:utf-8 mod:LaTeX -*- @@ -124,7 +124,7 @@ \listoftables %Wird nur bei Verwendung von der lstlisting-Umgebung mit dem "caption"-Parameter benoetigt -%\lstlistoflistings +%\lstlistoflistings %ansonsten: \ifdeutsch \listof{Listing}{Verzeichnis der Listings} @@ -220,7 +220,7 @@ \chapter{Chapter Two} \chapter{Related Work} -Describe relevant scientific literature related to your work. +Describe relevant scientific literature related to your work. \chapter{Conclusion and Outlook} \label{chap:zusfas} diff --git a/main-german.tex b/main-german.tex index 775119a8..594e24ad 100644 --- a/main-german.tex +++ b/main-german.tex @@ -1,6 +1,6 @@ % !TeX spellcheck = de-DE % !TeX encoding = utf8 -% !TeX program = lualatex +% !TeX program = pdflatex % !BIB program = biber % -*- coding:utf-8 mod:LaTeX -*- diff --git a/main-minted-german.tex b/main-minted-german.tex index 27893a6a..973f58ed 100644 --- a/main-minted-german.tex +++ b/main-minted-german.tex @@ -1,7 +1,7 @@ % !TeX spellcheck = de-DE % !TeX encoding = utf8 -% !TeX program = lualatex -% !TeX TXS-program:compile = txs:///lualatex/[--shell-escape] +% !TeX program = pdflatex +% !TeX TXS-program:compile = txs:///pdflatex/[--shell-escape] % !BIB program = biber % -*- coding:utf-8 mod:LaTeX -*- diff --git a/main-paderborn-english.tex b/main-paderborn-english.tex index 286affcf..037e7c24 100644 --- a/main-paderborn-english.tex +++ b/main-paderborn-english.tex @@ -1,6 +1,6 @@ % !TeX spellcheck = en-US % !TeX encoding = utf8 -% !TeX program = lualatex +% !TeX program = pdflatex % !BIB program = biber % -*- coding:utf-8 mod:LaTeX -*- diff --git a/main-paderborn-german.tex b/main-paderborn-german.tex index 0a10b08c..b7cf446b 100644 --- a/main-paderborn-german.tex +++ b/main-paderborn-german.tex @@ -1,6 +1,6 @@ % !TeX spellcheck = de-DE % !TeX encoding = utf8 -% !TeX program = lualatex +% !TeX program = pdflatex % !BIB program = biber % -*- coding:utf-8 mod:LaTeX -*- @@ -137,7 +137,7 @@ \listoftables %Wird nur bei Verwendung von der lstlisting-Umgebung mit dem "caption"-Parameter benoetigt -%\lstlistoflistings +%\lstlistoflistings %ansonsten: \ifdeutsch \listof{Listing}{Verzeichnis der Listings}