包含多个章节的参考书目

包含多个章节的参考书目

我将尝试解释我想要什么:我希望我的参考书目分为两大类:首先是主要来源(仅包含几个项目),然后是次要来源。次要来源部分将根据主题分为多个子部分。我希望我的“主要来源”部分和“次要来源”部分之间没有分页符。我尝试了这里给出的几个解决方案,但没有奏效。我怎样才能让它们都出现在同一页面上?感谢您的帮助。

\documentclass[12pt,a4paper,oneside,openany]{memoir}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[style=mla,showmedium=false]{biblatex}
\begin{filecontents}{test.bib}
@inreference{University2010,
  title = {University, n.},
  booktitle = {{{OED Online}}},
  date = {2010},
  edition = {Third Edition},
  publisher = {{Oxford University Press}},
  urldate = {2020-06-25},
  keywords = {dico,secondary}
}
@book{byattPossessionRomance2009,
  title = {Possession: A {{Romance}}},
  shorttitle = {Possession},
  author = {Byatt, A. S.},
  date = {2009},
  publisher = {{Vintage Classics}},
  location = {{London}},
  isbn = {978-0-09-950392-7},
  keywords = {primary},
  langid = {english},
  pagetotal = {511}
}
\end{filecontents}
\addbibresource{test.bib}
\begin{document}
\nocite{*}

\printbibliography[keyword=primary,title=Primary Sources]

\chapter*{Secondary Sources}
\addcontentsline{toc}{chapter}{Secondary Sources}
\printbibliography[heading=subbibliography,keyword=dico,title=Dictionary Entries]
\end{document}

答案1

在您的文档类中\chapter开始\chapter*一个新的(双)页,因此我不会使用它\chapter*作为“次要来源”标题。

我可能会选择以下方案。该方案使用三级参考书目标题。

  1. 一个总标题。
  2. 主要/次要标题。
  3. 关键字标题。

然后

\documentclass[12pt,a4paper,oneside,openany]{memoir}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[style=mla,showmedium=false]{biblatex}

\defbibheading{subsubbibintoc}[\refname]{%
  \subsection*{#1}%
  \phantomsection
  \addcontentsline{toc}{subsection}{#1}}

\begin{filecontents}{\jobname.bib}
@inreference{University2010,
  title = {University, n.},
  booktitle = {{{OED Online}}},
  date = {2010},
  edition = {Third Edition},
  publisher = {{Oxford University Press}},
  urldate = {2020-06-25},
  keywords = {dico,secondary}
}
@book{byattPossessionRomance2009,
  title = {Possession: A {{Romance}}},
  shorttitle = {Possession},
  author = {Byatt, A. S.},
  date = {2009},
  publisher = {{Vintage Classics}},
  location = {{London}},
  isbn = {978-0-09-950392-7},
  keywords = {primary},
  langid = {english},
  pagetotal = {511}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\nocite{*}

\printbibheading[heading=bibintoc]
\printbibliography[heading=subbibintoc, keyword=primary,title=Primary Sources]
\printbibheading[heading=subbibintoc,title=Secondary Sources]
\printbibliography[heading=subsubbibintoc,keyword=dico,title=Dictionary Entries]
\end{document}

生产

三个标题级别

相关内容