comparison lisp/textmodes/reftex-vars.el @ 69092:eaa1a08589a4

(reftex-try-all-extensions): New option.
author Carsten Dominik <dominik@science.uva.nl>
date Wed, 22 Feb 2006 07:20:54 +0000
parents 067115a6e738
children 684aaf007d39 34c8b755296d
comparison
equal deleted inserted replaced
69091:19aab6199971 69092:eaa1a08589a4
1 ;;; reftex-vars.el --- configuration variables for RefTeX 1 ;;; reftex-vars.el --- configuration variables for RefTeX
2 ;; Copyright (C) 1997, 1998, 1999, 2003, 2004, 2005, 2 ;; Copyright (C) 1997, 1998, 1999, 2003, 2004, 2005,
3 ;; 2006 Free Software Foundation, Inc. 3 ;; 2006 Free Software Foundation, Inc.
4 4
5 ;; Author: Carsten Dominik <dominik@science.uva.nl> 5 ;; Author: Carsten Dominik <dominik@science.uva.nl>
6 ;; Version: VERSIONTAG 6 ;; Version: 4.31
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
11 ;; it under the terms of the GNU General Public License as published by 11 ;; it under the terms of the GNU General Public License as published by
1553 TeX-file-extensions." 1553 TeX-file-extensions."
1554 :group 'reftex-finding-files 1554 :group 'reftex-finding-files
1555 :type '(repeat (cons (string :tag "File type") 1555 :type '(repeat (cons (string :tag "File type")
1556 (repeat (string :tag "Extension"))))) 1556 (repeat (string :tag "Extension")))))
1557 1557
1558 (defcustom reftex-try-all-extensions nil
1559 "Non-nil means, try all extensions listed in `reftex-file-extensions'.
1560 When searching for a file, LaTeX uses only the default extension. However,
1561 if you are working with a noweb system that produces the .tex files from
1562 some other file, and you want RefTeX to scan the web file instead of the
1563 tex file, you need to set this option. You also need to make the noweb
1564 extension the default extension, i.e. the first in the list in
1565 `reftex-file-extensions'.
1566 Note that if you are using external file finders, this option has no effect."
1567 :group 'reftex-finding-files
1568 :type 'boolean)
1569
1558 (defcustom reftex-search-unrecursed-path-first t 1570 (defcustom reftex-search-unrecursed-path-first t
1559 "*Non-nil means, search all specified directories before trying recursion. 1571 "*Non-nil means, search all specified directories before trying recursion.
1560 Thus, in a path \".//:/tex/\", search first \"./\", then \"/tex/\" and then 1572 Thus, in a path \".//:/tex/\", search first \"./\", then \"/tex/\" and then
1561 all subdirectories of \"./\". If this option is nil, the subdirectories of 1573 all subdirectories of \"./\". If this option is nil, the subdirectories of
1562 \"./\" are searched before \"/tex/\". This is mainly for speed - most of the 1574 \"./\" are searched before \"/tex/\". This is mainly for speed - most of the