My question is related to: hyperref link expanded by MakeUpperCase breaks
I use the same document setup as in the question (classicthesis+koma).
I would like to make a reference to a glossary entry in a \paragraph statement, e.g:
\paragraph{My reference \glsxtrshort{OUP}}
The thing is that is does not compile because classisthesis defines \DeclareRobustCommand{\spacedlowsmallcaps}[1]{\textls[80]{\ct@caps\MakeTextLowercase{#1}}}
}{\relax}
and the makeTextLowercase breaks the label. I also tried \glsxtrshort{\MakeTextUpperCase{OUP}} but this also does not help.
I could not transfer the answer in the link to the glossaries package.
A workaround would be to define all labels in small letters, but I have thousands of them in the document and there has to be some way around it. I also don't mind using a custom definition of glsxtrshort just for the paragraphs.
\newcommand{\acrshortpgraph}[1]{\glslink{\NoCaseChange{#1}}{\spacedlowsmallcaps{\glsentryshort{#1}}}}but this does not work (complains that the label oup (lower case) is not defined. – Elarion Jun 09 '20 at 07:50\titleformat{\paragraph}[runin] {\normalfont\normalsize}{\theparagraph}{0pt}{\spacedlowsmallcaps}so that it doesn't use spacedlowsc. Make it use\scshape. – PhilipPirrip Jun 10 '20 at 09:24\textsc{abc ABC}– PhilipPirrip Jun 10 '20 at 09:31