diff --git a/janishutz-helpers.tex b/janishutz-helpers.tex index f488a38..8c40f78 100644 --- a/janishutz-helpers.tex +++ b/janishutz-helpers.tex @@ -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 } } diff --git a/src/style/counters.sty b/src/style/counters.sty index e03f222..585c894 100644 --- a/src/style/counters.sty +++ b/src/style/counters.sty @@ -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}%