[TxMt] Re: TM2 LaTeX BibDeskTMCompletions

Gildas Hamel gweltaz at ucsc.edu
Sat Dec 17 00:22:30 UTC 2011


Hi Charles,
I solved my Citation (Ref-TeX Style) completion command problem in the latexbundle. It didn't have anything to do with BibDeskTMCompletions or the BibDesk DO Completions command, but with LaTeXUtils.rb. Sorry for the noise about BibDesk.  I needed to change a couple lines in LaTeXUtils.rb to adapt it to biblatex method of bib input. I had to change line 244 to
addbib_regexp = /^[^%]*\\addbibresource\s*\{([^\}]*)\}/
and line 248 to
scanner.extractors[addbib_regexp] = Proc.new do |filename, line, groups, text|
--Gildas

* Charles Turner (vze26m98 at gmail.com) scripsit:
  |>  On Thu, Dec 15, 2011 at 10:16 PM, Gildas Hamel <gweltaz at ucsc.edu> wrote:
  |>  
  |>  > I have a question re Citation (Ref-TeX Style) completion or BibDesk. The completion doesn't occur in TM2, while it continues to work fine in TM1, without having to open BibDesk, via the BibDeskTMCompletions script which I put in a ~/bin folder.
  |>  >
  |>  > Any suggestion as to why it doesn't work in TM 2 alpha? Is it because tooltips might not be working yet, or do I need to point the LaTeX bundle towards my bib files (and how?)? Any hint greatly appreciated by this non-coder.
  |>  
  |>  You mean the completions script available here?
  |>  
  |>  <https://public.me.com/amaxwell>
  |>  
  |>  I'll take a look at it on Tuesday after the semester is done if you
  |>  don't get a response on the TM list.
  |>  
  |>  Best, Charles


More information about the textmate mailing list