# How to add list of publication in “thesis” class

I am in the process of writing my thesis in LaTeX using TeXstudio. Past two days I am trying to resolve "list of publications" sections using various suggested methods such as,

1. Tried first and second answer in this But it was not working or was showing error.

2. And finally this

Here, in this case it is not showing any error and it normally compiled. But there is no list of publication printed. What could be the solution?

So far, I have tried compiling by deleting all auxiliary files. My bib file name is RSC.bib and I am trying to fetch my publications from this main reference file. I am using XeLaTeX compiler.

My MWE is follows:

  \documentclass[a4paper, twoside, 12pt]{thesis}

\begin{filecontents*}{RSC.bib}

@article{remanan2019preparation,

title="Preparation and characterization..",

author="S. {Remanan} and M. {Bose} and A. K. {Das} and N. C. {Das}",

journal="Journal of Applied Polymer Science",

volume="136",

number="12",

pages="47218",

year="2019",

keywords ="myPapers"
}
\end{filecontents*}

\usepackage[natbib=true, style=numeric-comp, backend=bibtex8,defernumbers, maxnames=99]{biblatex}

\begin{document}

\pagenumbering{roman}

\include{firstpage}

\include{frontmatter}

\include{abstract}

\cleardoublepage

\tableofcontents

\include{listofnotation}

\cleardoublepage

\listoftables

\listoffigures

\pagenumbering{arabic}

\input{intro}      %%Chapter 1%%

\cleardoublepage

\singlespacing

\renewcommand{\bibname}{References}

\cleardoublepage

\newpage

\printbibliography

\appendix

\begin{refsection}

\nocite{*}

\end{refsection}

\end{document}


In a current version of biblatex labelprefix=P must be given as argument of the refcontext. Note that refcontexts are not fully supported by BibTeX, but with biblatex 3.14 the following will work.

\documentclass[a4paper, twoside, 12pt]{thesis}

\usepackage[natbib=true, style=numeric-comp, backend=bibtex8, defernumbers, maxnames=99]{biblatex}

\begin{filecontents*}{\jobname.bib}
@article{remanan2019preparation,
title    = {Preparation and characterization},
author   = {S. Remanan and M. Bose and A. K. Das and N. C. Das},
journal  = {Journal of Applied Polymer Science},
volume   = {136},
number   = {12},
pages    = {47218},
year     = {2019},
keywords = {myPapers},
}
\end{filecontents*}

\begin{document}
\cite{remanan2019preparation}
\printbibliography

\appendix
\begin{refsection}
\nocite{*}
\newrefcontext[labelprefix=P]
\end{refsection}
\end{document}


Assuming the document is saved as mydoc.tex, I get a the expected output when I compile the document as follows

xelatex mydoc
bibtex mydoc
bibtex mydoc1-blx
xelatex mydoc
xelatex mydoc


In particular you need a different BibTeX run for each refsection you in your document. (Your document has two: The default refsection 0 that is present everywhere and a refsection 1 for your list of publications.)

Then I get

Things are much easier if you use the preferred Biber backend (backend=biber, instead of backend=bibtex8,) and Biblatex with Biber: Configuring my editor to avoid undefined citations.

With

\documentclass[a4paper, twoside, 12pt]{thesis}

\usepackage[natbib=true, style=numeric-comp, backend=biber, defernumbers, maxnames=99]{biblatex}

\begin{filecontents*}{\jobname.bib}
@article{remanan2019preparation,
title    = {Preparation and characterization},
author   = {S. Remanan and M. Bose and A. K. Das and N. C. Das},
journal  = {Journal of Applied Polymer Science},
volume   = {136},
number   = {12},
pages    = {47218},
year     = {2019},
keywords = {myPapers},
}
\end{filecontents*}

\begin{document}
\cite{remanan2019preparation}
\printbibliography

\appendix
\begin{refsection}
\nocite{*}
\newrefcontext[labelprefix=P]
\end{refsection}
\end{document}


it is enough to compile

xelatex mydoc
biber mydoc
xelatex mydoc
xelatex mydoc

• @SanjayRemanan Did you make sure to run (or have your editor run) Biber instead of BibTeX (see also tex.stackexchange.com/q/154751/35864)? What kind of warnings do you get? Do you also get the warnings when you run the example code from my answer or only if you incorporate the ideas into your big document? – moewe Jul 16 at 14:12
• Hello @moewe Thanks for the help. I used the second method (backend=biber) as you suggested. But while running the "bibliography", a lot of warnings are coming even though compile process exited normally. While in the main list of bibliography section, only a few reference are appearing those have the same keywords. WARN - I didn't find a database entry for 'ferain2001pore' (section 0) ...... INFO - WARNINGS: 340 Process exited normally. I got this warning when I incorporated. Will update you. I am working on it :-) – Sanjay Remanan Jul 16 at 15:05
• Seems like at .bib file is not recognizing during compiling. Actually whole main reference list is missing at the end of the pdf and only "list of publication" is coming. In the text instead of numbers cited names are appearing like for example........ [ai2016mos2]. Also \missing{aid2019on} \missing{ajji2003elongational} \missing{akthakul2004antifouling} \missing{al-shimmery20193d}" this kind of errors are displayed in the "mydoc (notepad)" file. Seems like reference file is not responding. – Sanjay Remanan Jul 16 at 18:57
• @SanjayRemanan If Biber can't find these references there should be errors or warnings in the .blg file. Check that file carefully for errors and try to fix them. – moewe Jul 16 at 19:43
• Hello Moewe, I couldn't find as you suggested. I have created a new .bib file and copy pasted references and now it is appearing. But few problems like continuous number is missing and display only zero (please see image). – Sanjay Remanan Jul 17 at 4:14