我使用 IEEEtran 书目样式,拥有大量网络资源。在每个网络资源上,我都希望获得 Zotero 存储的上次访问日期和时间日期在我的.bib 文件中。
她是我的 rugh latex 主文件:
\documentclass{article}
\usepackage[ngerman]{babel}
% Useful packages
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[colorlinks=true, allcolors=blue]{hyperref}
\usepackage[utf8]{inputenc}
\usepackage[printonlyused]{acronym}
\title{Lorem Ipsum}
\author{foobar}
\begin{document}
\maketitle
\pagebreak
\input{01_Introduction.tex}
% more tex files....
\bibliographystyle{IEEEtran}
\bibliography{ZoteroLib.bib}
\end{document}
.bib 文件中的格式如下:
@software{GithubComFoo2021,
title = {https://github.com/foo/bar},
date = {2021-10-11T13:26:40Z},
origdate = {2019-11-15T14:42:00Z},
url = {https://github.com/foo/bar},
urldate = {2021-10-12},
abstract = {Lorem Ipsum},
organization = {{foo Security}},
keywords = {42,lorem}
}
当前书目如下:
答案1
有一些方法可以改变 IEEEtran 书目样式的定义,但这对我来说有点困难。根据IEEE 参考指南,日期的形式为Accessed: Month Day, Year
,因此,我们可以note
在bib文件中手动设置该字段,现在看起来像这样:
@software{GithubComFoo2021,
title = {https://github.com/foo/bar},
date = {2021-10-11T13:26:40Z},
origdate = {2019-11-15T14:42:00Z},
url = {https://github.com/foo/bar},
urldate = {2021-10-12},
note = {{Accessed: Oct. 12, 2021}},
abstract = {Lorem Ipsum},
organization = {{foo Security}},
keywords = {42,lorem}
}