BibTeX, biblatex and biber ⇒ [SOLVED] Missing headers only after compilation
[SOLVED] Missing headers only after compilation
I'm getting a weird problem with my main.tex document. I'm compiling my PhD manuscript which is divided into chapters to handle them better.
When I compile for the first time my main.tex with pdflatex, it throws some warnings because of the bibliography and \hbox. But everything is displayed as it should be, I mean, headers and footers are present in all the document. The only thing missing is the bibliography. So far so good.
After that, I compile individually each chapter with BibTeX and then I compile two times with pdflatex the main.tex file and here the problem starts. The headers of all chapters are missing except in the first one!
I'm using Kile as a TeX editor, although I tried TeXmaker as well. I don't know how to get rid of this inconvenient!
Can I upload my main.tex file and you have a look on it?
It was my redefinition of bibliography environment which causes this mess!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
[SOLVED] Missing headers only after compilation
Why are you processing every single chapter? What is going on there? How do you process your bibliography? All this can be answered by just a few lines of code.
[SOLVED] Missing headers only after compilation
Apparently the problem is with the bibliography. As I said, I've divided my manuscript in chapters. At the end of each chapter I call:
Code: Select all
\bibliographystyle{unsrtnat}
\bibliography{biblio}
In the preamble of my
main.tex
I load these:
Code: Select all
\usepackage[square, comma, sort&compress, numbers]{natbib}
\usepackage[sectionbib]{chapterbib}
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
[SOLVED] Missing headers only after compilation
Do you have to use the old natbib/bibtex combo? I suggest to use the modern combo of biblatex and biber. I was giving an example about this a while back.