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 » Fri Sep 28, 2018 10:40 am

Ok.
What I did was to change all \\ to \newline.
I thought that was the way lol. I will change them to... nothing?
I will look through the bib file now and get back.

@Johannes. I did read an instruction and I followed guides to make bibliography etc.
I will never be a programmer. But hopefully I will get this document right and become an electrical engineer by January : )
Have a nice day

Tags:

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

Postby Johannes_B » Fri Sep 28, 2018 10:46 am

If you want to start a new paragraph, leave an empty line.
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 » Fri Sep 28, 2018 11:07 am

I removed all \\ and \newline

I now have
  1. \usepackage{parskip}
  2. \usepackage[nopar]{lipsum}


In the preamble and it looks ok.

To ad space some places I can use \vspace{1cm} without any issues?

Almost all hbox warnings are gone.

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

Postby s140504 » Fri Sep 28, 2018 11:12 am

This is my full bibliography (I corrected third line as it was wrong):

  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. }


I based it on a sample.bib I found and used.
I have changed nothing on that one. It one follows here:
  1. @article{einstein,
  2. author = "Albert Einstein",
  3. title = "{Zur Elektrodynamik bewegter K{\"o}rper}. ({German})
  4. [{On} the electrodynamics of moving bodies]",
  5. journal = "Annalen der Physik",
  6. volume = "322",
  7. number = "10",
  8. pages = "891--921",
  9. year = "1905",
  10. DOI = "http://dx.doi.org/10.1002/andp.19053221004",
  11. keywords = "physics"
  12. }
  13.  
  14. @book{dirac,
  15. title={The Principles of Quantum Mechanics},
  16. author={Paul Adrien Maurice Dirac},
  17. isbn={9780198520115},
  18. series={International series of monographs on physics},
  19. year={1981},
  20. publisher={Clarendon Press},
  21. keywords = {physics}
  22. }
  23.  
  24. @book{latexcompanion,
  25. author = "Michel Goossens and Frank Mittelbach and Alexander Samarin",
  26. title = "The \LaTeX\ Companion",
  27. year = "1993",
  28. publisher = "Addison-Wesley",
  29. address = "Reading, Massachusetts",
  30. keywords = "latex"
  31. }
  32.  
  33. @online{knuthwebsite,
  34. author = "Donald Knuth",
  35. title = "Knuth: Computers and Typesetting",
  36. url = "http://www-cs-faculty.stanford.edu/~uno/abcde.html",
  37. addendum = "(accessed: 01.09.2016)",
  38. keywords = "latex,knuth"
  39. }
  40.  
  41. @inbook{knuth-fa,
  42. author = "Donald E. Knuth",
  43. title = "Fundamental Algorithms",
  44. publisher = "Addison-Wesley",
  45. year = "1973",
  46. chapter = "1.2",
  47. keywords = "knuth,programming"
  48. }
  49.  
  50. @book{knuth-acp,
  51. author = "Donald E. Knuth",
  52. publisher = "Addison-Wesley",
  53. title = "The Art of Computer Programming",
  54. series = "Four volumes",
  55. year = "1968",
  56. note = "Seven volumes planned",
  57. keywords = "knuth,programming"
  58. }
  59.  
  60. @article{ctan,
  61. author = "George D. Greenwade",
  62. title = "The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})",
  63. year = "1993",
  64. journal = "TUGBoat",
  65. volume = "14",
  66. number = "3",
  67. pages = "342--351",
  68. keywords = "latex"
  69. }

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

Postby s140504 » Fri Sep 28, 2018 11:18 am

It looks as if the errors are alike in both documents.
The way to formulate line 3 as well as the last bracket "}" shows as error.

In the one I posted there are some in use and some that are not. I don't know if that could case an issue.
E.g. the book by "yjtjy".

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

Postby Johannes_B » Fri Sep 28, 2018 11:37 am

Do not use commas to separate author names. Use the word and.
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 » Fri Sep 28, 2018 11:58 am

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


yields:

Capture32.PNG
Capture32.PNG (22.27 KiB) Viewed 129 times


This is a breakthrough : )) Thanks again

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

Postby s140504 » Fri Sep 28, 2018 12:51 pm

I am down to 8 yellow and 4 blue warnings.
[Edit 5 yellow and 4 blue as I corrected a typo]

See log:
output (2).log
(35 KiB) Downloaded 2 times


First one:

Screenshots and code:
Capture33.PNG
Capture33.PNG (20.71 KiB) Viewed 129 times


Code nearby:
  1. \documentclass[12pt,a4paper]{article}
  2. \usepackage[utf8]{inputenc}
  3. \usepackage[english]{babel}
  4. \usepackage{csquotes}
  5. \usepackage{comment}
  6. \usepackage{parskip}
  7. \usepackage[nopar]{lipsum}

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

Postby s140504 » Fri Sep 28, 2018 12:58 pm

On the footer:

I tried taking out the E's and it shows no warning but yields the footer incorrectly.

This is how it shows now:
Capture34.PNG
Capture34.PNG (55.69 KiB) Viewed 128 times


And the code for header/footer:
  1. %-----header/footer -----%
  2. \lhead{\includegraphics[height=0.5cm]{figurer/DTU/DTU_Logo.jpg}}
  3. \chead{s140504}
  4. \rhead{\includegraphics[height=0.5cm]{figurer/BWSC/bwsclogo.jpg}}
  5. \fancyfoot[LE,RO]{Page \thepage \hspace{1pt} of \pageref{LastPage}}
  6. \addtocontents{toc}{\protect\thispagestyle{empty}}
  7. \fancyfoot[LO,CE]{Section \thesection}
  8. \fancyfoot[CO,RE]{Kristian Dalgaard}
  9. \renewcommand{\headrulewidth}{0.5pt}
  10. \renewcommand{\footrulewidth}{0.5pt}
  11. %-----header/footer -----%


I get that the issue is on the 1- or 2- sided but I still don't get what I can do and the E's have a function as the text is wrong without them.
I don't know how to proceed?

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

Postby Johannes_B » Fri Sep 28, 2018 2:16 pm

I told you before: you do not have a twosided document but set the options for a twoside document. This is pointless.

I cannot help with the other stuff, you are just providing shots but no real clue what really happens.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 4 guests