LaTeX forum ⇒ Theses, Books, Title pagesProblem with bibliography Topic is solved

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Asma_F
Posts: 20
Joined: Sat Mar 04, 2017 12:12 pm

Problem with biblography

Postby Asma_F » Sat Mar 04, 2017 5:49 pm

Johannes_B wrote:Check your editor settings. Are you trying to use a build directory? Don't. They don't have merits. All they do is bring confusion to users.


yes I used it before so I have a build folder but now I'm not using it .. do I need to delete the build folder?

Tags:

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

Postby Johannes_B » Sat Mar 04, 2017 6:06 pm

I am a person who pushes a very flat directory hierachy. I think your whole Project should be in the very same directory.
Well, you can move chapters and/or figures to a subfolder, which isn't a problem if you tell LaTeX about it.

Moving the auxiliary files to a build folder isn't a good idea, what LaTeX is concerned. I bet you just missed a forward slash in the preferences of your editor, but i would recommend to not use a build folder.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

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

Postby Stefan Kottwitz » Sat Mar 04, 2017 6:17 pm

Asma_F wrote:yes and it says '' LaTeX Error: File `Figures/Electron' not found.''


Then you need to fix it. Either put the image file at that place, or remove the line in your document referring to "Figures/Electron" (probably via \includegraphics). Otherwise it can prevent compiling.

And you used LaTeX in DVI mode that doesn't produce PDF but a DVI file. The last line of the .log shows "Output written on main.dvi".

Stefan
Site admin

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

Postby Johannes_B » Sat Mar 04, 2017 6:30 pm

Since Electron is in pdf format, no wonder LaTeX in dvi mode doesn't find a suitable file. Not using build directories and pdfLaTeX will resolve all things.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Asma_F
Posts: 20
Joined: Sat Mar 04, 2017 12:12 pm

Postby Asma_F » Sat Mar 04, 2017 6:43 pm

Stefan Kottwitz wrote:Then you need to fix it.
I did but still have the BibTeX error

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

Postby Stefan Kottwitz » Sat Mar 04, 2017 7:11 pm

Asma_F wrote:I got an error ( couldn't open file name `buildmain.aux')


BibTeX looks for "buildmain" but your document is called "main". Check why... perhaps a setting in your editor.

Stefan
Site admin

Asma_F
Posts: 20
Joined: Sat Mar 04, 2017 12:12 pm

Postby Asma_F » Sat Mar 04, 2017 7:39 pm

Stefan Kottwitz wrote:perhaps a setting in your editor.
yes I found that ( bibtex build % ) in the setting I edit it to ( bibtex %). Now it works :)


Johannes_B and Stefan Kottwitz Thank you very much, I really appreciate your help.

august
Posts: 1
Joined: Fri Mar 10, 2017 6:44 pm

Postby august » Fri Mar 10, 2017 6:51 pm

Asma_F wrote:When I downloaded the template again as you said the bibliography appeared in the PDF file before I compile, after I compile it disappear. I didn't find blg file.




I have the same problem. I read though the blog but didnt understand, how you solved the issue. Could you please explain to me hat I have to do to fix it? Thank you for your help!

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

Postby Johannes_B » Fri Mar 10, 2017 6:57 pm

After you clicked the pdflatex button, click the bibtex button.

It really is a piece of cake, once you read an introduction. And this is the key to using any piece of software: reading a manual.

By the way: There is an unofficial quick manual available for the template. It doesn't address general LaTeX use though.
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 “Theses, Books, Title pages”

Who is online

Users browsing this forum: No registered users and 2 guests