我尝试从参考书目中排除 fullcite 条目。我发现这个答案非常有用从参考书目中排除 \fullcite{…} 引用但我遇到的问题是,这些排除的条目仍然会影响我的参考书目的计数器。
正如您在此小示例中所见,fullcite-entry 仍会影响参考书目的计数器。但我希望参考书目完全忽略 fullcite 条目。
你好,谢谢你的帮助
附言:我正在使用 TeX Live 2014、pdfTeX、Biblatex
pp.S.:是的,我已阅读 Wox 评论“运行 latex-biber-latex-latex 来修复编号。” 但这对我来说不起作用,我已运行 latex 多次,但编号仍然是错误的。
上述结果的一个小例子:
\documentclass{scrartcl}
\usepackage[sorting=none]{biblatex}
\addbibresource{library.bib}
\DeclareBibliographyCategory{fullcited}
\newcommand{\mybibexclude}[1]{\addtocategory{fullcited}{#1}}
\begin{document}
\cite{cite_max}
\fullcite{cite_anton}.\mybibexclude{cite_anton}
\cite{cite_lisa}
\printbibliography[notcategory=fullcited]
\end{document}
使用'library.bib'
@misc{cite_anton,
author = "Anton Mustermann",
title = "First Citeentry",
year = "2015",
note = "this is a note"
}
@misc{cite_lisa,
author = "Lisa Musterfrau",
title = "Second Citeentry",
year = "2015",
note = "this is a note"
}
@misc{cite_max,
author = "Max Mustermann",
title = "Third Citeentry",
year = {2015},
note = "this is a note"
}
答案1
\documentclass{scrartcl}
\usepackage[sorting=none,defernumbers]{biblatex}
\addbibresource{library.bib}
\DeclareBibliographyCategory{fullcited}
\newcommand{\mybibexclude}[1]{\addtocategory{fullcited}{#1}}
\begin{document}
\cite{cite_max}
\fullcite{cite_anton}.\mybibexclude{cite_anton}
\cite{cite_lisa}
\printbibliography[notcategory=fullcited,resetnumbers]
\end{document}
(您可能必须删除辅助文件并重新编译)。