auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] RefTeX and ConTeXt


From: Leo
Subject: [AUCTeX] RefTeX and ConTeXt
Date: Wed, 10 Oct 2007 05:17:50 +0100
User-agent: Gnus/5.110007 Emacs/23.0.50 (20070922) Fedora 7 (gnu/linux)

AUCTeX developers,

bib has become a standard part of ConTeXt.

An example:

--8<---------------cut here---------------start------------->8---
% bibliography
\usemodule[bib]
% \usemodule[bibltx]
\setupbibtex[database=bibTest]  % use bibTest.bib

\starttext
\cite[trezegol] is a good read.
\stoptext
--8<---------------cut here---------------end--------------->8---

I wonder if you can extend RefTeX to support ConTeXt.

For now I am getting an error:
--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (error "No valid bibliography in this document, 
and no default available")
  signal(error ("No valid bibliography in this document, and no default 
available"))
  error("No valid bibliography in this document, and no default available")
  (cond ((eq bibtype ...) (reftex-extract-bib-entries ...)) ((eq bibtype ...) 
(reftex-extract-bib-entries-from-thebibliography ...)) 
(reftex-default-bibliography (message "Using default bibliography") 
(reftex-extract-bib-entries ...)) (t (error "No valid bibliography in this 
document, and no default available")))
  (setq found-list (cond (... ...) (... ...) (reftex-default-bibliography ... 
...) (t ...)))
  (catch (quote done) (setq found-list (cond ... ... ... ...)) (unless 
found-list (error "Sorry, no matches found")) (setq 
reftex-call-back-to-this-buffer (current-buffer)) (set-marker 
reftex-select-return-marker (point)) (save-window-excursion 
(delete-other-windows) (let ... ... ... ... ...) (setq buffer-read-only t) (if 
... ...) (setq truncate-lines t) (goto-char 1) (while t ... ... ... ...)))
  (not (catch (quote done) (setq found-list ...) (unless found-list ...) (setq 
reftex-call-back-to-this-buffer ...) (set-marker reftex-select-return-marker 
...) (save-window-excursion ... ... ... ... ... ... ...)))
  (while (not (catch ... ... ... ... ... ...)))
  (let ((bibtype ...) found-list rtn key data selected-entries) (while (not 
...)) selected-entries)
  reftex-offer-bib-menu()
  reftex-do-citation(nil nil nil)
  reftex-citation()
  call-interactively(reftex-citation)
--8<---------------cut here---------------end--------------->8---

Software used:
AUCTeX-version: 2007-05-25
RefTeX:         4.31

Thanks,
-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

       Use the most powerful email client -- http://gnus.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]