SublimeText/LaTeXTools — pull request #260 by andrewning (2013-08-27 22:53:39+00:00)
Title: Added additional backup types for {journal} in the cite_panel_format.

I like to use this format:

"cite_panel_format": ["{author_short} {year} - {title_short} ({keyword})","{journal}"]

rather than the default:

"cite_panel_format": ["{author_short} {year} - {title_short} ({keyword})","{title}"]

because I think it's redundant to show the title at the top and the title again just below. Of course this capability is already provided but the "{journal}" type only includes journal articles and so doesn't show any relevant information for other types. I added a few more types as described below.

- Just like {author} already falls back on editor for books, {journal} now refers to the journal name for articles but falls back to: booktitle (conferences), institution (tech reports), publisher (books), and school (thesis or dissertation).
- Also simplified some of the code relating to this change so that the same code wasn't being called in multiple places and it would be easier to maintain without introducing errors.
- Other lines are highlighted because my editor auto-removed trailing whitespace