Code Monkey home page Code Monkey logo

texbib's Introduction

Bib

Texbib is a program that helps you to manage your BibTeX references.

Test status PyPI status

Installation

To install bib use the following commands

pip install --user texbib

Usage

Basics

To add the contents of a BibTeX foo.bib file to the global bibliography type into a shell

$ bib add foo.bib

You can specify as many files as you want in a singe command. The entries in the bibliography can be addressed by the ID that is specified in the BibTeX file.

You can also add a reference via its DOI, either in the doi:โ€ฆ format or as URL starting with https://doi.org/.

$ bib add doi:10.1002/andp.19053220806

This will make a request to the crossref api.

Preprints from arXiv may be added similarly:

$ bib add arXiv:1306.4856

You can have a look at the references in the bibliography with

$ bib show

Later you probably want to create a new file with all the references in your document directory. Use the handy dump command for that.

$ bib dump
Wrote to default.bib

To remove a single item with ID foo2000 from the active bibliography

$ bib rm foo2000

Using Bibliographies

You can group your references into bibliographies. To create one called myBib

bib init myBib

After creation it is your new active bibliography. Everything you add and remove will be applied to it instead of the default one.

To see what bibliographies exist and which is active

$ bib list
  default
* myBib

To change the active bibliography to an existing one use the checkout command.

$ bib checkout default

A bibliography can be removed with

$ bib delete myBib

texbib's People

Contributors

frcl avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.