Fix some errors

This commit is contained in:
2026-02-19 18:27:43 +01:00
parent c4c0266fd8
commit b7b365dd36
2 changed files with 11 additions and 6 deletions

View File

@@ -651,6 +651,7 @@
\newcommand{\printLabel}[1]{%
\ifcsdef{#1numbering}{% Extra config present
% TODO: Increment
\ifthenelse{\equal{\printNumberingConfigForDescriptor{#1}}{default}}{
\printCounter{#1\subsectionnumbering}%
}{
@@ -680,11 +681,14 @@
\newcommand{\printTranslationOptionEN}[1]{\csname #1NamingEN\endcsname}
\newcommand{\printTranslationOptionDE}[1]{\csname #1NamingDE\endcsname}
\newcommand{\inline}[2][__NONAME__]{%
\ifthenelse{\equal{__NONAME__}{#1}}{%
\anonymousInlineDescriptorTemplate{#2}{\printLabel{#2}}%
\newcommand{\inline}[2][NONAME]{%
\ifthenelse{\equal{NONAME}{#1}}{%
% \anonymousInlineDescriptorTemplate{#2}{\printLabel{#2}}%
\anonymousInlineDescriptorTemplate{#2}{Test}
\printLabel{#2}
}{%
\inlineDescriptorTemplate{#2}{\printLabel{#2}}{#1}%
% \inlineDescriptorTemplate{#2}{\printLabel{#2}}{#1}%
#2
}
}

View File

@@ -4,6 +4,7 @@
\newcommand{\printLabel}[1]{%
\ifcsdef{#1numbering}{% Extra config present
% TODO: Increment
\ifthenelse{\equal{\printNumberingConfigForDescriptor{#1}}{default}}{
\printCounter{#1\subsectionnumbering}%
}{
@@ -33,8 +34,8 @@
\newcommand{\printTranslationOptionEN}[1]{\csname #1NamingEN\endcsname}
\newcommand{\printTranslationOptionDE}[1]{\csname #1NamingDE\endcsname}
\newcommand{\inline}[2][__NONAME__]{%
\ifthenelse{\equal{__NONAME__}{#1}}{%
\newcommand{\inline}[2][NONAME]{%
\ifthenelse{\equal{NONAME}{#1}}{%
\anonymousInlineDescriptorTemplate{#2}{\printLabel{#2}}%
}{%
\inlineDescriptorTemplate{#2}{\printLabel{#2}}{#1}%