我正在尝试将 acs-chem 样式与 bibtex 后端结合使用。两个层面上都出现了问题。
- 只应包含年份,却包含了月份
- 有 10 位作者(或更多)的论文将缩写为 et. al.
这两件事都不应该发生(如果我错了请纠正我)。.tex 是:
\documentclass[a4paper,12pt,BCOR13mm,twoside,openright]{scrreprt}
\usepackage[style=chem-acs,backend=bibtex]{biblatex}
\addbibresource{MWE.bib}
\begin{document}
This reference should not have a month \cite{someguy1},
This one has et al. for some reason!\cite{someguy2}
\printbibliography
\end{document}
MWE.bib 如下所示:
@article{someguy1,
abstract = {},
author = {1, 1firstname and 2, 2firstname R and 3, 3firstname and 4, 4firstname and 5, 5firstname W and 6, 6firstname and 7, 7firstname E and 8, 8firstname and 9, 9firstname R},
journal = {journal1},
month = nov,
number = {1},
pages = {1-10000},
pmid = {},
publisher = {},
title = {{title1}},
volume = {1},
year = {1066}
}
@article{someguy2,
abstract = {},
author = {1, 1firstname and 2, 2firstname R and 3, 3firstname and 4, 4firstname and 5, 5firstname W and 6, 6firstname and 7, 7firstname E and 8, 8firstname and 9, 9firstname R and 10, 10firstname and 11, 11firstname and 12, 12firstname and 13, 13firstname and 14, 14firstname a and 15, 15firstname and 16, 16firstname and 17, 17firstname},
journal = {journal2},
month = aug,
number = {2},
pages = {2-20000},
pmid = {},
publisher = {},
title = {{title2}},
volume = {2},
year = {2066}
}
我是否遗漏了什么?
答案1
您可以更改 maxbibnames 值并抑制文章的月份字段,如下所示:
\documentclass[a4paper,12pt,BCOR13mm,twoside,openright,]{scrreprt}
\usepackage[style=chem-acs,maxbibnames=99]{biblatex}
\AtEveryBibitem{\ifentrytype{article}{\clearfield{month}}{}}
\addbibresource{MWE.bib}
\begin{document}
This reference should not have a month \cite{someguy1},
This one has et al. for some reason!\cite{someguy2}
\printbibliography
\end{document}