Theses, Books, Title pagesBibliography

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Bibliography

Post by templateuser »

Hey

I am using the template to write my master thesis ..... great one by the way.

I have a question, when i edit the bibliography then run the main.tex, i don't see the changes in the main.pdf.

Do you know why ?

Bakkar90

Recommended reading 2024:

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

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

Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Bibliography

Post by Vel »

Hey,

You need to run BibTeX on main.tex and then recompile using pdflatex twice to see the changes. You should be able to do it from your compiler (find a drop-down menu with BibTeX as an option) or via the command line by navigating to the template folder and typing bibtex main.

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Bibliography

Post by templateuser »

I am using TeXStudio. I can sucessfully compile the template thesis with a Bibliography just with "Build & View" compiling option. But, whenever I try to add chapters which I have written, and run BibTeX, I get

Code: Select all

I found no \bibdata command- while reading file main.aux
I found no \bibstyle command- while reading file main.aux
although I have \cite commands, and \bibliography and \bibliographystyle commands in main.tex.

rachel2014
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Bibliography

Post by templateuser »

Fixed now - errant \end{document} command!

rachel2014
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Bibliography

Post by templateuser »

Hey, I want to have another BibTex citation style, namely (Author, Year) in the text.The standar style ist [Number].

So i found great formatting styles on the web like apalike, but they just won't make any change to the doc, even after recompiling twice. Most of the styles don't work at all and caus questionmarks

\bibliographystyle{Style}

trying all these: http://www.cs.stir.ac.uk/~kjt/software/ ... owbst.html, but acm was the only one that didn't make trouble.

I also tried to implement natbib

\usepackage[round]{natbib}

But this also had no effect... what am I doing wrong?
ajburk
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Bibliography

Post by Vel »

Hi,

Simply find this line in main.tex:

Code: Select all

\usepackage[square, numbers, comma, sort&compress]{natbib}
All you have to do use remove "numbers" and you will get the author-year style you are after. You can also change the square brackets to round if you wish.

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
Post Reply