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

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
s140504
Posts: 49
Joined: Mon Sep 24, 2018 2:49 pm

Bibliography does not work anymore

Postby s140504 » Thu Sep 27, 2018 12:51 pm

This is my header/footer:
Capture16.PNG
Capture16.PNG (21.1 KiB) Viewed 322 times


I removed the "E"s and there is onky one yellow error left.

Tags:

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

Postby s140504 » Thu Sep 27, 2018 12:53 pm

On the bibliography it says:
Capture17.PNG
Capture17.PNG (10.18 KiB) Viewed 322 times

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

Postby Stefan Kottwitz » Thu Sep 27, 2018 12:55 pm

Screenshots are sometimes ok, to show the output or the view of an editor with the error.

Error messages would be good to have as plain text here, copy and paste or typed. Better to read than images.

Most important: please post the code snippets as text (code). I would like to show you corrections, but I cannot edit an image. I could edit the code as text, and post it. There are several wrong things in the inherited code or in general. In each screenshot there's at least one issue or more.

Just copy and paste the code from the screenshot, as text here. In the forum, you can mark the code with the mouse and click the "Code" button above the text edit field.

Stefan
Site admin

User avatar
Johannes_B
Site Moderator
Posts: 3968
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Thu Sep 27, 2018 12:55 pm

Sorry to be brutally honest here, but there is a lot wrong. You should read an introduction and start fresh.

As of now, you probably won't be able to fix your document.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

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

Postby s140504 » Thu Sep 27, 2018 12:57 pm

This is my main:

  1. \documentclass[12pt,a4paper]{article}
  2. \usepackage[utf8]{inputenc}
  3. \usepackage[english]{babel}
  4. \usepackage{csquotes}
  5. \usepackage{comment}
  6. \usepackage[parfill]{parskip}
  7. %-----bibliography begin -----%
  8. \usepackage[backend=biber, sorting=none]{biblatex}
  9. \addbibresource{Bibliography.bib}
  10. %-----bibliography end -----%
  11. \usepackage{graphicx}
  12. \usepackage[export]{adjustbox}
  13. \usepackage[titletoc]{appendix}
  14. \usepackage{amsmath}
  15. \usepackage{float}
  16. \usepackage{fancyhdr}
  17. \pagestyle{fancy}
  18. \usepackage{lastpage}
  19. \usepackage{setspace}
  20. \usepackage{hyperref}
  21. \usepackage{afterpage}
  22.  
  23. %-----header/footer -----%
  24. \lhead{\includegraphics[height=0.5cm\textwidth, left]{figurer/DTU/DTU_Logo.jpg}}
  25. \chead{s140504}
  26. \rhead{\includegraphics[height=0.5cm\textwidth, right]{figurer/BWSC/bwsclogo.jpg}}
  27. \fancyfoot[L,RO]{Page \thepage \hspace{1pt} of \pageref{LastPage}}
  28. \addtocontents{toc}{\protect\thispagestyle{empty}}
  29. \fancyfoot[LO,C]{Section \thesection}
  30. \fancyfoot[CO,R]{Kristian Dalgaard}
  31. \renewcommand{\headrulewidth}{0.5pt}
  32. \renewcommand{\footrulewidth}{0.5pt}
  33.  
  34. %-----header/footer -----%
  35.  
  36.  
  37. \begin{document}
  38. \input{Frontpage}
  39. \newpage
  40. \blankpage{%
  41. \null
  42. \thispagestyle{empty}%
  43. \addtocounter{page}{-1}%
  44. \newpage}
  45. \input{Abstract}
  46. \newpage
  47. \input{Preface}
  48. \newpage
  49. \input{Abbreviations}
  50. \newpage
  51. \renewcommand{\baselinestretch}{1.0}\normalsize
  52. \tableofcontents
  53. \renewcommand{\baselinestretch}{1.0}\normalsize
  54. \newpage
  55. \input{Problem_statement}
  56. \newpage
  57. \input{Introduction}
  58. \newpage
  59. \input{Introducing_Elements}
  60. \newpage
  61. \input{Theory}
  62. \newpage
  63. \input{Parameters}
  64. \newpage
  65.  
  66. %\input{Bibliography_test}
  67. %\newpage
  68.  
  69. \pagestyle{empty}
  70. \printbibliography
  71. \newpage
  72. \begin{appendices}
  73. \input{Appendix/Appendix_A}
  74. \newpage
  75. \input{Appendix/Appendix_B}
  76. \newpage
  77. \input{Appendix/Appendix_C}
  78. \end{appendices}
  79. \newpage
  80. \blankpage{%
  81. \null
  82. \thispagestyle{empty}%
  83. \addtocounter{page}{-1}%
  84. \newpage}
  85. \end{document}
Last edited by Stefan Kottwitz on Thu Sep 27, 2018 12:58 pm, edited 1 time in total.
Reason: code marked

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

Postby s140504 » Thu Sep 27, 2018 12:57 pm

This is my bibliography:

  1. @article{alexander,
  2. author = "Dr. Alexander Murdoch and Ian McIntyre",
  3. title = "{PSEC Application Notes. ({German})",
  4. [{On} Power System stabilizer Helps Meet Plant Stability Margins for Simple Cycle and Combined Cycle Power Plants]",
  5. year = "2001",
  6. keywords = "AVR,PSS"
  7. }
  8.  
  9. @book{boldea,
  10. title = {Synchronous Generators},
  11. author = {Ian Boldea},
  12. isbn = {9781420037258},
  13. publisher = {Taylor and Francis Group},
  14. keywords = {Generators}
  15. }
  16.  
  17. @book{wollenberg,
  18. title = {Power Generation, Operation and Control},
  19. author = {Allan J Wood, Bruce F. Wollenberg, Gerald B. Sheblé},
  20. isbn = {978-0-471-79055-6},
  21. series = {International series of monographs on physics},
  22. year = {2014},
  23. publisher = {Wiley},
  24. keywords = {Generators}
  25. }
  26.  
  27. @book{yjtjy,
  28. title = {Power Generation, Operation and Control},
  29. author = {Allan J Wood, Bruce F. Wollenberg, Gerald B. Sheblé},
  30. isbn = {9781420037258},
  31. series = {International series of monographs on physics},
  32. year = {1981},
  33. publisher = {Taylor and Francis Group},
  34. keywords = {physics}
  35. }
  36.  
  37. @online{Knuthwebsite,
  38. author = "Donald Knuth",
  39. title = "Knuth: Computers and Typesetting",
  40. url = "http://www-cs-faculty.stanford.edu/~uno/abcde.html",
  41. addendum = "(accessed: 01.09.2016)",
  42. keywords = "latex,knuth"
  43. }
  44.  
  45. @inbook{Knuth-fa,
  46. author = "Donald E. Knuth",
  47. title = "Fundamental Algorithms",
  48. publisher = "Addison-Wesley",
  49. year = "1973",
  50. chapter = "1.2",
  51. keywords = "knuth,programming"
  52. }

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

Postby s140504 » Thu Sep 27, 2018 12:58 pm

This is my code for inserting an image:

  1. \begin{figure}[H]
  2. \begin{center}
  3. \includegraphics[width=10cm]{figurer/Theory/droop_Wiley_power.png}
  4. \caption{\textit {Example of a droop curve for one generator only (Wiley)}}
  5. \label{fig:Theory_droop}
  6. \end{center}
  7. \end{figure}
Last edited by Stefan Kottwitz on Thu Sep 27, 2018 12:58 pm, edited 1 time in total.
Reason: code marked

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

Postby Stefan Kottwitz » Thu Sep 27, 2018 12:59 pm

Please mark as code as I said, to keep it readable... I did it above for you, take a look.
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 1:01 pm

In the header/footer part, as mentioned, the left and right options won't work and cm is wrong as factor to \textwidth. Better:

  1. \lhead{\includegraphics[height=0.5\textwidth]{figurer/DTU/DTU_Logo.jpg}}
  2. \chead{s140504}
  3. \rhead{\includegraphics[height=0.5\textwidth]{figurer/BWSC/bwsclogo.jpg}}


Stefan
Site admin

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

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

Testing...

  1. \begin{figure}[H]
  2. \begin{center}
  3. \includegraphics[width=10cm]{figurer/Theory/droop_Wiley_power.png}
  4. \caption{\textit {Example of a droop curve for one generator only (Wiley)}}
  5. \label{fig:Theory_droop}
  6. \end{center}
  7. \end{figure}


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 4 guests