How can I conditionally designate an active quote in csquotes.cfg so that no error is produced if the same character is made into an active quote in the .cfg and the document's preamble?
I have the following effective code in csquotes.cfg:
\MakeAutoQuote{‘}{’}
\MakeAutoQuote*{“}{”}
\endinput
Is it possible to activate this code at the end of the preamble and only if the \MakeAutoQuote and \MakeAutoQuote* have not already been set for these characters?
That is, I would like to be able to compile the following document notwithstanding csquotes.cfg:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{csquotes}
\MakeAutoQuote{‘}{’}
\MakeAutoQuote*{“}{”}
\begin{document}
‘abc’
\end{document}
as well as
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{csquotes}
\begin{document}
‘abc’
\end{document}

\ifs? That is, wrap the\Make...s in the.cfgin a conditional, and then add a\newifstatement before the document class? Or are you looking for a cleverer version of\MakeAutoQuote? – jon Jul 19 '16 at 03:16.cfgwhich does not require altering the document preamble e.g. an existing\ifof some kind, so I don't need to add it in the document preamble. – cfr Jul 19 '16 at 10:14\ProvideAutoQuotecommand.... – jon Jul 20 '16 at 03:27csquotesand, after that, figured I'd ask here :(. – cfr Jul 20 '16 at 06:57achievementof any kind at all. Really, it just happened to me. If I did anything, it was certainly an accident! – cfr Jul 26 '16 at 00:30