I'm using glossaries together with titlesec, which adds \MakeTextLowercase to the \section command. This breaks glossaries, since the key is now lower case.


\newacronym{API}{API}{Application Programming Interface}

Fails with

Package glossaries Error: Glossary entry `api' has not been defined. \section{\MakeTextLowercase{\Acrlong*{API}}}

Is there a way to protect the key against this, other than changing it to lower case?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.