|
From: | Ken Brown |
Subject: | Re: [AUCTeX] First try at the Biber support merge |
Date: | Tue, 24 Jul 2012 14:12:53 -0400 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 |
On 7/24/2012 1:30 PM, Tassilo Horn wrote: Hi Tassilo,
--8<---------------cut here---------------start------------->8--- \documentclass{article} \begin{document} Just do C-x [ somewhere and you should be able to complete the keys aucbrown12 and auchorn12. \bibliographystyle{alpha} \bibliography{foo} \end{document} --8<---------------cut here---------------end--------------->8--- The corresponding bib file: --8<---------------cut here---------------start------------->8--- @Article{aucbrown12, author = {Ken Brown}, title = {Merging Biber support into AUCTeX}, journal = {The Emacs Journal}, year = {2012} } @InProceedings{auchorn12, author = {Tassilo Horn}, title = {Bla bla about AUCTeX}, year = {2012} } --8<---------------cut here---------------end--------------->8---
Completion works for me on this example, using CVS head with my version of Philip's patches. It didn't work immediately when I first entered the text into the buffer. But then I saved the file, killed the buffer, and revisited the file, and completion worked fine. I tested with a fairly minimal .emacs, appended below.
Ken (load "auctex.el" nil t t) (load "preview-latex.el" nil t t) (autoload 'reftex-mode "reftex" "RefTeX Minor Mode" t) (autoload 'turn-on-reftex "reftex" "RefTeX Minor Mode" nil) (autoload 'reftex-citation "reftex-cite" "Make citation" nil) (add-hook 'LaTeX-mode-hook 'turn-on-reftex) (setq reftex-plug-into-AUCTeX t) (add-hook 'latex-mode-hook 'turn-on-reftex)
[Prev in Thread] | Current Thread | [Next in Thread] |