abntex / biblatex-abnt

:books: Estilo para BibLaTeX compatível com as normas da ABNT
127 stars 28 forks source link

Make \bibpagerefpunct usable #55

Closed moewew closed 4 years ago

moewew commented 4 years ago

Currently \bibpagerefpunct is not usable and is essentially replaced by a hard-coded \printunit{\addperiod\addspace} in pageref. With a few changes it should be possible to get \bibpagerefpunct to work as expected.

Compare

\documentclass[12pt,a4paper,english]{abntex2}

\usepackage[style=abnt, backend=biber, backref=true]{biblatex}
\addbibresource{biblatex-examples.bib}

\renewcommand*{\bibpagerefpunct}{\addsemicolon\space}

\begin{document}
Citing \cite{sigfridsson}.

\printbibliography
\end{document}

with and without the change.

See also https://tex.stackexchange.com/q/516054/

dbmrq commented 4 years ago

Thank you! ❤️