I want to easily typeset my documents without all references (the reason is that I need a version of the document without footnotes to count the words without footnotes). I use biblatex to create the footnotes. So what I do is have the following lines in the preamble, which are commented out for regular use, but not commented out when I want the document without the footnotes.
\def\autocite(#1)(#2)(#3){}
\def\autocites(#1)(#2)(#3){}
\providecommand{\pno}{\relax}
\providecommand{\psqq}{\relax}
The question refers to the first two lines. Since \autocite(s)
takes arguments, I redefined it according to the answer here. But this yields in the following error for every citation:
Use of \autocites doesn't match its definition.