在已经有参考书目的文档中,有时我需要在 latex 文件的其他位置插入有关书籍的信息。为了节省在文档的其他位置输入书籍信息的时间,还有其他方法吗?例如,我基本上想这样做:
\documentclass[a5paper]{book}
\usepackage[style=sbl,backend=biber]{biblatex}
\addbibresource{works-cited.bib}
....
In this chapter, you will need to have already purchased and reflected upon:
\specialbibliography{book1, book2}
Having read that book, now we can move on to consider...
答案1
refsegment
以下是一个解决方案,展示了环境和命令的用法\fullcite
。请注意不同的输出。
\documentclass{article}
\usepackage[style=sbl,backend=biber]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{talbert:1992,
author = {Talbert, Charles H.},
title = {Reading John: A Literary and Theological Commentary on the Fourth Gospel and the Johannine Epistles},
location = {New York},
publisher = {Crossroad},
date = {1992}
}
@book{robinson+koester:1971,
author = {Robinson, James M. and Koester, Helmut},
title = {Trajectories through Early Christianity},
location = {Philadelphia},
publisher = {Fortress},
date = {1971}
}
@book{scott+etal:1993,
author = {Scott, Bernard Brandon and Dean, Margaret and Sparks, Kristen and LaZar, Frances},
title = {Reading New Testament Greek},
location = {Peabody, MA},
publisher = {Hendrickson},
date = {1993}
}
@book{egger:1996,
author = {Egger, Wilhelm},
title = {How to Read the New Testament: An Introduction to Linguistic and Historical-Critical Methodology},
shorttitle = {How to Read},
translator = {Heinegg, Peter},
location = {Peabody, MA},
publisher = {Hendrickson},
date = {1996}
}
@book{wellhausen:1883,
author = {Wellhausen, Julius},
title = {Prolegomena zur Geschichte Israels},
edition = {2},
location = {Berlin},
publisher = {Reimer},
date = {1883}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\pagestyle{empty}
\begin{document}
\section*{Section 1}
In this chapter, you will need to have already purchased and reflected upon:
\begin{refsegment}
\nocite{talbert:1992,robinson+koester:1971}
\printbibliography[segment=\therefsegment,heading=none]
\end{refsegment}
\subsection*{Or using \texttt{\textbackslash fullcite}:}
\hspace{\parindent}\fullcite{robinson+koester:1971}.
\fullcite{talbert:1992}.
\section*{Section 2}
Having read that book, now we can move on to consider...
\nocite{*}
\printbibliography
\end{document}