Skip to content

A custom citation style for bibtexbrowser adhering to the IEEE citations guidelines

License

Notifications You must be signed in to change notification settings

KaiBi/IEEEStyleForBibtexbrowser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

IEEEStyleForBibtexbrowser

Note: Further development of IEEEStyleForBibtexbrowser has stopped because of time issues.

IEEEStyleForBibtexbrowser is a custom style script for bibtexbrowser, a PHP-based generator for citations from bibtex files. It tries to adhere to the IEEE style guidelines as close as possible.

Limitations

  • The entry types booklet, conference, manual, unpublished are ignored.
  • Never tested with crossrefs.
  • Online resources have not been considered at all.
  • Special name suffixes are not handled properly. "Lastname, Firstname Jr." will become "J. F. Lastname"
  • The conversion of edition numbers from long to abbreviated works only up to 5 (e.g. "First" will become "1st", but "Twentysecond" will not be changed)
  • The entry types inbook is a little unclear. Use incollection instead if possible.
  • Year numbers are automatically omitted if they are already part of the proceeding title or the techreport number. This may sometimes be wrong. Example: In the techreport number 782A1995Z-4 the 1995 may not stand for the year number, but will be recognized as such.

Features on the Todo List

  • Automatic abbreviation of keywords such as "Proceedings" as described in the guidelines
  • Debug mode in which missing or incorrect entries are highlighted

Changelog

2013-01-22

  • Added compatibility to newest (v20121205) bibtexbrowser version (will not work with earlier versions anymore)
  • Added check and warning if the script is used with an unsupported version of bibtexbrowser. Can be disabled by setting a configuration variable.
  • Added support for the BIBTEXBROWSER_AUTHOR_LINKS configuration variable
  • Added configuration variable to use full author and editor lists instead of abbreviated ones (full list instead of first author et al.)
  • Consistent use of IEEEStyleForBibtexbrowser as name throughout the project to avoid confusions.

Integration into Bibtexbrowser

As described on the bibtexbrowser website:

  1. Create a bibtexbrowser.local.php in the bibtexbrowser directory

  2. Copy IEEEStyleForBibtexbrowser.php to the bibtexbrowser directory

  3. Insert the following code into bibtexbrowser.local.php:

    <?php
      include('IEEEStyleForBibtexbrowser.php');
      define('BIBLIOGRAPHYSTYLE','IEEEStyle');
    ?>
    

Configuration Options

The previously described bibtexbrowser.local.php can also contain configuration directives for IEEEStyleForBibtexbrowser. The following list describes the options together with their default value and effect.

    <?php define('IEEEStyle_SkipVersionCheck', false); ?>

Will force IEEEStyleForBibtexbrowser to work with a version of bibtexbrowser it has not been tested with if set to true.

    <?php define('IEEEStyle_FullAuthorList', false); ?>

    <?php define('IEEEStyle_FullEditorList', false); ?>

The guidelines state that the list of authors should be abbreviated (et al.) if more than three authors are present. If this option is set to true IEEEStyleForBibtexbrowser will give the full author list with all names regardless of its length. The second option does the same with the list of editors.

A Short Introduction into Bibtex Files

This section will give you a (very) brief explanation of bibtex files and introduce the vocabulary necessary for understanding the style guide below.

