Dutch: Ordinals use wrong format
Closed this issue · 1 comments
LukeSerne commented
Description
Ordinals are printed as 1ste
, 2de
, 3de
etc. While this is a valid and correct way to write ordinals in Dutch, the TiU APA7 localisation exclusively uses the format 1e
, 2e
, 3e
. Since this localisation is specific to APA and the default behaviour is not wrong, I thought this issue fits better here instead of the biblatex repo.
MWE
\documentclass{report}
\usepackage[dutch]{babel}
\usepackage[style=apa, backend=biber]{biblatex}
\begin{filecontents}[overwrite]{test.bib}
@book{Test,
author = {Test},
date = {2019},
title = {Title},
edition = {2},
}
\end{filecontents}
\addbibresource{test.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
Observed output
Test. (2019). Title (2de ed.).
Desired output
Test. (2019). Title (2e ed.).
Solution
Interestingly, the solution is already in dutch.lbx
, it's just commented out. I added those lines to the preamble of my .tex
file to get the desired output:
\DefineBibliographyExtras{dutch}{%
\protected\def\mkbibordinal#1{\stripzeros{#1}e}
}
LukeSerne commented
That fixed it. Thanks!