[TxMt] Question to LaTeX bundle users
Charilaos Skiadas
cskiadas at uchicago.edu
Thu Jan 26 00:42:00 UTC 2006
Hey all, sorry for the mass email. If you are not using the LaTeX
bundle, you can safely ignore the rest.
I am currently working on the various completion commands in the
latex bundle, and I am considering dropping bibdesk support in the
completion commands in the following way: Instead of asking bibdesk
for the completion list, I have a command read that does the following:
It collects a list of bib files from the following locations:
1. the files pointed to by the environment (or project specific)
variable TM_LATEX_BIB, space separated (use quotes if the filename
contains spaces).
2. If either the file pointed to by the variable TM_LATEX_MASTER, or
the current document (if saved), or both, contain any text of the
form \bibliography{bibfile}, it adds this bibfile to the list of bib
files to examine.
It scans all these bib files for the cite keys, and uses those for
completion. It will look for titles for the pop-up menu. So there
will be (actually there already are) two commands, one that works
with Esc (normal completion) and one that brings up a pop-up of
possible completions.
The above will be faster than calling Bibdesk through applescript.
And you can of course still create citations by dragging them items
from Bibdesk and dropping them in textmate.
The main question is whether calling Bibdesk has any advantages
compared to the approach I outlined above, and whether the approach
above misses something. Your feedback would be much appreciated.
Haris
More information about the textmate
mailing list