LaTeX forum ⇒ Theses, Books, Title pagesPhD package biblatex Error: '\bibliographystyle' invalid Topic is solved

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Ramadan Babers
Posts: 9
Joined: Mon Jun 06, 2016 10:21 am

PhD package biblatex Error: '\bibliographystyle' invalid

Postby Ramadan Babers » Mon Jun 06, 2016 10:47 am

Hi all I am a new user for latex.

I use PhD template which the ref. appear as:

Arnold, A. S. et al. (1998). “A Simple Extended-Cavity Diode Laser”. In: ReviewofScientificInstruments69.3,pp.1236–1239. URL:http://link. aip.org/link/?RSI/69/1236/1.

I need to use ref. style as:

[3] T. Alzahrani, K. Horadam, Community detection in bipartite networks: Algorithms and case studies, in: Complex Systems and Networks, Springer, 2016, pp. 25–50.

which use \bibliographystyle{elsarticle-num}

How I can modify the template to present the ref. as I need?

Tags:

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

Postby Johannes_B » Mon Jun 06, 2016 10:55 am

You are not even telling us which template you are using?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Ramadan Babers
Posts: 9
Joined: Mon Jun 06, 2016 10:21 am

Postby Ramadan Babers » Mon Jun 06, 2016 11:09 am

Thanks for reply.

I am using the following template:

http://www.latextemplates.com/template/ ... ral-thesis

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

Postby Johannes_B » Mon Jun 06, 2016 11:28 am

If you just want to have a numeric style, change authoryear to numeric.

  1. \usepackage[backend=bibtex,style=numeric,natbib=true]{biblatex}


If you absolutely want to have that particular style, you have to use the old BibTeX workflow instead of the modern one as provided by the template.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Ramadan Babers
Posts: 9
Joined: Mon Jun 06, 2016 10:21 am

Postby Ramadan Babers » Mon Jun 06, 2016 11:51 am

Thanks.
It is working.

Ramadan Babers
Posts: 9
Joined: Mon Jun 06, 2016 10:21 am

Postby Ramadan Babers » Mon Jun 06, 2016 1:14 pm

if I need the references appear as in IEEE
I add the line: \bibliographystyle{ieeetran}

but the below error appears!
Package biblatex Error: '\bibliographystyle' invalid. \bibliographystyle{ieeetran}

what I can do to solve this error?

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

Postby Johannes_B » Mon Jun 06, 2016 5:40 pm

As i said, you have to either work with the new biblatex, or the old bibtex-system. You cannot mix them, but you are doing this right here.

You can also use biblatex-ieee.
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 0 guests