From 8fbe571920f1b63dec62192c899ac1f5dc399741 Mon Sep 17 00:00:00 2001 From: Tom Vercauteren Date: Thu, 24 Oct 2024 15:14:03 +0100 Subject: [PATCH] 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 --- FormatAndDefsThesisExtra.tex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/FormatAndDefsThesisExtra.tex b/FormatAndDefsThesisExtra.tex index 940aa17..f238614 100644 --- a/FormatAndDefsThesisExtra.tex +++ b/FormatAndDefsThesisExtra.tex @@ -180,6 +180,8 @@ % Make parenthical citations the default \renewcommand\cite{\parencite} +% Need to bypass an error with texcount https://github.com/cai4cai/XCLThesisTemplate/issues/5 +%TC:ignore \DeclareCiteCommand{\citet} {\boolfalse{citetracker}% \boolfalse{pagetracker}% @@ -190,6 +192,7 @@ \printtext[bibhyperref]{\printnames{labelname}~[\printfield{year}]}} {\multicitedelim} {\usebibmacro{postnote}} +%TC:endignore \renewcommand*{\labelalphaothers}{} \DeclareLabelalphaTemplate{