1

I am trying to split up articles in my bibliography into two different sections on a CV. For example, the following MWE has 3 bibtex keys where two citations should appear in the first section and one citation in the second section.

\documentclass{moderncv}
\usepackage[maxbibnames=99]{biblatex}
\usepackage[left=3cm, right=2cm]{geometry}

\moderncvstyle{classic}  
\moderncvcolor{blue}       

\addbibresource{Downey.bib}

% personal data
\firstname{John}
\familyname{Doe}

\begin{document}
    \makecvtitle

    \section{Education}
    \cventry{start-end}{<Position Held>}{<Name of employer>}{<Place>}{<Country>}{<Description>} % arguments 3 to 6 are optional

    \nocite{bib_key_1,bib_key_2}
    \printbibliography[title={Peer-Reviewed Journal articles}]

    \nocite{bib_key_3}
    \printbibliography[title={Peer-Reviewed Journal articles in press}]

\end{document}

With the bib file Downey.bib

% Encoding: ISO-8859-1

@Article{bib_key_1,
  author    = {\textbf{Author 1} and Author 2 and Author 3 and Author 4 and Author 5},
  title     = {Research paper},
  journal   = {Journal of science},
  year      = {2017},
  volume    = {26},
  number    = {6},
  pages     = {065008},
  month     = {may},
  doi       = {10.1088/1361-665x/aa6b66},
  publisher = {{IOP} Publishing},
  url       = {https://doi.org/10.1088%2F1361-665x%2Faa6b66},
}

@Article{bib_key_2,
  author    = {\textbf{Author 1} and Author 2 and Author 3 and Author 4 and Author 5},
  title     = {Research paper},
  journal   = {Journal of science},
  year      = {2017},
  volume    = {26},
  number    = {6},
  pages     = {065008},
  month     = {may},
  doi       = {10.1088/1361-665x/aa6b66},
  publisher = {{IOP} Publishing},
  url       = {https://doi.org/10.1088%2F1361-665x%2Faa6b66},
}

@Article{bib_key_3,
  author    = {\textbf{Author 1} and Author 2 and Author 3 and Author 4 and Author 5},
  title     = {Research paper},
  journal   = {Journal of science},
  year      = {2017},
  volume    = {26},
  number    = {6},
  pages     = {065008},
  month     = {may},
  doi       = {10.1088/1361-665x/aa6b66},
  publisher = {{IOP} Publishing},
  url       = {https://doi.org/10.1088%2F1361-665x%2Faa6b66},
}

@Comment{jabref-meta: databaseType:bibtex;}

This results in a CV that looks like: enter image description here

Notice that each bib entry appears in every section. How can I separate these sections such that entries only appear in one section?

3

With biblatex you can use the option keyword=... for command \printbibliography to divide the two parts.

You need to add the entry keywords to the bib entrys.

Please see the following MWE

\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Article{bib_key_1,
  author    = {\textbf{Author 1} and Author 2 and Author 3 and Author 4 and Author 5},
  title     = {Research paper},
  journal   = {Journal of science},
  year      = {2017},
  volume    = {26},
  number    = {6},
  pages     = {065008},
  month     = {may},
  doi       = {10.1088/1361-665x/aa6b66},
  publisher = {{IOP} Publishing},
  url       = {https://doi.org/10.1088%2F1361-665x%2Faa6b66},
  keywords  = {press},
}
@Article{bib_key_2,
  author    = {\textbf{Author 1} and Author 2 and Author 3 and Author 4 and Author 5},
  title     = {Research paper},
  journal   = {Journal of science},
  year      = {2017},
  volume    = {26},
  number    = {6},
  pages     = {065008},
  month     = {may},
  doi       = {10.1088/1361-665x/aa6b66},
  publisher = {{IOP} Publishing},
  url       = {https://doi.org/10.1088%2F1361-665x%2Faa6b66},
  keywords  = {no_press},
}
@Article{bib_key_3,
  author    = {\textbf{Author 1} and Author 2 and Author 3 and Author 4 and Author 5},
  title     = {Research paper},
  journal   = {Journal of science},
  year      = {2017},
  volume    = {26},
  number    = {6},
  pages     = {065008},
  month     = {may},
  doi       = {10.1088/1361-665x/aa6b66},
  publisher = {{IOP} Publishing},
  url       = {https://doi.org/10.1088%2F1361-665x%2Faa6b66},
  keywords  = {press},
}
\end{filecontents}


\documentclass{moderncv}
\usepackage[maxbibnames=99]{biblatex}
\usepackage[left=3cm, right=2cm]{geometry}

\moderncvstyle{classic}  
\moderncvcolor{blue}       

\addbibresource{\jobname.bib}

% personal data
\firstname{John}
\familyname{Doe}

\begin{document}
    \makecvtitle

    \section{Education}
    \cventry{start-end}{<Position Held>}{<Name of employer>}{<Place>}{<Country>}{<Description>} % arguments 3 to 6 are optional

    \nocite{bib_key_1,bib_key_2}
    \printbibliography[keyword={no_press},title={Peer-Reviewed Journal articles}]

    \nocite{bib_key_3}
    \printbibliography[keyword={press},title={Peer-Reviewed Journal articles in press}]

\end{document}

and its result:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.