ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

DBLP

by bordaigorl ST3

DBLP Plugin For Sublime Text 2

Details

  • 3.0.0
  • github.​com
  • 2 years ago
  • 1 hour ago
  • 2 years ago

Installs

  • Total 25
  • Win 9
  • OS X 13
  • Linux 3
Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

DBLP for Sublime Text

A plugin for SublimeText 3 for working with DBLP, the Computer Science Bibliography.

DBLP for Sublime Text can be installed directly using Package Control.

Features

The plugin offers the following commands (available from the Command Palette).

DBLP: Lookup

It asks the user for a query and searches DBLP for papers matching it. Then a quick panel is displayed with the results. When a result is selected, a panel at the bottom shows the corresponding entry (in Markdown syntax).

DBLP: Insert Citation Key

After doing a lookup, the citation key of the selected entry is inserted in the current view.

DBLP: Insert \cite Command

After doing a lookup, the citation key of the selected entry is inserted in the current view, wrapped in a \cite macro. For use with LaTeX documents.

DBLP: Insert Citation Entry (BibTeX)

After doing a lookup, the full citation entry of the selected record is inserted in the current view, in BibTeX format.

DBLP: Insert Citation Entry (Markdown)

After doing a lookup, the full citation entry of the selected record is inserted in the current view, in Markdown format.

DBLP: Insert Citation Entry (XML)

After doing a lookup, the full citation entry of the selected record is inserted in the current view, in XML format.

Shortcuts

You can install a keyboard shortcut by adding variations of the following

{
    "keys": ["ctrl+d", "ctrl+k"],
    "command": "dblp_search",
    "context": [
        {"key": "selector", "operand": "text.tex.latex", "operator": "equal"}
    ]
},
{
    "keys": ["ctrl+d", "ctrl+c"],
    "command": "dblp_insert_citation",
    "args": {"format": "bibtex"},
    "context": [
        {"key": "selector", "operand": "text.bibtex", "operator": "equal"}
    ]
},
{
    "keys": ["ctrl+d", "ctrl+c"],
    "command": "dblp_insert_citation",
    "args": {"format": "xml"},
    "context": [
        {"key": "selector", "operand": "text.xml", "operator": "equal"}
    ]
}

to your user key bindings.

Advanced usage

The dblp_search offers two additional arguments:

  • query_snippet: the snippet initially filling the input panel for the search query (can be a ST snippet);
  • query: the query itself. If this argument is specified, no input is asked to the user and the search is performed straight away;
  • max_hits: the maximum number of results shown in the quick panel (default 500).

The dblp_insert_citation offers advanced arguments:

  • query_snippet, query and max_hits as above;
  • format: the format for the citation (default bibtex). It could be any of:
    • the DBLP provided bibtex, bibtex_std, bibtex_crossref, bib0, bib1, bib2, xml, rdf
    • markdown
    • a custom format for which you have to set the template argument (see below).
  • template: a template string using any of the fields key, cite_key, title, year, venue, authors and url. This is only used if the format is not one of the DBLP supported ones. The default template is a Markdown entry:

    # ${title}
       > ${authors}
         ${venue} (${year})
       [${key}](${url})
    

This plugin can be used in conjunction with rDBLP to automatically maintain your bib files for your current publication.

Acknowledgements

This plugin is a fork of the DBLP Search plugin for ST2, but it evolved as a complete rewrite.


The DBLP service provides open bibliographic information on major computer science journals and proceedings. DBLP is a joint service of the University of Trier and Schloss Dagstuhl. For more information check out their F.A.Q.