exclude change-compiler section from chapter 0

This commit is contained in:
Fradtschuk 2022-01-10 01:27:52 +01:00
parent 4eae1b1f67
commit fccedb63b0

View File

@ -31,15 +31,19 @@ Any editor will do (notepad++, Atom, VS Code, etc.).
However, for beginners, we do recommend using a program that supports you with \LaTeX-specific features. However, for beginners, we do recommend using a program that supports you with \LaTeX-specific features.
One of these programs is \TeX{}studio.\footnote{You find the latest version on \url{https://www.texstudio.org/}.} One of these programs is \TeX{}studio.\footnote{You find the latest version on \url{https://www.texstudio.org/}.}
\section*{Changing the compiler command} %\section*{Changing the compiler command}
\todo{Refactor after the code inclusion part is redone.} %\todo{Refactor after the code inclusion part is redone.}
To prevent errors during the compilation of our document, you have to change the compiler command. %To prevent errors during the compilation of our document, you have to change
In \TeX{}studio, click on the \emph{Options} button and then on \emph{Configure \TeX{}studio \textellipsis}\todo{Add the correct steps for Mac (these dont apply)}. %the compiler command.
A new window will open up. %In \TeX{}studio, click on the \emph{Options} button and then on
Navigate to the \emph{Commands} area, and, next to \sh{pdflatex}, add the flag \sh{-shell-escape}. %\emph{Configure \TeX{}studio \textellipsis}\todo{Add the correct steps for Mac
In other words: The command for \sh{pdflatex} should look like this: %(these dont apply)}.
%A new window will open up.
\shell{pdflatex -synctex=1 -interaction=nonstopmode -shell-escape \%.tex} %Navigate to the \emph{Commands} area, and, next to \sh{pdflatex}, add the flag
%\sh{-shell-escape}.
%In other words: The command for \sh{pdflatex} should look like this:
%
%\shell{pdflatex -synctex=1 -interaction=nonstopmode -shell-escape \%.tex}
\section*{Compiling for the first time} \section*{Compiling for the first time}
Open up the file \file{main.tex} in the root directory of the project and compile it by pressing \faForward. Open up the file \file{main.tex} in the root directory of the project and compile it by pressing \faForward.