我想使用 biblatex 来控制参考书目中输出的信息量(例如 doi、issn、urls),但问题是原始ACM 论文集格式生成缩写名称,而默认数字格式生成参考书目中的全名。我不确定如何做到这一点,而且我对可以进行的自定义数量感到不知所措。
原始版本:
\documentclass{acm_proc_article-sp}
\usepackage{filecontents}
\usepackage{lipsum}
\begin{filecontents}{example.bib}
@book{book_2014,
title = {Book Title},
publisher = {{Publisher} Name},
author = {Doe, John and Bar, Foo. and Jane Doe},
month = april,
year = {2014}
}
\end{filecontents}
\usepackage[utf8]{inputenc}
\usepackage[british,UKenglish,USenglish,english,american]{babel}
\usepackage[babel=true]{csquotes}
\usepackage{natbib}
\begin{document}
\lipsum{1}~\citep{book_2014}
\bibliographystyle{abbrv}
\bibliography{example}
\end{document}
Biblatex 版本
\documentclass{acm_proc_article-sp}
\usepackage{filecontents}
\usepackage{lipsum}
\begin{filecontents}{paper.bib}
@book{book_2014,
title = {Book Title},
publisher = {{Publisher} Name},
author = {Doe, John and Bar, Foo. and Jane Doe},
month = april,
year = {2014}
}
\end{filecontents}
\usepackage[utf8]{inputenc}
\usepackage[british,UKenglish,USenglish,english,american]{babel}
\usepackage[babel=true]{csquotes}
\usepackage[firstinits=false,
uniquename=false,
uniquelist=false,
hyperref=auto,
maxbibnames=99,
maxcitenames=2,
style=numeric,
citestyle=numeric,
backref=false,
natbib=true,
backend=bibtex]{biblatex}
\DeclareFieldFormat{urldate}{}
\AtEveryBibitem{
\clearlist{address}
\clearfield{date}
\clearfield{eprint}
\clearfield{doi}
\clearfield{isbn}
\clearfield{issn}
\clearlist{location}
\clearfield{month}
\clearfield{labelmonth}
\clearfield{series}
\ifentrytype{book}{
\clearfield{url}
}{
\ifentrytype{misc}{
}{
\clearfield{url}
\clearlist{publisher}
\clearname{editor}
}
}
}
\bibliography{paper}
\begin{document}
\lipsum{1}~\citep{book_2014}
\printbibliography
\end{document}
答案1
style=trad-abbrv
我找到了解决方案。可以使用usepackage 语句指定 ACM Proceedings 格式使用的样式。