Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse Search

Direc­tory tex-archive/support/orderrefs

Orderrefs (Version 1.00, 2 June 2004)
======================================

When the bibliography in a LaTeX document is made by hand, without use
of BIBTeX, it is frequently necessary to reorder the items in the
bibliography according to their order of citation.  Orderrefs is a
little program that automates this reordering. 

Orderrefs is a portable perl script and it should run on any computer
with a working perl installation.  (It is known to run under
UNIX/LINUX and Microsoft Windows operating systems.)  

It is available under the GNU General Public License: See the file
COPYING.

Downloading: Orderrefs is archived on the CTAN tex archive --- see
   http://www.tug.org/ctan.html.  
   It is also available on the author's website at
    http://www.phys.psu.edu/~collins/software/orderrefs

Installation: See the file INSTALL

Usage: Run from a command-line prompt. See the information at the end
   of this file, which is a copy of orderref's online help.


It is written and supported by

            John Collins
            Physics Department
            Penn State University
            104 Davey Lab, Box 208
            University Park PA 16802
            U.S.A.  

            http://www.phys.psu.edu/~collins/
            collins at phys.psu.edu

===============================================================

---------------------------- "latexmk -h" ----------------------------
Usage: 

    orderrefs [options] file

Makes new version of LaTeX file, with bibitems ordered in order of
citation, as determined from the aux file.  Uncited bibitems and bibitems
with an explicit label are kept in the order they are in the original
file, after the list of ordered bibitems.  A backup copy is made of the
original LaTeX file, in a file with the same name as the LaTeX file, but
with .bak added.  The default extension for the LaTeX file is .tex.

You should run latex on the LaTeX file before running orderrefs, in
order to ensure that the aux file exists and is up-to-date.

The bibitems are identified as being in an environment with the name 
thebibliography.  It is assumed that the \begin{thebibliography}, the
\end{thebibliography}, and the \bibitem commands all start a line
preceeded at most by white space.

Options:
    -b name            synonym for --bibname=name
    --bibname=name     specifies name of LaTeX environment containing
                       the bibliography.  (Default: "thebibliography".)
    -a file            synonym for --auxfile=file
    --auxfile=file     specifies name of .aux file.  (Default is constructed 
                       from name of LaTeX file with extension .aux.) 
    -h or --help       displays this message
    -v or --version    gives version number

Files

Name Size Date Notes
COPYING 18009 2001-06-11 00:00
INSTALL 6564 2004-06-03 01:05
README 2730 2004-06-03 16:08
orderrefs.1 2708 2004-06-02 22:55
orderrefs.bat 231 2003-11-23 00:00
orderrefs.pdf 10270 2004-06-03 16:08
orderrefs.pl 14540 2004-06-02 22:32
orderrefs.txt 3465 2004-06-02 22:59

Down­load the con­tents of this pack­age in one zip archive (23.1k).

or­der­refs – Sort bib­li­og­ra­phy in LaTeX doc­u­ment by or­der of ci­ta­tion

When the bib­li­og­ra­phy in a LaTeX doc­u­ment is made ‘by hand’ (i.e., with­out use of BibTeX), it is fre­quently nec­es­sary to re­order the items in the bib­li­og­ra­phy ac­cord­ing to their or­der of ci­ta­tion. Order­refs is a lit­tle pro­gram that au­to­mates this re­order­ing. It is a portable Perl script that should run on any com­puter with a work­ing Perl in­stal­la­tion.

Pack­age De­tailsor­der­refs
Li­censeGNU Gen­eral Public Li­cense
Main­tainerJohn Collins
Con­tained inMikTeX as or­der­refs
Topics sup­port for man­u­ally-writ­ten bib­li­ogra­phies
Guest Book Sitemap Contact