## LaTeX forum ⇒ BibTeX, biblatex and biber ⇒ Bibliography does not work anymore Topic is solved

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Stefan Kottwitz
Site Admin
Posts: 9244
Joined: Mon Mar 10, 2008 9:44 pm

### Bibliography does not work anymore

Here is an improved way to include figures.

\begin{figure}[!htbp]\centering\includegraphics[width=10cm]{figurer/Theory/droop_Wiley_power.png}\caption{Example of a droop curve for one generator only (Wiley)}\label{fig:Theory_droop}\end{figure}

Note that I replace the H option by (all) other placement options for flexible placement as near as possible but for good page breaks. The image may float a bit to optimize the page break. But that's what references are for: to point to the image that's in a slightly moved location for optimal text flow.

For italic captions:

\usepackage{caption}\captionsetup[figure]{textfont={it}}

You can extend it, such as

\captionsetup[figure]{labelfont={bf,small},textfont={it,small}}

Stefan
Site admin

Tags:

s140504
Posts: 49
Joined: Mon Sep 24, 2018 2:49 pm
Ok. I will change the photo-codes.
Thanks

Stefan Kottwitz
Site Admin
Posts: 9244
Joined: Mon Mar 10, 2008 9:44 pm
I recommend not to use \input and \newpage in the document. I would change it everywhere to \include. So,

\input{Introducing_Elements}\newpage\input{Theory}\newpage

changes to

\include{Introducing_Elements}\include{Theory}

\include does a \clearpage implicitly that is also a \newpage and forced the output of images before a new chapter/section.

The only case I use \input is for code in the preamble, or when I definitely want to have no page break after the inputted file.

Stefan
Site admin

s140504
Posts: 49
Joined: Mon Sep 24, 2018 2:49 pm
Done. It still goves errors though:

Capture22.PNG (21.67 KiB) Viewed 254 times

Stefan Kottwitz
Site Admin
Posts: 9244
Joined: Mon Mar 10, 2008 9:44 pm
In which line is the error?

Well, it can be within an included file, right? A detailed message should show it.

Stefan
Site admin

s140504
Posts: 49
Joined: Mon Sep 24, 2018 2:49 pm
This is the error message:

Capture23.PNG (8 KiB) Viewed 253 times

s140504
Posts: 49
Joined: Mon Sep 24, 2018 2:49 pm
How can I proceed on the bibliography?

s140504
Posts: 49
Joined: Mon Sep 24, 2018 2:49 pm
Now I found the log file:

output.log
(99.88 KiB) Downloaded 8 times

Stefan Kottwitz
Site Admin
Posts: 9244
Joined: Mon Mar 10, 2008 9:44 pm
This is a problem, since \blankpage is not a command:

\blankpage{%    \null    \thispagestyle{empty}%    \addtocounter{page}{-1}%    \newpage}

If you need a blank page, dhange it to:

\clearpage\thispagestyle{empty}\mbox{}\newpage

As long as there are errors, the document pdf may not be created or updated, so we better fix the issues before tackling the bibliography.

Stefan
Site admin

Stefan Kottwitz
Site Admin
Posts: 9244
Joined: Mon Mar 10, 2008 9:44 pm
And did you change the \lhead and \rhead commands, as suggested? I guess that's the reason why the same error comes for every page.

Stefan
Site admin

Return to “BibTeX, biblatex and biber”

### Who is online

Users browsing this forum: No registered users and 3 guests