Actualmente estoy armando un CV y estoy buscando una manera de automatizar el proceso. Tengo una base de datos central bibtex que almacena más de 500 entradas y quiero importar y crear automáticamente una bibliografía solo para las entradas que tienen mi nombre en el author
campo. Cuando uso biber, conozco la opción de usar \printbibliography
entradas opcionales para filtrar según el tipo de entrada:
\printbibliography[type=article]
\printbibliography[type=article]
¿Existe algún procedimiento similar que permita buscar los author
campos? O un proceso que equivale a:
\printbibliography[author=John Doe]
Respuesta1
Gracias por toda la ayuda. Basándome en las respuestas recomendadas y un poco de navegación adicional, he creado un MWE que hace exactamente lo que necesito.
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[backend=biber,style=numeric,refsection=section,sorting=ydnt,
defernumbers=true,maxnames=99,doi=false,isbn=false,url=false{biblatex}
\addbibresource{biblatex-examples.bib}
%----------------Sourcemap to create keyword based on author-------------------%
%Search and replace "Knuth" and "NOTKnuth" with the desired author name
\DeclareSourcemap{
\maps[datatype=bibtex,overwrite=true]{
\map{
\step[fieldsource=author,
match=Knuth,
final]
\step[fieldset=keywords, fieldvalue=Knuth]
}
\map{
\step[fieldsource=author,
notmatch=Knuth,
final]
\step[fieldset=keywords, fieldvalue=NOTKnuth]
}
}
}
%------------------Create bib sections for numbering --------------------------%
\defbibnote{books}{}
\defbibnote{other}{}
\defbibnote{DifAuthors}{}
\defbibenvironment{bibliography}
{\list
{\printtext[labelnumberwidth]{% label format from numeric.bbx
\printfield{prefixnumber}%
\printfield{labelnumber}}}
\sloppy\clubpenalty4000\widowpenalty4000}
{\endlist}
{\item}
%---------------------------Begin Document-------------------------------------%
\begin{document}
\nocite{*}
\printbibliography[title={Knuth Books},prenote=books,type=book,keyword=Knuth,resetnumbers=true]
\printbibliography[title=Other,prenote=other,nottype=book,nottype=article,nottype=patent,keyword=Knuth,resetnumbers=true]
%Other authors: Just to make sure it is properly sorting the files
\printbibliography[title={DifferentAuthors},prenote=DifAuthors,type=article,keyword=NOTKnuth,resetnumbers=true]
\end{document}
Funciona muy bien para diferentes tipos de archivos y maneja mi biblioteca de más de 500 referencias, ¡así que gracias de nuevo por los consejos!