I am using citation-style-language package on Overleaf with Luatex to cite references as follows:
\documentclass{article}
\usepackage{citation-style-language}
\cslsetup{style=vancouver}
\addbibresource{paperpile.bib}
\title{csl timeout minimal}
\author{Minoru Matsui}
\date{July 2023}
\begin{document}
\maketitle
\section{Introduction}
\cite{Matsui2023-lk}
\printbibliography
\end{document}
with the .bib file of paperpile.bib as
@MISC{Matsui2023-lk,
title = "test",
author = "åüéç Jaromír Kovářík, Surname",
year = 2023,
}
%% the following does not work
@comment{
@MISC{Matsui2023-lk,
title = "test",
author = "{\"a} {\^e} ,{\`i} {\.I} {\o} {\'u} {\aa} {\c c} {\u g} {\l} {\~n} {\H o} {\v r} {\ss} {\r u}",
year = 2023,
}
}
which produces ↓
The problem is that I cannot make it work when I comment out the former part and use the latter commented-out section. I want to use the latter way of formatting special characters because
- Paperpile exports .bib file as such, and
- My understanding is that I should not use special characters such as ü directly in .bib file.
To explain the situation more precisely, the compile timeouts on Overleaf (try it yourself here). What am I doing wrong? Should I specify the character encoding as UTF-8? Should I load another package or something? I understand that the package is still in its early stage. Should I submit an issue to their repo?

hyperrefcommand (which I suspect is unrelated). As this is very developmental code, I suspect it might be that the Overleaf version is too old to do what you want. Can you add\listfilesto your input and report theFile listthat appears in the.logfile? – Joseph Wright Jul 03 '23 at 07:01\addbibresourcein the user manual notes: ”Note that only UTF-8 encoding is supported in the ⟨resource⟩ file.” So IMHO you should use UTF-8 for the bib file withcitation-style-language(BTW: withbiblatexIMHO this would also be best). – cabohah Jul 03 '23 at 09:03