I am aware of \clearfield
, \clearlist
etc (cf. Is it possible to suppress a specific field from bibtex .bbl in biblatex?) - but I'm really not sure how to apply it in this context:
Say you have a split bibliography (i.e. several calls to \printbibliography
in one document). How can you filter a specific field in a bibliography item - but only in one bibliography (i.e. only in one call to \printbibliography
)?
For instance, in the MWE below (compiles with pdflatex test.tex && biber test && pdflatex test.tex && pdflatex test.tex
), let's say I'd like to filter urldate
(i.e. urldate
is not typeset) only in the first bibliography - but for the second one, the original/default behavior should be restored (i.e. urldate
is typeset). How to I do that?
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@online{ctan,
title = {CTAN},
date = 2006,
url = {http://www.ctan.org},
subtitle = {The Comprehensive TeX Archive Network},
urldate = {2006-10-01},
label = {CTAN},
langid = {english},
langidopts = {variant=american},
}
@misc{google,
title = {Google},
date = 2007,
url = {http://www.google.com},
urldate = {2007-10-01},
}
@misc{hotmail,
title = {Hotmail},
date = 2008,
url = {http://www.hotmail.com},
urldate = {2008-10-01},
}
@misc{yahoo,
title = {Yahoo},
date = 2009,
url = {http://www.yahoo.com},
urldate = {2009-10-01},
}
@misc{aol,
title = {AOL},
date = 2010,
url = {http://www.aol.com},
urldate = {2010-10-01},
}
@misc{altavista,
title = {AltaVista},
date = 2011,
url = {http://www.altavista.com},
urldate = {2011-10-01},
}
\end{filecontents*}
\usepackage[utf8]{inputenc}
\usepackage[backend=biber,defernumbers=true,style=ieee]{biblatex}
\bibliography{\jobname}
\begin{document}
\section{Section 1}
\begin{refsection}
Citing some stuff here: first \cite{ctan}, then \cite{google}, and finally \cite{hotmail}.
\printbibliography[sorting=none,section=\therefsection,resetnumbers=true]
\end{refsection}
\section{Section 2}
\begin{refsection}
Citing some stuff here: first \cite{yahoo}, then \cite{aol}, and finally \cite{altavista}.
\printbibliography[sorting=none,section=\therefsection,resetnumbers=true]
\end{refsection}
\end{document}
Output: