LaTeX forum ⇒ BibTeX, biblatex and biberBibliography does not work anymore Topic is solved

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

Bibliography does not work anymore

Postby Stefan Kottwitz » Thu Sep 27, 2018 1:05 pm

Here is an improved way to include figures.

  1. \begin{figure}[!htbp]
  2. \centering
  3. \includegraphics[width=10cm]{figurer/Theory/droop_Wiley_power.png}
  4. \caption{Example of a droop curve for one generator only (Wiley)}
  5. \label{fig:Theory_droop}
  6. \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:

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


You can extend it, such as

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


Stefan
Site admin

Tags:

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

Postby s140504 » Thu Sep 27, 2018 1:10 pm

Ok. I will change the photo-codes.
Thanks

User avatar
Stefan Kottwitz
Site Admin
Posts: 9328
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Thu Sep 27, 2018 1:11 pm

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

  1. \input{Introducing_Elements}
  2. \newpage
  3. \input{Theory}
  4. \newpage


changes to

  1. \include{Introducing_Elements}
  2. \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

Postby s140504 » Thu Sep 27, 2018 1:16 pm

Done. It still goves errors though:

Capture22.PNG
Capture22.PNG (21.67 KiB) Viewed 316 times

User avatar
Stefan Kottwitz
Site Admin
Posts: 9328
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Thu Sep 27, 2018 1:21 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

Postby s140504 » Thu Sep 27, 2018 1:27 pm

This is the error message:

Capture23.PNG
Capture23.PNG (8 KiB) Viewed 315 times

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

Postby s140504 » Thu Sep 27, 2018 1:42 pm

How can I proceed on the bibliography?

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

Postby s140504 » Thu Sep 27, 2018 1:46 pm

Now I found the log file:

output.log
(99.88 KiB) Downloaded 13 times

User avatar
Stefan Kottwitz
Site Admin
Posts: 9328
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Thu Sep 27, 2018 2:00 pm

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

  1. \blankpage{%
  2. \null
  3. \thispagestyle{empty}%
  4. \addtocounter{page}{-1}%
  5. \newpage}


If you need a blank page, dhange it to:

  1. \clearpage
  2. \thispagestyle{empty}
  3. \mbox{}
  4. \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

User avatar
Stefan Kottwitz
Site Admin
Posts: 9328
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Thu Sep 27, 2018 2:02 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 2 guests