Mercurial > emacs
comparison lisp/textmodes/reftex-parse.el @ 29775:31536c6cf2e3
* textmodes/reftex.el (reftex-find-citation-regexp-format):
Support for bibentry.
(reftex-compile-variables): Fixed problem with end of section-re.
* texmodes/reftex-dcr.el (reftex-view-crossref,
reftex-view-crossref-from-bibtex): Deal with changed
`reftex-find-citation-regexp-format'.
(reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
Replaced `remprop' with `put'.
(reftex-view-crossref, reftex-view-crossref-when-idle): Support
for bibentry.
* textmodes/reftex-vars.el (reftex-cite-format-builtin): New entry for
bibentry package.
* textmodes/reftex-parse.el (reftex-locate-bibliography-files): Regexp also
matches "\nobibliography".
* textmodes/reftex-global.el (reftex-renumber-simple-labels): Call
`reftex-ensure-write-access' before doing anything.
(reftex-ensure-write-access): New function.
author | Carsten Dominik <dominik@science.uva.nl> |
---|---|
date | Tue, 20 Jun 2000 12:52:00 +0000 |
parents | 7f69a3b899d8 |
children | 5eec8d1d09f0 |
comparison
equal
deleted
inserted
replaced
29774:8eff9cc9cbae | 29775:31536c6cf2e3 |
---|---|
1 ;;; reftex-parse.el - Parser Functions for RefTeX | 1 ;;; reftex-parse.el - Parser Functions for RefTeX |
2 ;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. | 2 ;; Copyright (c) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. |
3 | 3 |
4 ;; Author: Carsten Dominik <dominik@strw.LeidenUniv.nl> | 4 ;; Author: Carsten Dominik <dominik@strw.LeidenUniv.nl> |
5 ;; Version: 4.11 | 5 ;; Version: 4.14 |
6 ;; | 6 ;; |
7 | 7 |
8 ;; This file is part of GNU Emacs. | 8 ;; This file is part of GNU Emacs. |
9 | 9 |
10 ;; GNU Emacs is free software; you can redistribute it and/or modify | 10 ;; GNU Emacs is free software; you can redistribute it and/or modify |
328 | 328 |
329 (unless files | 329 (unless files |
330 (save-excursion | 330 (save-excursion |
331 (goto-char (point-min)) | 331 (goto-char (point-min)) |
332 (if (re-search-forward | 332 (if (re-search-forward |
333 "\\(\\`\\|[\n\r]\\)[ \t]*\\\\bibliography{[ \t]*\\([^}]+\\)" nil t) | 333 "\\(\\`\\|[\n\r]\\)[ \t]*\\\\\\(no\\)?bibliography{[ \t]*\\([^}]+\\)" nil t) |
334 (setq files | 334 (setq files |
335 (split-string (reftex-match-string 2) | 335 (split-string (reftex-match-string 3) |
336 "[ \t\n\r]*,[ \t\n\r]*"))))) | 336 "[ \t\n\r]*,[ \t\n\r]*"))))) |
337 (when files | 337 (when files |
338 (setq files | 338 (setq files |
339 (mapcar | 339 (mapcar |
340 (lambda (x) | 340 (lambda (x) |