Posted By

dsanson on 09/10/09


textmate bibtex pandoc

Versions (?)

Autocomplete pandoc-style citations from a bibtex file in textmate

 / Published in: Other

This depends on bibout. In TextMate, set $TMLATEXBIB 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.

  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  

You need to login to post a comment.