# phpman > man > bibtex(1)

[BIBTEX(1)](https://www.chedong.com/phpMan.php/man/BIBTEX/1/markdown)                                  Web2C 2022/dev                                  [BIBTEX(1)](https://www.chedong.com/phpMan.php/man/BIBTEX/1/markdown)



## NAME
       bibtex - make a bibliography for (La)TeX

## SYNOPSIS
       **bibtex** [**-min-crossrefs=**_number_] [**-terse**] _auxname_[**.aux**]

## DESCRIPTION
       This  manual page is not meant to be exhaustive.  The complete documentation for this version
       of TeX can be found in the info file or manual _Web2C:_ _A_ _TeX_ _implementation_.

       BibTeX reads the top-level auxiliary (**.aux**) file _auxname_ that was output during  the  running
       of  [**latex**(1)](https://www.chedong.com/phpMan.php/man/latex/1/markdown)  or [**tex**(1)](https://www.chedong.com/phpMan.php/man/tex/1/markdown) and creates a bibliography (**.bbl**) file that will be incorporated into
       the document on subsequent runs of LaTeX or TeX.

       BibTeX looks up, in bibliographic database (**.bib**) files specified by the  \bibliography  com‐
       mand,  the  entries  specified  by  the \cite and \nocite commands in the LaTeX or TeX source
       file.  It formats the information from those entries according to instructions in a  bibliog‐
       raphy  style (**.bst**) file (specified by the \bibliographystyle command, and it outputs the re‐
       sults to the **.bbl** file.

       The LaTeX manual explains what a LaTeX source file must contain to work with BibTeX.   Appen‐
       dix  B  of  the  manual  describes the format of the **.bib** files. The `BibTeXing' document de‐
       scribes extensions and details of this format, and it gives other useful hints for using Bib‐
       TeX.

## OPTIONS
       The  **-min-crossrefs**  option defines the minimum number of **crossref** required for automatic in‐
       clusion of the crossref base entry in the citation list; the default is two.  To avoid  these
       automatic inclusions altogether, give this option a sufficiently large number, and be sure to
       remove any previous **.aux** and **.bbl** files.  Otherwise the option may appear to have no  effect,
       since  BibTeX  will  have added the citation for the base entry to the **.aux** file, and nothing
       will remove it.

       With the **-terse** option, BibTeX operates silently.  Without it, a banner and progress  reports
       are printed on _stdout_.

## ENVIRONMENT
       BibTeX searches the directories in the path defined by the BSTINPUTS environment variable for
       **.bst** files. If BSTINPUTS is not set, it uses the system default.  For **.bib** files, it uses the
       BIBINPUTS environment variable if that is set, otherwise the default.  See [**tex**(1)](https://www.chedong.com/phpMan.php/man/tex/1/markdown) for the de‐
       tails of the searching.

       If the environment variable TEXMFOUTPUT is set, BibTeX attempts to put its  output  files  in
       it, if they cannot be put in the current directory.  Again, see [**tex**(1)](https://www.chedong.com/phpMan.php/man/tex/1/markdown).  No special searching
       is done for the **.aux** file.

## FILES
       _*.bst_  Bibliography style files.

       _btxdoc.tex_
              ``BibTeXing'' - LaTeXable documentation for general BibTeX users

       _btxhak.tex_
              ``Designing BibTeX Styles'' - LaTeXable documentation for style designers

       _btxdoc.bib_
              database file for those two documents

       _xampl.bib_
              database file giving examples of all standard entry types

       _btxbst.doc_
              template file and documentation for the standard styles

       All those files should be available somewhere on your system.

       The host math.utah.edu has a vast collection of **.bib** files available for anonymous  ftp,  in‐
       cluding references for all the standard TeX books and a complete bibliography for TUGboat.

## SEE ALSO
       [**latex**(1)](https://www.chedong.com/phpMan.php/man/latex/1/markdown), [**tex**(1)](https://www.chedong.com/phpMan.php/man/tex/1/markdown).
       Leslie   Lamport,   _LaTeX_  _-_  _A_  _Document_  _Preparation_  _System_,  Addison-Wesley,  1985,  ISBN
       0-201-15790-X.

## AUTHOR
       Oren Patashnik, Stanford University.  This man page describes the web2c  version  of  BibTeX.
       Other  ports  of BibTeX, such as Donald Knuth's version using the Sun Pascal compiler, do not
       have the same path searching implementation, or the command-line options.



bibtex 0.99d                              23 February 2018                                 [BIBTEX(1)](https://www.chedong.com/phpMan.php/man/BIBTEX/1/markdown)
