[Tex/LaTex] Separate own publications and put them to beginning of reference list

biblatex

I am writing my thesis, and I would like to separate my own publications from the rest.

This means, I would like to assign some custom labels to them, and have them appearing at the beginning of the references list, one after the other (even though they are not the first papers in citatation order, and I do cite other papers between them in the text).

I am using biblatex, any ideas how can I achieve these?

EDIT :

\documentclass[a4paper,12pt]{article}
\usepackage[style=phys]{biblatex}

\addbibresource{Literature.bib}

\begin{document}
\cite{ref1}
\cite{own1}
\cite{ref2}
\cite{own2}

\printbibliography
\end{document}

Literature.bib:

@article{ref1,
title = {asdf1},
author = {asdf1}
}

@article{ref2,
title = {asdf2},
author = {asdf2}
}

@article{own1,
title = {asdf},
author = {ME}
}

@article{own2,
title = {asdf},
author = {ME}
}

In the output, under the reference section I'd like to have own1 and own2 at the beginning, like:

  • [OWN1] ME, asdf
  • [OWN2] ME, asdf
  • [1] asdf1, asdf1
  • [2] asdf2, asdf2

I am not sure what you mean by separate bibliography, I'm interested, might be acceptable as well.

Best Answer

We can filter by name using PLK's solution to biblatex: separating publications of a specific author in the bibliography and keywords. It is then really easy to create two separate bibliographies, one with the filtered work and one with all the rest. Using labelprefix and refcontext we can add the 'OWN' prefix.

\documentclass[a4paper,12pt]{article}
\usepackage[style=phys, defernumbers=true]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{ref1,
title = {asdf1},
author = {asdf1}
}

@article{ref2,
title = {asdf2},
author = {asdf2}
}

@article{own1,
title = {asdf},
author = {ME}
}

@article{own2,
title = {asdf},
author = {ME}
}
\end{filecontents}
\addbibresource{\jobname.bib}

\DeclareSourcemap{
  \maps[datatype=bibtex]{
    \map{
      \step[fieldsource=author,
            match=ME,
            final]
      \step[fieldset=keywords, fieldvalue=me]
    }
  }
}

\begin{document}
\cite{ref1}
\cite{own1}
\cite{ref2}
\cite{own2}

\printbibheading
\begin{refcontext}[labelprefix={OWN}]
\printbibliography[heading=none, keyword=me]
\end{refcontext}%
\printbibliography[heading=none, notkeyword=me, resetnumbers]
\end{document}