Comments (6)
Including the below section in each chapter.tex allowed me to include a reference chapterwise using natbib.
%********************************** % Reference Section *************************************
\setcounter{NAT@ctr}{0}
\bibliographystyle{unsrtnat}
\bibliography{References/library}
this worked for me when running latexmk -xelatex thesis.tex
from phd-thesis-template.
Almost works, it creates the same bibliography section with same references, even tho there is no such citation in some chapters. Could this be bacause I use same bibliography file for all chapters? Chapters are in separate dirs.
from phd-thesis-template.
I have 1 general library.bib file in References/ used for all chapters, so that can't be it.
Did you remove the bibliography from thesis.tex?
This could overwrite a whole lot.
these lines should be commented in thesis.tex
\bibliographystyle{abbrvnat} % use this to have URLs listed in References
\cleardoublepage
\bibliography{References/library} % Path to your References.bib file\printbibliography[heading=bibintoc, title={References}]
from phd-thesis-template.
Thanks for your comments @tabias I'll include it in the README docs.
from phd-thesis-template.
I can get it running by using \usepackage{chapterbib}
in preamble.tex
I also have to manually do bibtex chapterX.aux
within all chapter dirs, but then it runs ok
// also need to use code from @tabias as was suggested, thx
from phd-thesis-template.
might have forgotten to mention that, was included somewhere else in the preamble than I expected.
furthermore
latexmk -xelatex thesis.tex -jobname="thesis"
generated the chapter reference lists automatically if that helps.
from phd-thesis-template.
Related Issues (20)
- Exclude from compilation
- Figure options (raster/vector) HOT 2
- There maybe something wrong with the line with which you imported the class file, since the compiler is saying "missing \begin{document}". Are you able to compile the template without any modification?nbhhkmbhj
- Remove blank pages, openany not works HOT 1
- Change title of Absract HOT 3
- Location to add usepackage{} HOT 2
- algpseucode HOT 1
- [Help] Change Hyperlinks in Table of Contents HOT 2
- [Help] Conversion from Tex/PDF to Docx HOT 2
- Customizing the title page, or building it from scratch HOT 1
- References turns into "[? ]" after running thesis.text on Mac HOT 2
- How to create header of chapter name instead of section name HOT 4
- References turns into "[? ]" after running thesis.text on Mac HOT 2
- Footnote in Figure Caption
- BibTeX bibliography style: econometrica
- supervsiors alligned
- How do I remove the blank pages? HOT 1
- Is it possible to have nomenclature chapter wise? HOT 1
- Bibliography sorting HOT 1
- Help needed in adding certificate page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phd-thesis-template.