Theses, Books, Title pagesProblem with bibliography

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

Problem with bibliography

Post by Asma_F »

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?

Recommended reading 2024:

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

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

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

Problem with biblography

Post by Johannes_B »

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: 10323
Joined: Mon Mar 10, 2008 9:44 pm

Problem with bibliography

Post by Stefan Kottwitz »

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
LaTeX.org admin
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Problem with biblography

Post by Johannes_B »

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

Problem with bibliography

Post by Asma_F »

Stefan Kottwitz wrote:Then you need to fix it.
I did but still have the BibTeX error
User avatar
Stefan Kottwitz
Site Admin
Posts: 10323
Joined: Mon Mar 10, 2008 9:44 pm

Problem with bibliography

Post by Stefan Kottwitz »

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
LaTeX.org admin
Asma_F
Posts: 20
Joined: Sat Mar 04, 2017 12:12 pm

Problem with bibliography

Post by Asma_F »

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

Problem with bibliography

Post by august »

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: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Problem with bibliography

Post by Johannes_B »

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.
Post Reply