d120 / vorkurs

Materialien welche für den Programmiervorkurs der Fachschaft Informatik der TU Darmstadt verwendet werden.
https://www.d120.de/de/studium/anfaenger/vorkurs
GNU General Public License v3.0
16 stars 3 forks source link

Compilation Error in `06_Funktionen.tex` #14

Closed Xiphoseer closed 3 years ago

Xiphoseer commented 3 years ago

I'm currently getting a

! Extra \fi.
\__hook_toplevel begindocument ...label \fi } \fi 

l.6 \begin{document}

error on that document (using make all) while testing #13. It seems to happen sometime within the fourth compilation of that file, so the first one with \def vorkursRecurse enabled.

As far as I can tell, that prelude is also the issue, because \def vorkursRecurse will consume the next token, whatever that is, and use that as the definition content. Changing that to \def vorkursRecurse {} seems to do the trick.

Rdeisenroth commented 3 years ago

Dieser Fehler wird durch meinen PR gefixed