The BibTeX menu Bibtex
in the run Utilities
selection menu of
the main 4TeX menu. This menu presents the options that have to do with
maintaining the .bib
database files and running BibTeX (see Figure 4.6). See
Section 7.1.1 for more information on BibTeX.
|
In texuser.<os>
the user can indicate the default .bib
file by specifying the
environment variable BIBNAME
. We assume here that this is
bibfile.bib
.
[F] change bib File
selects one or more .bib
files. Press [Enter] on the empty field to get a list of all
available .bib
files in the current directory, indicated by bib file path
.
Alternatively, type the name of the .bib
file you want to work with or type [@] to
select all .bib
files in the bib files path
(see below).
[D] edit bib Database
edits the selected bib file
with the aid of BibDB, a public domain database
program by E. Doron. See Section 7.1.2 for a detailed description of BibDB.
[E] Edit bibfile.bib
loads bibfile.bib
into the editor. The file can now be edited as a plain ascii file. See
L. Lamport (1986) for a detailed description of how to edit an entry in a .bib
file.
[B] run Bibtex
runs the program BibTeX to automatically make a list of references occurring in
book.tex
and the include files (such as chap1.tex
). See Section 7.1.1 for more
details.
[L] show Logfile
shows the logfile created by BibTeX. This file contains all remarks and error
messages produced during compilation, and shown on the screen. It is displayed using
the internal 4dos command list. Press [Esc] to quit.
[I] generate TeX lIst of references
generates the file reflist.tex
that contains all references in one or more .bib
database files. reflist.tex
is automatically generated and compiled, then BibTeX is
run and finally the file is compiled for a second time. It can now be viewed and/or
printed in the usual way. This option makes it possible to have a printout of all your
references. This can be handy when typing text and looking for the Bibtex
keys.
[P] change bib files Path
clears the field bib files path
and another subdirectory can be chosen. The
default for this path can be set by the BIBINPUT
parameter in
texuser.<os>
. If you
enter a directory name with wildcards (or an empty one) 4TeX will display a list of
all directories that satisfy the wildcard specification. By using the cursor
keys you can select the directory you want. Using this approach you do not
have to type the whole directory name (correctly) but only a few letters
are often enough. Use the [Esc] to restore the directory name to the old
setting.
[T] Toggle main TeX file
toggle between the `main TeX file' and the `include TeX file' from the main menu. In
case you use a LaTeX style such as chapterbib
you will want to run BibTeX on each
chapter of your document.
[R] Return to main menu
returns to the main 4TeX menu. Equivalent keys are [Q] and [Esc].