我正在编写一份文档,希望将引用分为两类:一类是“项目内部”类别,该类别按\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}