## LaTeX forum ⇒ BibTeX, biblatex and biber ⇒ Problem 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

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...).

Johannes_B
Site Moderator
Posts: 3584
Joined: Thu Nov 01, 2012 4:08 pm
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
Yes, actually I tried {unsrt} and {IEEEtran} as well, but the problem persisted for both.

Johannes_B
Site Moderator
Posts: 3584
Joined: Thu Nov 01, 2012 4:08 pm
\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},}  @ARTICLE{num5,author={Chunyi Guo and Chengyong Zhao},journal={Power Electronics, IEEE Transactions on},title={Supply of an Entirely Passive AC Network Through a Double-Infeed HVDC System},year={2010},month={Nov},volume={25},number={11},pages={2835-2841},}  @INPROCEEDINGS{num6,author={Fuan, X.F. and Shijie Cheng},booktitle={Electrical Machines and Systems, 2005. ICEMS 2005. Proceedings of the Eighth International Conference on},title={Performance analysis of a hybrid multi-terminal HVDC system},year={2005},month={Sept},volume={3},pages={2169-2174 Vol. 3}}  @INPROCEEDINGS{num7,author={Yuan, X.F. and Cheng, S.J.},booktitle={Transmission and Distribution Conference and Exhibition, 2005/2006 IEEE PES},title={Simulation Study for a Hybrid Multi-terminal HVDC System},year={2006},month={May},}  @INPROCEEDINGS{num8,author={Wulue Pan and Yong Chang and Hairong Chen},booktitle={Power Systems Conference and Exposition, 2006. PSCE '06. 2006 IEEE PES},title={Hybrid Multi-terminal HVDC System for Large Scale Wind Power},year={2006},month={Oct},}  @ARTICLE{num9,author={Chenghao Li and Peng Zhan and Jinyu Wen and Meiqi Yao and Naihu Li and Wei-Jen Lee},journal={Industry Applications, IEEE Transactions on},title={Offshore Wind Farm Integration and Frequency Support Control Utilizing Hybrid Multiterminal HVDC Transmission},year={2014},month={July},volume={50},number={4},}  @INPROCEEDINGS{num10,author={Zhai Dongling and Han Minxiao and Sun Xu},booktitle={PowerTech (POWERTECH), 2013 IEEE Grenoble},title={Coordination control for offshore wind power sending through hybrid HVDC},year={2013},month={June},pages={1-6},}  @INPROCEEDINGS{num11,author={Xia Chen and Haishun Sun and Xufeng Yuan and Jinyu Wen and Naihu Li and Liangzhong Yao and Wei-Jen Lee},booktitle={Industrial and Commercial Power Systems Technical Conference (I CPS), 2010 IEEE},title={Integrating wind farm to the grid using hybrid multi-terminal HVDC technology},year={2010},month={May},}  @INPROCEEDINGS{num12,author={Kotb, O. and Ghandhari, M. and Eriksson, R. and Sood, V.K.},booktitle={Power System Technology (POWERCON), 2014 International Conference on},title={A study on the control of a hybrid MTDC system supplying a passive network},year={2014},month={Oct},}  @Book{num13,Title                    = {Power System Stability and Control},Author                   = {P. Kundur},Publisher                = {McGraw Hill},Year                     = {1994},} @INPROCEEDINGS{num14,author={Latorre, H.F. and Ghandhari, M. and Soder, L.},booktitle={Transmission Distribution Conference and Exposition: Latin America, 2006. TDC '06. IEEE/PES},title={Control of a VSC-HVDC Operating in Parallel with AC Transmission Lines},year={2006},month={Aug},pages={1-5},} @article{num15,title = "Active and reactive power control of a VSC-HVdc ",journal = "Electric Power Systems Research ",volume = "78",number = "10",} @INPROCEEDINGS{num16,author={Li Gengyin and Zhou Ming and He Jie and Li Guangkai and Liang Haifeng},booktitle={Power System Technology, 2004. PowerCon 2004. 2004 International Conference on},title={Power flow calculation of power systems incorporating VSC-HVDC},year={2004},month={Nov},volume={2},} @article{num17,title = "A new approach to AC-DC load flow analysis ",journal = "Electric Power Systems Research ",volume = "33",number = "3",pages = "193 - 200",year = "1995",author = "M.E. El-Hawary and S.T. Ibrahim",} @INPROCEEDINGS{num18,author={Preece, R. and Milanovic, J.V.},booktitle={AC and DC Power Transmission, 2010. ACDC. 9th IET International Conference on},title={Comparison of dynamic performance of meshed networks with different types of HVDC lines},year={2010},month={Oct},} @ARTICLE{num19,author={Dong-Joon Kim and Hae-Kon Nam and Young-Hwan Moon},journal={Power Systems, IEEE Transactions on},title={A Practical Approach to HVDC System Control for Damping Subsynchronous Oscillation Using the Novel Eigenvalue Analysis Program},year={2007},month={Nov},volume={22},number={4},} @ARTICLE{num20,author={Karawita, C. and Annakkage, U.D.},journal={Power Systems, IEEE Transactions on},title={A Hybrid Network Model for Small Signal Stability Analysis of Power Systems},year={2010},month={Feb},volume={25},number={1},pages={443-451},} @ARTICLE{num21,author={Kalcon, G.O. and Adam, G.P. and Anaya-Lara, O. and Lo, S. and Uhlen, K.},journal={Power Systems, IEEE Transactions on},title={Small-Signal Stability Analysis of Multi-Terminal VSC-Based DC Transmission Systems},year={2012},month={Nov},volume={27},number={4},} @INPROCEEDINGS{num22,author={Mai Huong Nguyen and Saha, T.K. and Eghbal, M.},booktitle={Universities Power Engineering Conference (AUPEC), 2012 22nd Australasian},title={Investigation on the impact of hybrid multi-terminal HVDC system combining LCC and VSC technologies using system identification},year={2012},month={Sept},} @article{num23,title = "Geometric measures of modal controllability and observability of power system models ",journal = "Electric Power Systems Research ",volume = "15",number = "2",year = "1988",author = "A.M.A. Hamdan and A.M. Elabdalla"}\end{filecontents}\documentclass[final,3p,times]{elsarticle}%\nocite{*}\begin{document} \newcommand\bibsection{%\section*{\refname\markboth{\MakeUppercase{\refname}}{\MakeUppercase{\refname}}}%} %% \linenumbers \section{Introduction} A Hybrid HVDC system combining both LCCs and VSCs was first proposed in literature in 1994 in \cite{num1}. Typical applications included power transmission to islands as suggested in \cite{num2, num3}. Hybrid MTDC was first contemplated in the literature in 1999 in \cite{num4}. The authors in \cite{num5} have dealt with a hybrid Multi-Infeed (MI) HVDC system in which a passive AC network was fed by both LCC and VSC converters. However, each of the converters at the receiving end was supplied by an identical converter at the sending end. The authors in \cite{num6,num7} investigated the control and performance of a hybrid MTDC system through simulation studies in EMTDC/PSCAD.The control and performance of hybrid MTDC networks used for the integration of wind power was covered in \cite{num8,num9,num10,num11}. The DC voltage control strategies used in hybrid MTDC networks are generally the same as those used in VSC-MTDC networks, with the possibility to control DC voltage at the VSC or at the LCC \cite{num2,num12}.  \bibliographystyle{unsrt}\bibliography{\jobname} \end{document}
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
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.

Johannes_B
Site Moderator
Posts: 3584
Joined: Thu Nov 01, 2012 4:08 pm
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
Johannes_B wrote:[size=200][b][b][b]The plain bibliography style does not support sorting the references, but style unsrt does. [/size][/b][/b]
[/b]
Concerning the references header. That is just the way the publisher likes it. If you really want to change it, use
\newcommand\bibsection{%\section*{\refname\markboth{\MakeUppercase{\refname}}{\MakeUppercase{\refname}}}%}

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