I've recently tried the tikz wheel from this other thread: https://tex.stackexchange.com/a/423907/140011 - it all works fine until I switched polyglossia to german.
This fails with
Extra }, or forgotten \endgroup.
\documentclass{article}
\usepackage{polyglossia}
\setdefaultlanguage{german}
\usepackage{graphicx}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\pgfmathparse{(5? "west" : "east" )} % Apprently these quotes are the culprit.
\end{tikzpicture}
\end{document}
This works
\documentclass{article}
\usepackage{polyglossia}
\setdefaultlanguage{german}
\usepackage{graphicx}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\pgfmathparse{(5? 5 : 4 )} % This does not make sense but works
\end{tikzpicture}
\end{document}
As we can easily see the quotes around east seem to be problem.
How can I bypass this?
\usetikzlibrary{babel}(as wrong as it might look :-) – Phelype Oleinik Oct 12 '20 at 21:48