0

Can I print the string of an arbitrary field with biblatex/biber?

MWE below

\documentclass{article}
\begin{filecontents}{ref.bib}
  @book{test,
    author    = {J. Doe},
    title     = {Book of something}
    number    = {123}
  }
\end{filecontents}

\usepackage[backend=biber]{biblatex} \addbibresource{ref.bib}

\begin{document}

The author of \cite{test} is \citeauthor{test}, the number is \citenumber{test} \citenum{test} % don't work

I would love a command that works for any field like so \citefield{number}{test}

\printbibliography

\end{document}

0 Answers0