BibTeX, biblatex and biber.bst decleration

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
gun
Posts: 3
Joined: Mon Sep 27, 2010 8:35 am

.bst decleration

Post by gun »

Hello all,

I'm using Bibtex within WinEdt with IEEEtran style, where Bibtex items are copy-pasted from IEEE-Xplore website. For some reason my bibliography turns crooked. For example, journal information is presented as follows:
Industrial Electronics, IEEE Transactions on

Instead of:

IEEE Transactions on Industrial Electronics,

An example Bibtex item:

Code: Select all

4441341
@ARTICLE{Agelidis_2008,
author={Agelidis, V.G. and Balouktsis, A.I. and Cossar, C.},
journal={Industrial Electronics, IEEE Transactions on}, title={On Attaining the Multiple Solutions of Selective Harmonic Elimination PWM Three-Level Waveforms Through Function Minimization},
year={2008},
month={mar.},
volume={55},
number={3},
pages={996 -1004},
keywords={PWM three-level waveform;function minimization;harmonic distortion factor;harmonic elimination pulsewidth modulation techniques;multiple solution;nonlinear transcendental trigonometric Fourier function;random search;selective harmonic elimination;unipolar waveform;Fourier analysis;PWM rectifiers;harmonics suppression;},
doi={10.1109/TIE.2007.909728},
ISSN={0278-0046},}
Where the relevant .tex code is:

Code: Select all

\bibliography{slopBib}{}
\bibliographystyle{IEEEtran}
My questiona are:

1. How do I know that WinEdt recognizes IEEEtran.bst file?
2. How does WinEdt/Bibtex knows where to look for IEEEtran.bst file?
3. Shouldn't I add this file to my root folder for WinEdt/Bibtex's sake?
4. Should I add anything else?

Thx,
GUN

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

.bst decleration

Post by frabjous »

It looks to me that it isn't switching anything around; the .bib file itself puts the Journal names like that, and it's just matching the bib file. If you want them reversed back, you'll need to edit the bib file accordingly.

I would put the \bibliographystyle declaration before the \bibliography command, though I doubt it matters. Simply:

Code: Select all

\bibliographystyle{IEEEtran}
\bibliography{slopBib}

Code: Select all

1. How do I know that WinEdt recognizes IEEEtran.bst file?
WinEdt doesn't need to recognize it; BibTeX does. You'd be getting more errors if it weren't, but you should be able to make sure it's being recognized by looking at the .blg (BibTeX log) file that is generated when you run BibTeX. If it's finding the .bst file and using it, there'll be a line there that looks something like this:

Code: Select all

-- IEEEtran.bst version 1.13 (2008/09/30) by Michael Shell.

Code: Select all

2. How does WinEdt/Bibtex knows where to look for IEEEtran.bst file?
Besides the current directory, it looks in the ../bibtex/bst nodes of all the recognized TeX directory structures. If you are using TeXlive you can find out what all of these are by typing in the following command at a terminal:

Code: Select all

kpsepath bst
I'm not sure what the right corresponding procedure is for MikTeX, but probably you could look at the "roots" recognized by MikTeX (under MiKTeX options) and then the corresponding parts of the tree. Some info on this here.
3. Shouldn't I add this file to my root folder for WinEdt/Bibtex's sake?
Again WinEdt has nothing to do with it. What you mean by root folder? The root folder of your TeX installation (certainly not there), or the folder where your .tex file is (which is fine, but not necessary), or what?
Post Reply