BIBTOOL(1)

πŸ“¦
version 2.68 Β· 2 versions
, in arch rolling, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

hey bestie, this is the BIBTOOL(1) page from the General Commands Manual, and it's giving β€œBibTeX file manipulation tool” main character energy πŸ’…βœ¨

πŸ’– NAME πŸ’–

BibTool β€” BibTeX file manipulation tool πŸŽ€

✨ SYNOPSIS ✨

bibtool [options] [files]

🌸 DESCRIPTION 🌸

okay so real talk: this manual is not meant to be exhaustive. The complete documentation for BibTool can be found in the BibTool Manual. BibTeX provides an easy to use means to integrate citations and bibliographies into LaTeX documents. But the user is left alone with the management of the BibTeX files. BibTool is literally intended to fill this gap. BibTool allows the manipulation of BibTeX files which goes beyond the possibilities β€” and intentions β€” of BibTeX. πŸ”₯

BibTool manipulates BibTeX database files through the command line front-end bibtool, which accepts numerous options. Modifications are performed through resource instructions that allow the modification of the various internal parameters determining the behavior of BibTool; resource instructions can be grouped in resource files. The original BibTool distribution contains a sufficient set of resource file samples to perform basic, relevant manipulations. πŸ¦‹

πŸŽ€ OPTIONS πŸŽ€

bibtool accepts the following options.

🧚 Resource files 🧚

  • -R β€” immediately evaluate the instructions from the default resource file.
  • -r rsc_file β€” immediately evaluate the instructions from the resource file rsc_file.
  • -- rsc_cmd β€” evaluate the resource instruction rsc_cmd.

πŸ“ Input file πŸ“

  • -i bib_file β€” add the BibTeX database file bib_file to the list of input files. If -i is omitted, the file name may not start with a -. If absent, stdin is taken to read from. Input files should follow the bibtex(1) conventions.

🌈 Output file 🌈

  • -o output_file β€” direct output to the file output_file. If absent, the output is directed to stdout.

πŸ’¬ Status reporting πŸ’¬

  • -q β€” suppress warnings. Errors can not be suppressed. 😭
  • -v β€” enable informative messages on the activities of BibTool.

πŸ‘‘ Sorting πŸ‘‘

  • -s β€” enable sorting of entries.
  • -S β€” enable sorting of entries in reverse order.
  • -A type β€” determine key disambuguation; type in 0, a, A.

🎯 Selecting items 🎯

  • -x aux_file β€” extract the entries from the auxiliary (.aux) LaTeX aux_file file.
  • -X regex β€” select certain entries according to the regular expression regex.
  • -c β€” turn on the additional selection of crossreferenced entries.

πŸ”‘ Key generation πŸ”‘

  • -f key_format β€” set the specification for key generation to key_format.
  • -F β€” turn on key generation.
  • -k β€” generate short format keys.
  • -K β€” generate long format keys.

🧠 Semantic checks 🧠

  • -d β€” find and mark (or delete) entries with identical sort keys.

🧡 Strings/Macros 🧡

  • -m mac_file β€” write the macro definitions to the file mac_file (- is stdout).
  • -M mac_file β€” write the used macro definitions to the file mac_file (- is stdout).

🫢 Getting help 🫢

  • -h β€” print short help and exit.
  • -V β€” print version and exit.

πŸ“Š Statistics πŸ“Š

  • -# β€” print statistics about all known entry types (long).
  • -@ β€” print statistics about the used entry types only (short).

🌿 ENVIRONMENT 🌿

  • BIBINPUTS β€” search path for BibTeX database (.bib) files.
  • BIBTOOL β€” search path for BibTool resource (.rsc) files.
  • BIBTOOLRSC β€” list of resource file names separated by colon.

πŸ“ FILES πŸ“

  • ./.bibtoolrsc β€” the default current directory BibTool resource file.
  • ~/.bibtoolrsc β€” the default individual BibTool resource file.
  • /usr/local/lib/BibTool/*.rsc β€” the BibTool resource files included in the original distribution.

πŸ‘€ SEE ALSO πŸ‘€

πŸ’€ BUGS πŸ’€

bestie, some warnings: some arrays are allocated statically which may result in an overflow. Most memory is allocated but not returned to the OS: a garbage collection algorithm might be integrated in a future release. 😭

This man page is updated only occasionally, so it is very likely out of date. For complete, current documentation, refer to the BibTool Manual which is distributed as LaTeX source file (bibtool.tex) in the original BibTool source distribution.

πŸ’œ AUTHOR πŸ’œ

BibTool is designed and maintained by Gerd Neugebauer. πŸ‘‘


okay that's the whole page, bestie! footer info: source/version vibes are local and BIBTOOL(1); date is not printed on this page, so I'm not inventing one πŸ«ΆπŸ’…βœ¨

πŸ“¦ where this page comes from