Get rid of "Visited on [date]" in references
RemDelaporteMathurin opened this issue · comments
Maybe this helps:
https://tex.stackexchange.com/questions/400384/how-to-disable-biblatex-showing-visited-on-on-the-references
You can of course also remove the corresponding fields from you .bib-file by hand.
As I have around 200 references, removing the fields by hand is not an option I'm afraid 😄
I will try what you suggested
Adding
\usepackage{kaobiblio}
\addbibresource{bibfile.bib} % Bibliography file
\AtEveryBibitem{
\clearfield{urlyear}
\clearfield{urldate}
\clearfield{urlmonth}
}
Didn't change anything unfortunately
Maybe:
\DeclareSourcemap{
\maps[datatype=bibtex]{
\map[overwrite=true]{
\step[fieldset=urldate, null]
}
}
}
but, without any Minimal Complete Example, not easy to test.
@dbitouze thanks for pointing this out. I thought that was just a silly mistake on my side.
Here's a MWE:
main.tex
\documentclass{kaobook}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{kaobiblio}
\usepackage{kaotheorems}
\usepackage{kaorefs}
\addbibresource{bibfile.bib}
\RenewDocumentCommand{\formatmargincitation}{m}{
\parencite{#1} \citeauthor*{#1} (\citeyear{#1})\\
}
\begin{document}
\title{Bug Report}
\author{Author}
\date{\today}
\frontmatter
\maketitle
\mainmatter
\setchapterstyle{kao}
\chapter{First Chapter}
\blindtext
\sidecite{ciraolo_first_2019}
\defbibnote{bibnote}{Here are the references in citation order.\par\bigskip} % Prepend this text to the bibliography
\printbibliography[heading=bibintoc, title=Bibliography, prenote=bibnote] % Add the bibliography heading to the ToC, set the title of the bibliography and output the bibliography note
\end{document}
bibfile.bib
@article{ciraolo_first_2019,
title = {First modeling of strongly radiating {WEST} plasmas with {SOLEDGE}-{EIRENE}},
volume = {20},
issn = {2352-1791},
url = {https://www.sciencedirect.com/science/article/pii/S2352179118302461},
doi = {10.1016/j.nme.2019.100685},
language = {en},
urldate = {2021-09-06},
journal = {Nuclear Materials and Energy},
author = {Ciraolo, G. and Thin, A. and Bufferand, H. and Bucalossi, J. and Fedorczak, N. and Gunn, J. P. and Pascal, J. Y. and Tamain, P. and Gil, C. and Gouin, A. and Meyer, O. and Devynck, P. and Vartanian, S. and Klepper, C. C. and Serre, E. and Nespoli, F. and Gallo, A. and Marandet, Y. and Rosato, J.},
month = aug,
year = {2019},
keywords = {Edge tokamak plasma, Fluid modeling, Transport},
pages = {100685}
}
\documentclass{kaobook}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{kaobiblio}
\usepackage{kaotheorems}
\usepackage{kaorefs}
\addbibresource{bibfile.bib}
\AtEveryBibitem{
\clearfield{urlyear}
\clearfield{urldate}
\clearfield{urlmonth}
}
\RenewDocumentCommand{\formatmargincitation}{m}{
\parencite{#1} \citeauthor*{#1} (\citeyear{#1})\\
}
\begin{document}
\title{Bug Report}
\author{Author}
\date{\today}
\frontmatter
\maketitle
\mainmatter
\setchapterstyle{kao}
\chapter{First Chapter}
\blindtext
\sidecite{ciraolo_first_2019}
\defbibnote{bibnote}{Here are the references in citation order.\par\bigskip} % Prepend this text to the bibliography
\printbibliography[heading=bibintoc, title=Bibliography, prenote=bibnote] % Add the bibliography heading to the ToC, set the title of the bibliography and output the bibliography note
\end{document}
This fixed the issue!
Thanks for the help!