[Labels] Fix spacing with deactivated numbering
Update helpers / build_helpers (push) Successful in 49s

This commit is contained in:
2026-03-17 16:37:36 +01:00
parent 8d1638eeef
commit 45d08a770d
2 changed files with 306 additions and 294 deletions
+10 -4
View File
@@ -3,7 +3,9 @@
\newcommand{\printCounter}[1]{\refstepcounter{#1}\csname the#1\endcsname}
\newcommand{\printLabel}[1]{%
\ifthenelse{\boolean{numberingDisabled}}{}{%
\ifthenelse{\boolean{numberingDisabled}}{%
%
}{%
\ifcsdef{#1numbering}{% Extra config present
\ifthenelse{\equal{\printNumberingConfigForDescriptor{#1}}{default}}{%
\labelPrintBackendRoutine{#1}%
@@ -13,7 +15,9 @@
}{%
\ifthenelse{\equal{\printNumberingConfigForDescriptor{#1}}{combined}}{%
\printCounter{combined\subsectionnumbering}%
}{}%
}{%
%
}%
}%
}%
}{%
@@ -25,9 +29,11 @@
\newcommand{\labelPrintBackendRoutine}[1]{%
\ifthenelse{\equal{\numberingpreset}{combined}}{%
\printCounter{combined\subsectionnumbering}%
}{
}{%
\ifthenelse{\equal{\numberingpreset}{separate}}{%
\printCounter{#1\subsectionnumbering}%
}{}%
}{%
%
}%
}%
}