In case you want your publications inside a section (instead of creating a new chapter). The answers I found did not satisfy my needs. Thus, I post my research. Contents of MainFile:
\documentclass[a4paper,10pt]{book}
\usepackage[round]{natbib} %bibliography format
\usepackage{bibtopic}
\textwidth 17cm
\oddsidemargin -0.5cm
\evensidemargin -0.5cm
\textheight 20cm
\parindent 0cm
\newcommand*{\bibref}[1]{\citealt{#1}}
\begin{document}
\chapter{State of the art}
\bibref{John}
\bibref{Connor}
\section{Publications}
\begin{btSect}[unsrtnat]{publications}
%\hspace{1cm}\textbf{Published papers}
\begin{center}\textbf{Published papers}\end{center}
\btPrintNotCited
\end{btSect}
\begin{btSect}[unsrtnat]{publications2}
%\hspace{1cm}\textbf{Papers under review}
\begin{center}\textbf{Papers under review}\end{center}
\btPrintNotCited
\end{btSect}
\begin{btSect}[apalike]{bibliography} %sort alphabetically
\chapter*{Bibliography}
\btPrintCited
\end{btSect}
\end{document}
Then compile with something like:
pdflatex MainFile
bibtex MainFile1
bibtex MainFile2
bibtex MainFile3 #add if needed
pdflatex MainFile
pdflatex MainFile
The only thing is that I don't know how to cite only specific items, let's say I have the contents of publications.bib and publications2.bib in the same file and I want to cite only certain items in the first btSect
and other items in the second btSect
.
EDIT: I found a way to do that
\documentclass[a4paper,10pt]{book}
\usepackage[round]{natbib} %bibliography format
\usepackage{bibtopic}
\usepackage{xcolor} %to change text color
\textwidth 17cm
\oddsidemargin -0.5cm
\evensidemargin -0.5cm
\textheight 20cm
\parindent 0cm
\newcommand*{\bibref}[1]{\citealt{#1}} %cite item
\newcommand{\textwt}[1]{\textcolor{white}{#1}} %text not seen
\begin{document}
\chapter{State of the art}
\bibref{John}
\bibref{Connor}
\section{Publications}
\begin{btUnit} %needed to reset the cited items
\begin{btSect}[unsrtnat]{publications} %order by appearance in text
%\hspace{1cm}\textbf{Published papers}
\begin{center}\textbf{Published papers}\end{center}
\begin{NoHyper} %needed if you have hyperlinks to cited items
\textwt{\bibref{mypub1}} %my published paper
\end{NoHyper}
\vspace{-1em} %adjust if needed
\btPrintCited %print only cited items
\end{btSect}
\end{btUnit}
\begin{btUnit} %needed to reset the cited items
\begin{btSect}[unsrtnat]{publications} %order by appearance in text
%\hspace{1cm}\textbf{Papers under review}
\begin{center}\textbf{Papers under review}\end{center}
\begin{NoHyper} %needed if you have hyperlinks to cited items
\textwt{\bibref{mypub2}} %my published paper
\end{NoHyper}
\vspace{-1em} %adjust if needed
\btPrintCited %print only cited items
\end{btSect}
\end{btUnit}
\begin{btSect}[apalike]{bibliography}
\chapter*{Bibliography}
\btPrintCited %print John & Connor
\end{btSect}
\end{document}
You need to execute as many bibtex MainFileX
as btSect
sections. Where X is 1,2,3...
bibliography.bib contents:
@article{John,
title = "{T}he {T}erminator",
journal = "Robotics Engineering",
year = "1984",
author = "James Cameron"
}
@article{Connor,
title = "{T}erminator 2: {J}udgment {D}ay",
journal = "Robotics Engineering",
year = "1991",
author = "James Cameron"
}
publications.bib contents
@article{mypub1,
title={{T}eletubbies},
journal = "Entertainment Engineering",
author={Me Myself},
year={2016},
}
@article{mypub2,
title={{T}eletubbies {R}eturns},
journal = "Entertainment Engineering",
author={Me Myself},
year={2016},
}
Result:

Probably there is a more elegant solution, but that is mine.
refsection
and\nocite{*}
– MostlyHarmless May 11 '14 at 10:45