Autocomplete pandoc-style citations from a bibtex file in textmate


/ Published in: Other
Save to your folder(s)

This depends on [bibout](http://snipplr.com/view/19515/bibout/). In TextMate, set $TM_LATEX_BIB to point to your bibtex file, and create a Preference file in your markdown (or pandoc) bundle, containing the first line of the snippet. Create another Preference file containing the second line of the snippet. The first enables autocompletion of citations; the second enables autocompletion of bibliographic entries.


Copy this code and paste it in your HTML
  1. { completionCommand = 'bibout --bib $TM_LATEX_BIB --cite $TM_CURRENT_WORD'; }
  2. { completionCommand = 'bibout --bib $TM_LATEX_BIB --bibliography $TM_CURRENT_WORD'; }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.