From b78485a3f73f1bc8af7d5307672ef184898b38ca Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@posteo.net> Date: Mon, 16 Sep 2024 22:23:44 +0200 Subject: [PATCH] provide full glossary entry during \showCycle --- seasons.sty | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/seasons.sty b/seasons.sty index 4a779863..4383753f 100644 --- a/seasons.sty +++ b/seasons.sty @@ -5,7 +5,6 @@ \roundUp{cycle} \newcounter{fenestraYear} -\setcounter{fenestraYear}{3} \setcounter{fenestraYear}{\year} \multiply\value{fenestraYear}by 4 \newcounter{fenestraDay} @@ -39,22 +38,22 @@ \newcommand\showCycle[1][\value{cycle}]{% \ifcase#1% - \glsentrytext{cOne}% + \gls{cOne}% \renewcommand\cycleDesc{\glsentrydesc{cOne}}% \or% - \glsentrytext{cTwo}% + \gls{cTwo}% \renewcommand\cycleDesc{\glsentrydesc{cTwo}}% \or% - \glsentrytext{cThree}% + \gls{cThree}% \renewcommand\cycleDesc{\glsentrydesc{cThree}}% \or% - \glsentrytext{cFour}% + \gls{cFour}% \renewcommand\cycleDesc{\glsentrydesc{cFour}}% \or% - \glsentrytext{cFive}% + \gls{cFive}% \renewcommand\cycleDesc{\glsentrydesc{cFive}}% \else - \glsentrytext{cSix}% + \gls{cSix}% \renewcommand\cycleDesc{\glsentrydesc{cSix}}% \fi% } -- GitLab