Here is an example bibtex entry for an imaginary master's thesis.

    @mastersthesis{claus.2008,
        author  = {Claus, Santa},
        title   = {The Travelling Salesman Problem Revisited},
        school  = {Elven Academy of Applied Sciences},
        year    = {2008},
        month   = Dec,
        type    = {Master's thesis},
        address = {North Pole}
    }

For the remainder of this document the individual parts of a bibtex entry will be called as follow:

  • The entry type is the part following the @. In this case it is mastersthesis.
  • The key is a unique identifier. No two bibtex entries may use the same key. In this case, the key is a combination of the first author's last name and the year (claus.2008).
  • The individual fields make up the main part of a bibtex entry. They are essentially key-value pairs in textual form that contain the data associated with a piece of literature or the artifact that should be cited. Depending on the entry type different fields are mandatory and some are optional.

Mandatory and Optional Fields

The style depends on the presence of various fields in the bibtex entries. This section lists the required fields that are recognized by IEEEStyleForBibtexbrowser. Additional fields have no influence on the citation, but will be included in any exported bibtex entries. Please refer to the next section for formatting conventions.

@article

An article in a scientific journal Required: author, title, journal, year Optional: volume, number, pages, month, url, doi, comment

@book

A book that has been written by the author(s) completely or in major parts Required: author, editor, title, publisher, year Optional: address, edition, url, doi, comment

@inbook

A part of a book without its own title (e.g. a chapter) Required: author, title, chapter, pages, publisher, year Optional: address, edition, url, doi, comment

@incollection

A part of a book or other collection with its own title (e.g. an essay) Required: author, title, booktitle, year, publisher Optional: address, edition, editor, pages, url, doi, comment

@inproceedings

A paper or contribution in the proceedings of a conference Required: author, title, booktitle, year, publisher Optional: address, editor, pages, url, doi, comment

@mastersthesis

A master's, bachelor's, diploma, project or other thesis except PhD theses Required: author, title, school, year Optional: type, address, url, doi, comment

@proceedings

Proceedings of a conference Required: editor, title, publisher, year Optional: address, url, doi, comment

@phdthesis

A dissertation written to acquire the title of PhD Required: author, title, school, year Optional: type, address, url, doi, comment

@techreport

Technical documents, reports or other publications of a university or other institution Required: author, title, institution, year Optional: number, address, url, doi, comment

Formatting Conventions

To completely adhere to the IEEE style guidelines the bibtex entries must be formatted accordingly. The following paragraph lists each field and gives advice on what should be contained and what the content should look like.

address

The publisher's or issuing institution's address in the format City, State/Province, Country. State and country may be omitted if the city is well-known. The country may be omitted if it is the US. States and provinces should be in abbreviated form if possible. German federal states may also be omitted.

author

Multiple authors are linked by the keyword and. IEEEStyleForBibtexbrowser understands both common formats: either Lastname, Firstname or Firstname Lastname. Please give the full name of all authors if available. IEEEStyleForBibtexbrowser will abbreviate them on its own for the citation.

booktitle

Name of the book or proceedings which the contribution is part of. Arbitrary string value.

chapter

The chapter as integer value.

comment

Arbitrary string value. Will be appended to the citation in simple brackets.

doi

The Document Object Identifier (DOI) without prefix like http://dx.doi.org/. Bibtexbrowser will automatically create a clickable link if the doi is set. If you want to give the url manually use the url field.

edition

Edition number formatted as natural text starting with a capital letter (e.g. First). IEEEStyleForBibtexbrowser will automatically convert the text to a number in the citation.

editor

See author.

institution

Arbitrary string. If the location of the issuing institution is not part of its name it should be appended after a comma.

journal

Name of the journal in abbreviated form (if available).

month

Abbreviated three-letter name of the month starting with a capital letter and without curly brackets around the field (see the example above).

number

The number of a journal or report. Should usually be an integer. In the case of techreports a string may also be valid.

pages

A single number or two numbers (start and end) linked by a single or double dash. Gives the position or range of a contribution in a larger work.

publisher

Name of the publisher in abbreviated form if available. Note that the location and address of the publisher should not be part of this field, but instead be given separately in the address field.

school

See institution.

title

Main title of the work or contribution as arbitrary string value.

type

The type of the thesis. IEEEStyleForBibtexbrowser will automatically insert Ph.D. dissertation or Master's thesis depending on the kind of entry if this field is left empty.

url

Internet address of the work or link to a location where it can be obtained from.

volume

Volume number of a scientific journal as simple integer value.

year

Four-digit number.

Contact, License and Copyright

(c) Kai Bizik <b_iz_ik@cs.uni-kl.de> (remove underscores)

IEEEStyleForBibtexbrowser is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License as published
by the Free Software Foundation, either version 3 of the License,
or (at your option) any later version.

IEEEStyleForBibtexbrowser is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with IEEEStyleForBibtexbrowser. If not, see <http://www.gnu.org/licenses/>.


The original bibtexbrowser script is (c) Martin Monperrus and also
available under the GNU General Public License.
See http://www.monperrus.net/martin/bibtexbrowser/#Copyright

About

A custom citation style for bibtexbrowser adhering to the IEEE citations guidelines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages