Biblatex 引用的作品 + 參考書目

Biblatex 引用的作品 + 參考書目

我有兩個文件,

  1. 圍脖圍脖
  2. 參考書目

我使用 \cite{} 命令引用 ref.bib 中的文章,並且希望將這些引文(並且僅從 \cite{} 命令調用的這些引文)打印在“引用的作品”或“參考文獻”部分中。

bib.bib 包含我在撰寫文字時在各個方面查閱過的作品,我希望將該文件的全部內容列印到「參考書目」部分。

我正在使用 biblatex

請指教

答案1

如果您不打算引用任何內容bib.bib,那麼定義refsection帶有 a的標籤就足夠了\nocite{*}

由於refsections 彼此完全分開,並且標記s 只從其標籤中refsection獲取文件,因此 s只適用於 中的條目。.bib\nocite{*}bib.bib

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[style=authoryear, backend=biber]{biblatex}

\begin{filecontents}{ref.bib}
@article{sigfridsson,
  author       = {Sigfridsson, Emma and Ryde, Ulf},
  title        = {Comparison of methods for deriving atomic charges from the
                  electrostatic potential and moments},
  journaltitle = {Journal of Computational Chemistry},
  date         = 1998,
  volume       = 19,
  number       = 4,
  pages        = {377-395},
  doi          = {10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P},
}
@article{herrmann,
  author       = {Herrmann, Wolfgang A. and {\"O}fele, Karl and Schneider,
                  Sabine K.  and Herdtweck, Eberhardt and Hoffmann, Stephan D.},
  title        = {A carbocyclic carbene as an efficient catalyst ligand for {C--C}
                  coupling reactions},
  journaltitle = {Angew.~Chem. Int.~Ed.},
  date         = 2006,
  volume       = 45,
  number       = 23,
  pages        = {3859-3862},
}
\end{filecontents}
\begin{filecontents}{bib.bib}
@book{worman,
  author       = {Worman, Nancy},
  title        = {The Cast of Character},
  date         = 2002,
  publisher    = {University of Texas Press},
  location     = {Austin},
}
@book{nussbaum,
  author       = {Nussbaum, Martha},
  title        = {Aristotle's \mkbibquote{De Motu Animalium}},
  date         = 1978,
  publisher    = {Princeton University Press},
  location     = {Princeton},
  keywords     = {secondary},
}
\end{filecontents}
\addbibresource{bib.bib}
\addbibresource{ref.bib}


\begin{document}
Lorem \cite{sigfridsson}
\printbibliography

\begin{refsection}[bib.bib]
\nocite{*}
\printbibliography[title=Bibliography]
\end{refsection}
\end{document}

包含一個條目的參考文獻 (sigfridsson) 和包含兩個條目的參考書目 (nussbaum, woman)。

相關內容