I am using the authoryear-icomp
style and I am trying to suppress the page prefix S. at \autocite
s and replace them with a colon.
Yet, I am getting
Dummy (Heinrich 2013: S. 197)
with this MWE:
\documentclass[a4paper, 12pt]{article}
\usepackage[style=authoryear-icomp, isbn=false]{biblatex}
\addbibresource{\jobname.bib}
\DeclareDelimFormat{postnotedelim}{\addcolon\space}
\DeclareFieldFormat{postnote}{\mknormrange{#1}}
\DeclareFieldFormat{multipostnote}{\mknormrange{#1}}
\usepackage[utf8]{inputenc}
\usepackage[babel, german=guillemets]{csquotes}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage{titling}
\begin{filecontents}{\jobname.bib}
@book{Heinrich.2013,
author = {Heinrich, Michael},
year = {2013},
title = {Kritik der politischen {\"O}konomie: Eine Einf{\"u}hrung},
address = {Stuttgart},
edition = {11. Aufl.},
publisher = {Schmetterling-Verl.},
isbn = {3-89657-593-7},
series = {Reihe Theorie.org}
}
\end{filecontents}
\begin{document}
Dummy\autocite[S.~39]{Heinrich.2013}
\printbibliography
\end{document}
\DeclareDelimFormat{postnotedelim}{\addcolon\space} \DeclareFieldFormat{postnote}{\mknormrange{#1}} \DeclareFieldFormat{multipostnote}{\mknormrange{#1}}
. Note that thepages
field format is not relevant for citations like this, it is only relevant for the bibliography and\fullcite
.biblatex.def
.biblatex.def
is a system-installed file that should never be modified. Code like this can just be dropped into your preamble. Did you really edit the system filebiblatex.def
or did you create a newbiblatex.def
? Can you show us the reset of your document (ideally as a fully working and self-contained example that we can run in a new, empty folder: tex.meta.stackexchange.com/q/228/35864, tex.meta.stackexchange.com/q/4407/35864)