Skip to content

Commit 8fbe571

Browse files
authored
Skip offending texcount declariation
Added %TC:ignore %TC:endignore as per https://app.uio.no/ifi/texcount/faq.html Fixes #5 See also https://tex.stackexchange.com/questions/729378/texcount-error-with-biblatex-declarecitecommand
1 parent 7dbf11f commit 8fbe571

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

FormatAndDefsThesisExtra.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@
180180
% Make parenthical citations the default
181181
\renewcommand\cite{\parencite}
182182

183+
% Need to bypass an error with texcount https://github.com/cai4cai/XCLThesisTemplate/issues/5
184+
%TC:ignore
183185
\DeclareCiteCommand{\citet}
184186
{\boolfalse{citetracker}%
185187
\boolfalse{pagetracker}%
@@ -190,6 +192,7 @@
190192
\printtext[bibhyperref]{\printnames{labelname}~[\printfield{year}]}}
191193
{\multicitedelim}
192194
{\usebibmacro{postnote}}
195+
%TC:endignore
193196

194197
\renewcommand*{\labelalphaothers}{}
195198
\DeclareLabelalphaTemplate{

0 commit comments

Comments
 (0)