From 1826faf72f9fd32e2b9ab9bc9e6ef4514eddf25f Mon Sep 17 00:00:00 2001 From: Thomas Kuschel Date: Mon, 19 Feb 2024 14:37:06 +0100 Subject: [PATCH] FIX old siunitx version - print --- documentation/linux_configuration.tex | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/documentation/linux_configuration.tex b/documentation/linux_configuration.tex index 0174366..6b93f6d 100644 --- a/documentation/linux_configuration.tex +++ b/documentation/linux_configuration.tex @@ -30,20 +30,24 @@ % Math mode with value and units framework, e.g. for 15.11.18.1 \usepackage{siunitx} -\IfPackageAtLeastTF{siunitx}{2023-07-31} +\newcommand{\siunitxversionfrom}{2023-07-31}% range-independent-prefix support added since that day +\IfPackageAtLeastTF{siunitx}{\siunitxversionfrom} {% new version \sisetup{ locale=DE, exponent-to-prefix=true, range-independent-prefix=true } +\newcommand{\siunitxold}{} } {% old version \sisetup{ locale=DE, exponent-to-prefix=true } -\newcommand{\siunitxold}{The module is older then 2023-07-31} +\newcommand{\siunitxold}{% +\\Please update your \LaTeX module \textit{siunitx}: The module is older then \siunitxversionfrom +}% }% \hypersetup{ @@ -103,9 +107,7 @@ Hier ist der Standarwert ein Nein [n], meine persönliche Einstellung ein Ja [Y] dann schicken Sie dies mit Erläuterungen und dem Hinweis auf die obenstehende Version \version ~an: \href{mailto:oe1tkt@gmail.com}{oe1tkt@gmail.com}} -\@ifdefined{siuntixold}{ - \\Please update your \LaTeX module \textit{siunitx}: \siunitxold -} +\siunitxold \subsection{Konfiguration für ein verteiltes Kompilieren auf mehreren Rechnern} Sie sollten schon einiges an Erfahrung mit dem Kompilieren unter Linux mitbringen.