下面的 MWE 按预期生成了一个简写列表。
% !TEX TS-program = xelatexmk
\documentclass{memoir}
\usepackage[%
notes,annotation,backref=true,
block=space,refsection=chapter,
autopunct=true,firstinits,
backend=biber
]{biblatex-chicago}
\begin{filecontents}{Aw.bib}
@book{VS:18,
Author = {Horst Klengel},
Language = {german},
Location = {Berlin},
Note = {Neue Folge, Heft 2},
Number = {18},
Publisher = {Akademie–Verlag},
Series = {Vor\-der\-a\-si\-a\-ti\-sche Schriftdenkmäler der Kö\-nig\-lich\-en Mu\-se\-en zu Berlin},
Shorthand = {\textsc{vs}~18},
Title = {Altbabylonische Rechts- und Wirtschaftsurkunden},
Year = {1973}}
@book{VS:13,
Author = {Hugo H. Figulla},
Language = {german},
Location = {Leipzig},
Number = {13},
Publisher = {J.\,C. Hinrichs’sche Buchhandlung},
Series = {Vorderasiatische Schriftdenkmäler},
Shorthand = {\textsc{vs}~13},
Title = {Altbabylonische Verträge},
Year = {1914}}
}
\end{filecontents}
\addbibresource{Aw.bib}
\begin{document}
\frontmatter
\tableofcontents
\mainmatter
\chapter{Test}
Dummy citation one.\autocite[10]{VS:13} Dummy citation two.\autocite[18]{VS:18}
\backmatter
\printshorthands
\printbibliography
\end{document}
我要求将速记列表放在前言中。但是,如果我将行移到\printshorthands
后面\tableofcontents
,速记列表会连同其目录条目一起消失。我不知道该怎么做才能达到预期的效果。
答案1
当您将缩写列表放入前置内容时,列表中没有任何内容,这是因为您正在传递refsection=chapter
到biblatex-chicago
。此选项意味着您将获得每个章节的完全独立的参考书目(包括第 1 章之前的任何内容)。
在您的 MWE 中,所有引文、参考书目和缩写列表都位于第 1 章中,因此所有内容都会打印出来。当您将缩写列表移到第 1 章开始之前时,此部分中没有引文,因此缩写列表中不会打印任何内容。
refsection=chapter
如果您只想要一个参考书目和整个文档的缩写列表,您可以完全删除,或者您可以切换到使用refsegment=chapter
它仍然允许您为每个章节生成一个参考书目,但也允许整个文档的缩写(和参考书目)列表。
这里有一些例子来说明正在发生的事情。
使用refsection=chapter
\documentclass[article]{memoir}
\pagestyle{empty}
\setlrmarginsandblock{1.5in}{1.5in}{*}
\setulmarginsandblock{1in}{1in}{*}
\checkandfixthelayout
\usepackage[refsection=chapter]{biblatex-chicago}
\addbibresource{biblatex-examples.bib}
\begin{document}
% refsection=0
\printbiblist{shorthand}% no citations in this section, so nothing printed
\chapter{Chapter 1}
% refsection=1
\nocite{bertram,doody,kant:kpv}
\printbiblist{shorthand}
\printbibliography
\chapter{Chapter 2}
% refsection=2
\nocite{doody,gillies,kant:ku}
\printbiblist{shorthand}
\printbibliography
\end{document}
使用refsegment=chapter
\documentclass[article]{memoir}
\pagestyle{empty}
\setlrmarginsandblock{1.5in}{1.5in}{*}
\setulmarginsandblock{1in}{1in}{*}
\checkandfixthelayout
\usepackage[refsegment=chapter]{biblatex-chicago}
\addbibresource{biblatex-examples.bib}
\begin{document}
% refsegment=0
\printbiblist{shorthand}% print all abbreviations from all segments
\chapter{Chapter 1}
% refsegment=1
\nocite{bertram,doody,kant:kpv}
% print abbreviations and bibliography from the current segment (1)
\printbiblist[segment=\therefsegment]{shorthand}
\printbibliography[segment=\therefsegment]
\chapter{Chapter 2}
% refsegment=2
\nocite{doody,gillies,kant:ku}
% print abbreviations and bibliography from the current segment (2)
\printbiblist[segment=\therefsegment]{shorthand}
\printbibliography[segment=\therefsegment]
\end{document}
使用refsection=none
和refsegment=none
(默认)
\documentclass[article]{memoir}
\pagestyle{empty}
\setlrmarginsandblock{1.5in}{1.5in}{*}
\setulmarginsandblock{1in}{1in}{*}
\checkandfixthelayout
\usepackage{biblatex-chicago}
\addbibresource{biblatex-examples.bib}
\begin{document}
\printbiblist{shorthand}% print all abbreviations
\chapter{Chapter 1}
\nocite{bertram,doody,kant:kpv}
\chapter{Chapter 2}
\nocite{doody,gillies,kant:ku}
\printbibliography% print all bibliography entries
\end{document}