Automatic Journal Title Abbreviation Package |
The Automatic Journal Title Abbreviation (jabbrv) package is a package for users of LaTeX and LyX for automatically abbreviating the titles of journals. Please note that this package is currently beta-quality, as it has not been extensively tested. If you have any issues or would like to contribute patches then feel free to contact me by email via compholio at gmail dot com.
This package is provided “AS IS” without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the package is with you. Should the package prove defective, you assume the cost of all necessary servicing, repair or correction.
Download the latest version of the package (~0.38 MiB)
For Windows users that do not already have gzip-compatible archive software it is recommended that you download 7-Zip.
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):
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/texmfPlease 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.
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.checkThis line is usually formatted like so (sometimes with an open bracket at the beginning of the line):
journal emphasis "journal" output.checkReplace this line (do not replace the open bracket if there is one) with:
format.journal "journal" output.checkThen 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.
The preamble may be modified by choosing "Settings" from the "Documents" menu and then selecting "LaTeX Preamble" from the menu on the left.
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.
Yes, "inner" LaTeX commands are expanded before \JournalTitle{} is called.
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.
Please read the instructions for Using Other Styles.
Use the Abbreviation Search Utility.
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. I wrote a script that scrapes each page and then builds separate language definition files from that data.
Abbreviating journal titles by hand with a large bibliography is extremely time consuming, and evil.