1

I'm using a \textcite{key} command in my section name/title in order to describe there the studies made by this specific author. However, I'm receiving the warning message "Package hyperref Warning: Token not allowed in a PDF string (Unicode): removing `\textcite' on input line 25".

I searched the internet for this warning, however, I only found solutions for some unicode-character problems. Are those solutions also applicable for my problem? See for example here: Hyperref - Token not allowed

Or does there exist another proper workaround for this problem?

Best regards, Aline

Hyperref Warning

Here's a MWE:

\documentclass{scrbook}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{csquotes}

\begin{filecontents}[overwrite]{mybib.bib} @book{test, title={Testing Title}, author={Testperson, Some}, year={2024}, publisher={Some Publisher}, location = {Anywhere} } \end{filecontents}

\usepackage[% backend=biber, style=apa, sorting=ynt]{biblatex} \addbibresource{mybib.bib} \usepackage{hyperref}

\begin{document}

\section{\textcite{test}}

I am citing \textcite{test}. \printbibliography \end{document}

Aline
  • 53
  • 4

0 Answers0