Git Product home page Git Product logo

company-bibtex's Introduction

`company-bibtex` provides a backend for the
company-mode framework, enabling completion of bibtex keys in
modes used for prose writing.  This backend activates for citation
styles used by `pandoc-mode` (@), `latex-mode` (\cite{}), and
`org-mode` (ebib:).

# Initialization 

Load the package and add `company-bibtex` to `company-backends`:

```elisp
(require 'company-bibtex)
(add-to-list `company-backends `company-bibtex)
```

# Customization

`company-bibtex` reads from a bibliography file or files
specified in `company-bibtex-bibliography`:

```elisp
(setq company-bibtex-bibliography
	`("/home/cooluser/thesis/thesis1.bib"
	  "/home/cooluser/thesis/thesi2.bib"))
```
The regular expression matching key names alphanumeric characters,
dashes (-), and underscores (_).  This is customizable via
`company-bibtex-key-regex`:

```elisp
(setq company-bibtex-key-regex "[[:alnum:]+_]*")
```

company-bibtex's People

Contributors

gbgar avatar

Watchers

Shohei YOSHIDA avatar James Cloos 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.