CB2BIB(1)
π cb2bib β okay bestie, let's extract some references π
the manual page for cb2bib (section 1 of the manual, iykyk)
β¨ NAME β¨
cb2bib β software to extract bibliographic references from various sources π¦
πΈ SYNOPSIS πΈ
cb2bib
cb2bib [--conf [filename.conf]] [action] [filename1 [filename2 ... ]]
c2bimport <imported reference file>
c2bciter [space-separated list of BibTeX files or directories]
π DESCRIPTION π
okay so cb2bib is a software to extract bibliographic references from unformatted and non standard sources, like, for example:
- email alerts
- journal Web pages
- PDF files
Captured references are provided to the user for inspection in a graphical form. Once validated, the references are transformed into BibTeX records which might be appended to a user-defined BibTeX bib file. iconic behavior honestly β¨
The software allows one to peruse a BibTeX file and to send to the clipboard a citation of all the records currently selected. A pipe is also setup with the LyX LaTeX editor. π«Ά
When invoked with the -h | --help option, cb2bib lists all the options that are available on the command line. so if you're ever lost, just ask it, bestie
π VARIANTS π
cb2bibβ is the main program. main character energy fr fr πc2bimportβ is equivalent to usingcb2bib --import(this variant takes only one file name as parameter).c2bciterβ is equivalent to usingcb2bib --citer.
π OPTION π
--conf [filename.conf]β Use configuration file
π ACTIONS π
--configure [filename.conf]β Edit configuration--bibedit [filename1.bib [filename2.bib ... ]]β Edit/browse BibTeX files--citer [filename1.bib [filename2.bib ... ]]β Start cb2Bib citer--import <tmp_reference_filename>β Imports reference, usually from ad hoc websites--doc2bib fn1.doc [fn2.doc ... ] reference.bibβ Extract reference from document file--txt2bib fn1.txt [fn2.txt ... ] reference.bibβ Extract reference from text file--html-annote filename.texβ Convert annote file to HTML--view-annote filename.texβ Convert and visualize annote file--view-annote filename.tex.htmlβ Visualize annote file
β¨οΈ KEY SHORTCUTS β¨οΈ
Key: Description β here's the whole hotkey menu, no gatekeeping π
Alt Aβ Open cb2Bib AnnoteAlt Bβ Edit BookmarksAlt Cβ Preparses cb2Bib's clipboardAlt Dβ Deletes temporary BibTeX output fileAlt Eβ Edit Regular ExpressionsAlt Fβ Select File source filenameAlt Iβ Insert Regular ExpressionAlt Jβ Edit Journal AbbreviationsAlt Oβ Open File DocumentAlt Pβ Postprocess BibTeXAlt Rβ Restarts automatic recognitionEscβ Quits cb2Bib popup menuRightβ Click Editor popup menu
π EXAMPLES π
cb2bib Starts cb2Bib extraction
program
cb2bib --import tmp_reference_filename Imports a reference from a
file
cb2bib --bibedit filename.bib Edits BibTeX filename.bib
cb2bib --conf Starts cb2Bib in USB mode
cb2bib --doc2bib *.pdf references.bib Extracts references from
PDF title pages
π NOTES π
- The file
cb2bib.confmust be readable and writable. If it does not exist, the cb2Bib will create one based on predefined defaults. it just handles it, periodt - Use switch
--confto particularize specific settings for specific actions. - If starting the cb2Bib from a removable media use the command
cb2bib --confwithout configuration filename. Settings will be read from and written to/cb2bib/full/path/cb2bib.conf, being therefore independent of the mounting address that the host computer will provide. - To import references from a browser select when asked
c2bimport, which expands tocb2bib --import %f. The browser will provide the temporary reference filename. The temporary file is deleted once imported. - A number of factors influence the reliability of automatic extractions. Consider writing customized regular expressions and network queries, and use metadata when available.
π Important π
The commands--doc2biband--txt2bibdo not append the references to thereferences.bib. They create a new file, or silently overwrites it if already exists. like bestie, SILENTLY. it will not warn you. be careful fr. π
The website http://www.molspaces.com/d_cb2bib-overview.php has detailed instructions corresponding to different use cases. π¦
π BIBLIOGRAPHICAL REFERENCES TO BE CITED π
- P. Constans (2009) "A simple extraction procedure for bibliographical author field",
arXiv:0902.0755. - P. Constans (2007) "Approximate textual retrieval",
arXiv:0705.0751.
π SEE ALSO π
bib2pdf(1), med2bib(1), isi2bib(1), ris2bib(1)
π AUTHORS π
- Pere Constans
<constans@molspaces.com>- Program author.
- Filippo Rusconi
<lopippo@debian.org>- Man-page author for the Debian distribution.
β COPYRIGHT β
Copyright Β© 2004-2008 Pere Constans Copyright Β© 2009,2017 Filippo Rusconi
This manual page was written for the Debian system by Filippo Rusconi <lopippo@debian.org>. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3, published by the Free Software Foundation.
On a Debian system the complete text of the GNU General Public License version 3 can be found in the file /usr/share/common-licenses/GPL-3.
and that's the whole page bestie, hope it ate π β¨
this page is from the cb2bib manual, September 2009 edition β shoutout to whoever packaged this for the distro, you're the real one π«Άπ
π¦ where this page comes from
- debian bookworm: cb2bib 2.0.1-2 Β· GPL-3.0-or-later
- debian trixie: cb2bib 2.0.1-3 Β· GPL-3.0-or-later
- ubuntu jammy: cb2bib 2.0.1-2 Β· GPL-3.0-or-later
- ubuntu noble: cb2bib 2.0.1-2build2 Β· GPL-3.0-or-later
- ubuntu questing: cb2bib 2.0.1-3
- ubuntu resolute: cb2bib 2.0.2-1 Β· GPL-3.0-or-later
- ubuntu stonking: cb2bib 2.0.3-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms