
tengo dos archivos,
- babero.babero
- ref.babero
Cito artículos de ref.bib con un comando \cite{} y me gustaría que estas citas (y solo estas citas que han sido llamadas desde un comando \cite{}) se impriman en una sección de "trabajos citados" o "referencias" .
bib.bib tiene trabajos que he consultado en varios momentos al escribir el texto y me gustaría que todo el contenido de este archivo se imprima en una sección de "bibliografía".
estoy usando biblatex
por favor avise
Respuesta1
Si no planeas citar nada de bib.bib
, debería ser suficiente definir un objeto etiquetado refsection
con un \nocite{*}
.
Dado que refsection
los s se mantienen completamente separados entre sí y refsection
los s etiquetados solo toman los .bib
archivos de su etiqueta, \nocite{*}
solo se aplicarán a las entradas de 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}