I found a really weird behavior:
If I "enquote" (csquotes) something that starts with two identical characters in a section header AND use hyperref I get the error:
! Argument of \csq@pdf@quote@ii has an extra }.
<inserted text>
\par
l.19 \section{Foo Bar \enquote{AA}}
When the "double" character is not at the start everything is fine.
MWE:
\documentclass{article}
\usepackage{csquotes}
%Hyperref
\usepackage{hyperref}
\begin{document}
\section{Foo Bar \enquote{AA}}
\end{document}
There is also an explanation from another user.
I quote his comment here:
It's a bug in csquotes: if I modify two definitions to have \if#1 instead of \if#1, the run is successful.
The \if#1* test is obviously wrong: with \tracingmacros=1 I get
I found a really weird behavior: If I "enquote" (csquotes) something that starts with two identical characters in a section header AND use hyperref I get the error:
When the "double" character is not at the start everything is fine.
MWE:
See here for discussion.
There is also an explanation from another user. I quote his comment here: It's a bug in csquotes: if I modify two definitions to have \if#1 instead of \if#1, the run is successful.
The \if#1* test is obviously wrong: with \tracingmacros=1 I get
but clearly the macro is supposed to check if there's a leading *.