BibTeX, biblatex and biberProblem with references using BibTeX with TeXmaker editor

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
omarkotb86
Posts: 8
Joined: Sun May 17, 2015 8:09 am

Re: Problem with references using BibTeX with TeXmaker edito

Post by omarkotb86 »

Hey Johannes

Thanks you very much, this piece of code solved the problem of bibliography header. The only thing that remains is the mixing of reference numbers (well, they're not only in a wrong order in the list at the end of the document, they also don't show up correctly within the text, e.g. \cite{num1} gives [21], \cite{num2} gives [13], etc...).

Recommended reading 2024:

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

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

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

Problem with references using BibTeX with TeXmaker editor

Post by Johannes_B »

Have you tried with unsrt instad of plain?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
omarkotb86
Posts: 8
Joined: Sun May 17, 2015 8:09 am

Re: Problem with references using BibTeX with TeXmaker edito

Post by omarkotb86 »

Yes, actually I tried {unsrt} and {IEEEtran} as well, but the problem persisted for both.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Problem with references using BibTeX with TeXmaker editor

Post by Johannes_B »

Please test the following on your system, it gives sorted cites.

Code: Select all

Code, edit and compile here:
\begin{filecontents}{\jobname.bib}
@ARTICLE{num1,
author={Zhao, Z. and Iravani, M.R.},
journal={Power Delivery, IEEE Transactions on},
title={Application of GTO voltage source inverter in a hybrid HVDC link},
year={1994},
month={Jan},
volume={9},
number={1},
}
@ARTICLE{num2,
author={Andersen, B.R. and Lie Xu},
journal={Power Delivery, IEEE Transactions on},
title={Hybrid HVDC system for power transmission to island networks},
year={2004},
month={Oct},
volume={19},
number={4},
}
@INPROCEEDINGS{num3,
author={Vrana, T.K. and Torres-Olguin, R.E. and Liu, B. and Haileselassie, T.M.},
booktitle={AC and DC Power Transmission, 2010. ACDC. 9th IET International Conference on},
title={The North Sea Super Grid - a technical perspective},
year={2010},
month={Oct},
}
@INPROCEEDINGS{num4,
author={Nosaka, N. and Tsubota, Y. and Matsukawa, K. and Sakamoto, K. and Nakamura, H. and Takasaki, M. and Kawazoe, H.},
booktitle={Power Engineering Society 1999 Winter Meeting, IEEE},
title={Simulation studies on a control and protection scheme for hybrid multi-terminal HVDC systems},
year={1999},
month={Jan},
volume={2},
}
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
omarkotb86
Posts: 8
Joined: Sun May 17, 2015 8:09 am

Re: Problem with references using BibTeX with TeXmaker edito

Post by omarkotb86 »

Hey Johannes

Thank you very much for your help. Unfortunately that one didn't work too, so I had to use \bibitem environment (fortunately I only have 23 references). Actually I found that no matter what the \bibliographystyle is set to, the references were always sorted alphabetically.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Problem with references using BibTeX with TeXmaker editor

Post by Johannes_B »

Then there is something going on on your machine.

If you want to resolve the issue for future projects, can you add \listfiles to the very top of the example and share the log-file as well as the blg-file?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
saurav
Posts: 1
Joined: Mon Oct 16, 2017 9:07 pm

Problem with references using BibTeX with TeXmaker editor

Post by saurav »

Johannes_B wrote:The plain bibliography style does not support sorting the references, but style unsrt does.

Concerning the references header. That is just the way the publisher likes it. If you really want to change it, use

Code: Select all

Code, edit and compile here:
\newcommand\bibsection{%
\section*{\refname\markboth{\MakeUppercase{\refname}}{\MakeUppercase{\refname}}}%
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
But be careful, the publisher will simply revert the changes or even reject your paper.

Many Many Thanks to you...You saved my ass.........\bibliographystyle{unsrt} really matters....
Post Reply