I am trying to add the final touches to a customisation of Biblatex. However, for book
I am unable to call publisher
or location
. I am using
\DeclareBibliographyDriver{book}{%
\printnames{author}%
\ \newblock
\printtext[parens]{\printfield{year}}\addperiod%
\ \newblock
\printfield{title}%
\ \newblock
\printfield{edition}%
\newunit\newblock
\printfield{publisher}%
\newunit\newblock
\printfield{location}%
}
with the bibtem
@book{B:random-graphs,
location = {{Cambridge}},
title = {Random {{Graphs}}},
edition = {2},
series = {Cambridge Studies in Advanced Mathematics},
publisher = {{Cambridge University Press}},
date = {2001},
author = {Bollob{\'a}s, B{\'e}la},
doi = {10.1017/CBO9780511814068}
}
I don't understand why the \printfield{publisher}
and \printfield{location}
lines don't make this as follows:
B. Bollobas (2001). Random Graphs 2nd ed. Cambridge University Press Cambridge
Assistance would be most appreciated! :)
publisher
andlocation
fields are not actuallyfield
s in the sense ofbiblatex
's data model, they arelist
s and must be printed with\printlist{publisher}
and\printlist{location}
. Check the documentation for the type of each field.