![忽略参考文献中的一些引用,但保持连续编号](https://linux22.com/image/369971/%E5%BF%BD%E7%95%A5%E5%8F%82%E8%80%83%E6%96%87%E7%8C%AE%E4%B8%AD%E7%9A%84%E4%B8%80%E4%BA%9B%E5%BC%95%E7%94%A8%EF%BC%8C%E4%BD%86%E4%BF%9D%E6%8C%81%E8%BF%9E%E7%BB%AD%E7%BC%96%E5%8F%B7.png)
我正在编写一份文档,希望将引用分为两类:一类是“项目内部”类别,该类别按\printbibliography
常规编号并打印在末尾;另一类是“外部”类别,该类别应仅放在脚注中,而不包含在全局参考编号中。可以这样做吗(使用 biblatex 和 biber)?
类似这个例子
\documentclass{article}
\usepackage[]{biblatex}
\addbibresource{\jobname.bib}
\usepackage{filecontents}
\usepackage[paperheight=7cm]{geometry}
\begin{filecontents}{\jobname.bib}
@book{projectpaper1,
author = {Aauthor, A.},
year = {2001},
title = {Title},
publisher = {Publisher},
keywords = {internal},
}
@book{projectpaper2,
author = {Zauthor, Z.},
year = {2001},
title = {Title},
publisher = {Publisher},
keywords = {internal},
}
@book{externalpaper1,
author = {Bauthor, B.},
year = {2001},
title = {Title},
publisher = {Publisher},
}
\end{filecontents}
\begin{document}
Our paper \cite{projectpaper1} extends on the old and boring state
of the art\footnote{\fullcite{externalpaper1}} as also demonstrated in
\textcite{projectpaper2}.
\printbibliography[keyword={internal}]
\end{document}
答案1
您正在寻找该defernumbers
选项。如果启用该选项,则仅在打印参考书目时分配数字标签。这通常可确保参考书目中的编号按预期连续。
\documentclass{article}
\usepackage[defernumbers=true]{biblatex}
\addbibresource{\jobname.bib}
\usepackage{filecontents}
\usepackage[paperheight=7cm]{geometry}
\begin{filecontents}{\jobname.bib}
@book{projectpaper1,
author = {Aauthor, A.},
year = {2001},
title = {Title},
publisher = {Publisher},
keywords = {internal},
}
@book{projectpaper2,
author = {Zauthor, Z.},
year = {2001},
title = {Title},
publisher = {Publisher},
keywords = {internal},
}
@book{externalpaper1,
author = {Bauthor, B.},
year = {2001},
title = {Title},
publisher = {Publisher},
}
\end{filecontents}
\begin{document}
Our paper \cite{projectpaper1} extends on the old and boring state
of the art\footfullcite{externalpaper1} as also demonstrated in
\textcite{projectpaper2}.
\printbibliography[keyword={internal}]
\end{document}