Coder Social home page Coder Social logo

jabbrv's Introduction

Installation

Basic Installation

No installation is necessary, simply work in the same folder as the LaTeX style file (jabbrv.sty), the language definition files (*.ldf) and the BibTeX style files (*.bst). Include the package by using \usepackage{jabbrv} in your LaTeX preamble and enable the package functionality by setting the BibTeX bibliography style to one of the following choices (depending on the desired bibliography format):

    jabbrv_abbrv
    jabbrv_acm
    jabbrv_alpha
    jabbrv_ieeetr
    jabbrv_plain
    jabbrv_siam
    jabbrv_unsrt

Global Installation

To attempt an automated global installation first open a terminal and change the directory to the extracted jabbrv folder. Next, run the install script by executing:

sudo ./install.sh

If the script cannot detect your local LaTeX installation folder, then you may pass a custom install directory like so:

sudo ./install.sh /usr/local/share/texmf

Please note that the chosen folder must be part of the directory tree recognized by your LaTeX installation, otherwise the package will note be properly detected.

Using Other Styles

If you wish to use a style outside of the base BibTeX package then you need to modify that style to call jabbrv. Start by copying the BibTeX style you wish to use to your working folder (and rename it appropriately). Next open the style file and search for:

"journal" output.check

This line is usually formatted like so (sometimes with an open bracket at the beginning of the line):

journal emphasis "journal" output.check

Replace this line (do not replace the open bracket if there is one) with:

format.journal "journal" output.check

Then add the following code somewhere outside of the listed functions (above the "article" function you're currently editing is fine):

FUNCTION {format.journal}
{
  "{\em\protect\JournalTitle{" journal * "}}" *
}

Please note that if the line you replaced used some other formatting (we started with an emphasized entry, corresponding to the "\em" command) then you will need to change the formatting in the above function. Once you have done this step you should be all set, just follow the basic installation instructions above.

LyX Notes

The preamble may be modified by choosing "Settings" from the "Documents" menu and then selecting "LaTeX Preamble" from the menu on the left.

Overleaf Notes

Simply copy all jabbrv files into the document folder and add \usepackage{jabbrv} to the preamble. See the Automatic Journal Abbreviations Template for an example.

Upgrading

Should the current version of the package not suite your needs, it is easy to upgrade to a new version without changing your document. Simply download the new version of the package and extract the style file (jabbrv.sty) and the language definition files (*.ldf), replacing the files from your existing version.

Frequently Asked Questions

  • Can I include LaTeX commands in journal titles?

    Yes, "inner" LaTeX commands are expanded before \JournalTitle{} is called.

  • Can I include already abbreviated journal titles?

    Yes; however, abbreviated words are currently still treated as title words โ€” so if you are unlucky enough to get a match for that "already abbreviated" title then it will get abbreviated again.

  • How do I use jabbrv with a custom BibTeX style?

    Please read the instructions for Using Other Styles.

  • How can I find out the name of the journal corresponding to a particular abbreviation?

    Use the Abbreviation Search Utility.

  • Where did you get this list of title abbreviations?

    From the online version of the ISSN's List of Title Word Abbreviations, which is the maintaining body for title abbreviations as set forth by the ISO 4 standard.

  • Why did you make this package?

    Abbreviating journal titles by hand with a large bibliography is extremely time consuming, and evil.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.