Skip to content

Commit

Permalink
Added version message, check for none..
Browse files Browse the repository at this point in the history
  • Loading branch information
mangecoeur committed Jan 30, 2016
1 parent c7b2cd9 commit 25e2900
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions citer.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def load_yamlbib_path(view):

_YAMLBIB_PATH = _PAPERS[filename].bibpath()


class Paper:

_filepath = None
Expand Down Expand Up @@ -137,6 +138,10 @@ def bibfile_modifed(bib_path):


def load_bibfile(bib_path):
if bib_path is None:
sublime.status_message("WARNING: No BibTex file configured for Citer")
return {}

bib_path = bib_path.strip()
with open(bib_path, 'r', encoding="utf-8") as bibfile:
bp = BibTexParser(bibfile.read(), customization=convert_to_unicode)
Expand Down
4 changes: 4 additions & 0 deletions messages/0.6.3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Citer 0.6.3
===========

Added YAML bibtex file support (@Anderas)

0 comments on commit 25e2900

Please sign in to comment.