
Necesito agregar algunas publicaciones más. No quiero cambiar los números de referencia anteriores, por lo que necesito crear nuevas citas con numeración de referencia diferente como [p1], [p2], etc. ¿Puede LaTeX hacer eso?
Respuesta1
Recientemente hice este tipo de cosas para agregar un subconjunto de referencias, es decir, aquellas que eran autopublicaciones. Estos tenían prefijos para que se destacaran.
biblatex
Es la clave del método que utilicé. Puede usar el keywords=
atributo en su archivo bibliográfico para identificar entradas particulares y luego usar la palabra clave para filtrar las referencias cuando enumere sus bibliografías al final del documento.
A continuación se muestra un ejemplo práctico. Recuerde que necesita LaTeX -> BibTeX -> LaTeX -> LaTeX para compilar.
\documentclass[titlepage,11pt]{article}
\usepackage{filecontents} % Used only to create the bibfile
\begin{filecontents*}{\jobname.bib}
@article{greenwade93,
author = "George D. Greenwade",
title = "The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})",
year = "1993",
journal = "TUGBoat",
volume = "14",
number = "3",
pages = "342--351"
}
@book{goossens93,
author = "Michel Goossens and Frank Mittelbach and Alexander Samarin",
title = "The LaTeX Companion",
year = "1993",
publisher = "Addison-Wesley",
address = "Reading, Massachusetts"
}
@article{blackholes,
author="My Self",
title="Black Holes and Their Relation to Hiding Eggs",
journal="Theoretical Easter Physics",
publisher="Eggs Ltd.",
year="2010",
note="(to appear)",
keywords="self"
}
\end{filecontents*}
% NOTE: Last entry has a _keywords="self"_ attribute. This keyword is used to
% sort out specific entries when the bibliographies are made
% biblatex is used with a few of my preferred options
% -- style = ieee gives [1] format
% -- backend = bibtex - can also use 'biber'
% -- sorting = ynt sorts all entries in each bibliography by Year, Name, then Title
% -- defernumbers = true required to get the resetnumbers=true option to work down below
\usepackage[style=ieee,backend=bibtex,sorting=ynt,defernumbers=true]{biblatex}
\addbibresource{\jobname.bib} % Peculiar to biblatex
\begin{document}
This document references \cite{greenwade93}, and my own publication
(\cite{blackholes}). And I also used \cite{goossens93}.
% References split out into self publications and regular references
% This makes use of biblatex (still needs a _bibtex_ run to finalize)
\section{Publications and References}
\printbibliography[heading=subbibliography, notkeyword=self, title={References}, resetnumbers=true]
\printbibliography[heading=subbibliography, keyword=self, title={Publications}, resetnumbers=true, prefixnumbers={P}]
\end{document}