How can I change a command like \textcite[][8]{example}
to display p.8
rather than p.~8
in the text, while printing the postnote as-is if it does not resemble a page number.
I tried using \DeclareFieldFormat{postnote}{\pno#1}
after looking at section 3.13.3 in the biblatex manual, but -- unsurprisingly -- it does not work when the postnote is not a page:
MWE:
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@ARTICLE{example,
author = {Other, Anthony Norman},
title = {Some things I did},
year = {2014},
journal = {J.~Irrep. Res.},
volume = {1},
number = {1},
pages = {1-10}
}
\end{filecontents*}
\usepackage[backend=biber,style=authoryear-ibid]{biblatex}
\DeclareFieldFormat{postnote}{\pno#1}
\addbibresource{\jobname.bib}
\begin{document}
Hello\textcite[][8]{example}. But \textcite[][Table~5]{example}
\printbibliography
\end{document}