BibTeX, biblatex and biberBibliography does not work anymore

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

Bibliography does not work anymore

Post by Stefan Kottwitz »

Here is an improved way to include figures.

Code: Select all

\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:

Code: Select all

\usepackage{caption}
\captionsetup[figure]{textfont={it}}
You can extend it, such as

Code: Select all

\captionsetup[figure]{labelfont={bf,small},textfont={it,small}}
Stefan
LaTeX.org admin

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

s140504
Posts: 49
Joined: Mon Sep 24, 2018 2:49 pm

Bibliography does not work anymore

Post by s140504 »

Ok. I will change the photo-codes.
Thanks
User avatar
Stefan Kottwitz
Site Admin
Posts: 10344
Joined: Mon Mar 10, 2008 9:44 pm

Bibliography does not work anymore

Post by Stefan Kottwitz »

I recommend not to use \input and \newpage in the document. I would change it everywhere to \include. So,

Code: Select all

\input{Introducing_Elements}
\newpage
\input{Theory}
\newpage
changes to

Code: Select all

\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
LaTeX.org admin
s140504
Posts: 49
Joined: Mon Sep 24, 2018 2:49 pm

Bibliography does not work anymore

Post by s140504 »

Done. It still goves errors though:
Capture22.PNG
Capture22.PNG (21.67 KiB) Viewed 3829 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10344
Joined: Mon Mar 10, 2008 9:44 pm

Bibliography does not work anymore

Post by Stefan Kottwitz »

In which line is the error?

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

Stefan
LaTeX.org admin
s140504
Posts: 49
Joined: Mon Sep 24, 2018 2:49 pm

Bibliography does not work anymore

Post by s140504 »

This is the error message:
Capture23.PNG
Capture23.PNG (8 KiB) Viewed 3828 times
s140504
Posts: 49
Joined: Mon Sep 24, 2018 2:49 pm

Bibliography does not work anymore

Post by s140504 »

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

Bibliography does not work anymore

Post by s140504 »

Now I found the log file:
output.log
(99.88 KiB) Downloaded 247 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10344
Joined: Mon Mar 10, 2008 9:44 pm

Bibliography does not work anymore

Post by Stefan Kottwitz »

This is a problem, since \blankpage is not a command:

Code: Select all

\blankpage{%
    \null
    \thispagestyle{empty}%
    \addtocounter{page}{-1}%
    \newpage}
If you need a blank page, dhange it to:

Code: Select all

\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
LaTeX.org admin
User avatar
Stefan Kottwitz
Site Admin
Posts: 10344
Joined: Mon Mar 10, 2008 9:44 pm

Bibliography does not work anymore

Post by Stefan Kottwitz »

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
LaTeX.org admin
Post Reply