Commits

Anonymous committed 0106140

Sync to author version.

2001-04-11 Per Abrahamsen <abraham@dina.kvl.dk>

* Version 10.0g released.

Comments (0)

Files changed (37)

-News in 9.9
-===========
+News in 10.0
+============
 
-   * Bug fix in JLATEX recognition.  Patch by Tsutomu OKUMURA
-     <oku@nml.t.u-tokyo.ac.jp>.
+   * Disabled `LaTeX-hide-environment'.  Suggested by Christopher Allen
+     <cpcallen@ruah.dyndns.org>.
 
-   * Bug fix in foils package sypport.  Suggested by Bernt
-     Guldbrandtsen <bernt@jupiter.ansci.iastate.edu>.
+   * Changed default to lazy evaluation of `TeX-view-style' and
+     `LaTeX-command-style'.  Suggested by Peter Neergaard
+     <turtle@cs.bu.edu>.
 
-   * Made `make install-contrib' compile the contributed lisp files.
-     Suggested by Nils Ackermann <Nils.Ackermann@math.uni-giessen.de>.
+   * Backindent when brace is at the start of a line.  Patch by Masashi
+     Shimbo <shimbo@cis.ibaraki.ac.jp>.
 
-   * In `texinfo-mode', `C-c C-f C-d' now deletes the current font,
-     while `C-u C-c C-f KEY' changes it.  `@dfn' moved to `C-c C-f d'.
-     Suggested by Christoph Wedler <wedler@fmi.uni-passau.de>.
+   * Added Emacs 21 font lock support.
 
-   * Fixed some custom types.  Patch by Markus Rost
-     <markus.rost@mathematik.uni-regensburg.de>.
+   * `,' and `.' no longer removes italic correction.
 
-   * Support loading byte compiled files, even if `TeX-byte-compile' is
-     nil.  Patch by Christoph Wedler  <wedler@fmi.uni-passau.de>.
+   * `graphicx' and `graphics' style support.  Donated by Ryuichi
+     Arafune <arafune@ushioda.riec.tohoku.ac.jp>.
 
-   * The command to replace a LaTeX2e font should work more reliably
-     now.  Patch by Christoph Wedler  <wedler@fmi.uni-passau.de>.
+   * `LaTeX-math-abbrev-prefix' now accepts vector value.  Reported by
+     Jan Vroonhof <vroonhof@math.ethz.ch>.
 
-   * Minor XEmacs packaging changes.  Patch by Christoph Wedler
-     <wedler@fmi.uni-passau.de>.
+   * Improved Texinfo support(more environments and html).  Patch by
+     Akim Demaille <akim@epita.fr>.
 
-   * `TeX-file-recurse' now accepts an integer value, max depth of
-     recursion.  Patch by Alastair Burt  <burt@dfki.bde>.
+   * `danish' quotes support.  Suggested by arne@daimi.au.dk (Arne
+     Joergensen).
 
-   * Simple imenu support for LaTeX.
+   * Some PDF support.
 
-   * Workaround for 20.3 bugs.
+   * New `tex-mik.el' file for MikTeX support.
 
-   * The `Spell' command now works on all open buffers in the document.
-     Patch by Jason Stewart <jasons@cs.unm.edu>.
+   * Some commands now have their own history.  Suggested by Werner
+     LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>.
 
-   * `C-c C-m' now puts content of region inside first empty brackets
-     in the macro, if any.  Patch by Peter Thiemann <pjt@cs.nott.ac.uk>.
+   * Use `\centering' instead of center environment in figures.  Patch
+     by Stefan Monnier <foo@acm.com>.
 
-   * Update of `natbib.el' style file by Carsten Dominik
-     <dominik@strw.LeidenUniv.nl>.
+   * New `dwim' setting for `TeX-master' attempts to guess a default
+     master for new files.  Patch by Stefan Monnier <foo@acm.com>.
 
-   * Much better detection of TeX math mode.  Patch by Carsten Dominik
-     <dominik@strw.LeidenUniv.nl>.
+   * `ngerman' style support.  Just a copy of the german style support.
 
-   * New `%n' escape in `TeX-command-list' for entering the current
-     line number.  Suggested by "Lee, Sang-Min"
-     <smagus@acorn.snu.ac.kr>.
+   * Removed support for Emacs 18 and 19.
 
-   * Doc fixes in manual.  Patch by Gustavo Chaves
-     <gustavo@cpqd.com.br>.
+   * `mdwlist' support.  Patch by Stephen Heilbronner
+     <heilbron@nm.informatik.uni-muenchen.de>.
 
-   * Better reftex support for sections.  Patch by Carsten Dominik
-     <dominik@strw.LeidenUniv.nl>.
+   * Fixed various bugs with the babel package.
 
-   * Bug fixes in math card.  Reported by "Ron Smith"
-     <rsmith@eel.ufl.edu>.
+   * `amsart' and `amsbook' now loads `amsthm' by default.  Patch by
+     Rune Kleveland <runekl@math.uio.no>.
 
-   * Better multifile support.  Patch by Soren Dayton
-     <csdayton@cs.uchicago.edu>.
+   * Fixed bug with file searching.  Reported by Berwin Turlach
+     <bturlach@maths.adelaide.edu.au>.
 
-   * Don't expand abbreviations when `abbrev-mode' is nil.  Suggested
-     by Alastair Burt <alastair.burt@dfki.de>.
+   * Finalized index support, added index-related style files.  Patch
+     by Carsten Dominik <dominik@strw.leidenuniv.nl>.
 
-   * `direntry' support in manual, by SL Baur <steve@altair.xemacs.org>.
+   * New style files for `varioref.sty' and `fancyref.sty'.  Patch by
+     Carsten Dominik <dominik@strw.leidenuniv.nl>.
 
+   * `texmathp' recognizes additional macros like `\fbox'.  Patch by
+     Ulrik Vieth <vieth@thphy.uni-duesseldorf.de>.
+
+
-2001-07-31  James LewisMoss <jimdres@mindspring.com>
-
-	* tex.el (TeX-search-files): Fix bug with search paths.
-
-2000-11-07  Martin Buchholz <martin@xemacs.org>
-
-	* font-latex.el: Doc fix.
-
-        * bib-cite.el: Doc fix.
-
-2000-10-05  Martin Buchholz  <martin@xemacs.org>
-
-	* *: Mega typo fix.
-
-2000-09-12  Andreas Jaeger  <aj@suse.de>
-
-	* Makefile: Use BUILD_WITHOUT_MULE instead of BUILD_MULE.
-
-2000-08-23  Steve Youngs  <youngs@xemacs.org>
-
-	* Makefile (EXTRA_OBJS): New variable.
-
-2000-08-22  Steve Youngs  <youngs@xemacs.org>
-
-	* Makefile: Remove target 'clean' because it's covered in XEmacs.rules.
-
-2000-07-21  Ben Wing  <ben@xemacs.org>
-
-	* tex-jp.el: Convert to euc-jp so it can be byte-compiled on
-	non-Mule XEmacs.
-
-2000-01-19  Andreas Jaeger  <aj@suse.de>
-
-	* Updated with AUC TeX 9.9p.
-
-1998-09-30  SL Baur  <steve@altair.xemacs.org>
-
-	* Makefile (EXTRA_SOURCES): Add tex-site.el.
-
-1998-08-05  SL Baur  <steve@altair.xemacs.org>
-
-	* Makefile (auto-autoloads.el): Make sure _pkg.el gets stuffed in
-	the autoloads file.
-
-1998-07-23  SL Baur  <steve@altair.xemacs.org>
-
-	* Makefile: Allow for building with XEmacs/no-Mule.
-	Make autoloads generation work without XEmacs/Mule.
-
-1998-04-10  SL Baur  <steve@altair.xemacs.org>
-
-	* font-latex.el-0.603.
-
-1998-04-10  SL Baur  <steve@altair.xemacs.org>
-
-	* font-latex.el-0.512.
-
-1998-04-07  SL Baur  <steve@altair.xemacs.org>
-
-	* Makefile (binkit): Use TAR/EXCLUDES variables from XEmacs.rules.
-
+2001-04-11  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 10.0g released.
+
+2001-04-11  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex-site.el: Don't enable tex-info.el by default.
+
+	* latex.el (LaTeX-hide-environment): Disabled by default.
+	Suggested by Christopher Allen <cpcallen@ruah.dyndns.org>.
+
+2001-03-27  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 10.0f released.
+
+2001-03-27  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (unless): Don't enable Emacs 21 font-lock for Emacs 20. 
+	(VirTeX-common-initialization): Ditto.
+
+2001-03-26  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 10.0e released.
+
+2001-03-26  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (TeX-expand-list): Changed default to lazy evaluation of
+	`TeX-view-style' and `LaTeX-command-style'.
+	Suggested by Peter Neergaard <turtle@cs.bu.edu>.
+
+	* latex.el (LaTeX-indent-calculate, LaTeX-indent-calculate-last):
+	Backindent when brace is at the start of a line.
+	Patch by Masashi Shimbo <shimbo@cis.ibaraki.ac.jp>.
+
+	* doc/auc-tex.texi: Fixed dir entry.
+	Reported by David Masterson <dmasters@Rational.Com>.
+
+	* tex-info.el (TeXinfo-mode-map): "\e\r" bound to `map', not
+	`TeXinfo-mode-map'. 
+	Patch by Dan Nicolaescu <dann@godzilla.ICS.UCI.EDU>.
+
+2001-03-01  Hidenobu Nabetani  <nabe@debian.or.jp>
+
+	* tex-jp.el: Don't work correctly in current AucTeX.
+	Patch by Masayuki Ataka <j1297007@ed.kagu.sut.ac.jp>
+	and Yuzo Furukawa <hurukawa@kuee.kyoto-u.ac.jp>.
+	Removed support for NEmacs and Mule1,2 which are based 
+	on Emacs 18 and 19.
+	Created new variable japanese-TeX-command-list and 
+	added support for mendex.
+	Updated LaTeX-auto-regexp-list variable.
+
+2001-01-09  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* all: Changed `sunsite.auc.dk' to `sunsite.dk'.
+
+2001-01-02  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 10.0d released.
+
+2001-01-02  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex-mik.el (TeX-command-list): Don't prompt for view.
+
+2000-12-04  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 10.0c released.
+
+2000-12-04  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el: Avoid :inherit font property with Emacs 20.
+	Reported by Damien WYART <wyart@iie.cnam.fr>.
+
+2000-12-01  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 10.0b released.
+
+2000-11-30  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 10.0a released.
+
+2000-11-30  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el: Copied Emacs 21 font-lock defs here.
+	(VirTeX-common-initialization): Activate them.
+
+2000-10-25  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* PROBLEMS: Updated.
+
+	* WIN-NT: Removed.
+	* MSDOS: Removed.
+	* VMS: Removed.
+	* OS2: Removed.
+	* Makefile (EXTRAFILES): Removed above files.
+
+2000-10-20  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* style/graphicx.el: Updated by author.
+	Ryuichi Arafune <arafune@ushioda.riec.tohoku.ac.jp>
+
+2000-10-19  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* style/graphics.el: New file.
+	* Makefile (STYLESRC): Added it.
+	* style/graphicx.el: Renamed from `style/graphicx.el'.
+	* Makefile (STYLESRC): Updated.
+	Reported by "Dr. Thomas Baumann" <thomas.baumann@ch.tum.de>.
+
+2000-10-09  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.10t released.
+
+2000-10-09  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* latex.el (LaTeX-outline-name): Don't escape `{' or `}' in
+	regexps. 
+	Patch by "Stefan Monnier" <monnier+gnu/emacs/news/@RUM.cs.yale.edu>.
+
+	* tex-mik.el (TeX-command-list): Use `TeX-run-discard' for "View"
+	command. 
+	Suggested by "Claus Dethlefsen" <c.dethlefsen@lancaster.ac.uk>.
+
+	* latex.el (LaTeX-common-initialization): `\bibitem' starts
+	paragraphs, just like `\item'.
+	Reported by Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>.
+
+2000-10-06  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (TeX-current-line): Return a string, not a number.
+	Reported by Julia Habel <julia.habel@gmx.de>.
+	Patch by Dirk.Ullrich@DaimlerChrysler.com.
+	
+2000-06-15  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex-site.el: Require tex-mik after changing load-path.
+	Reported by "I. Jossang" <ij202@eng.cam.ac.uk>.
+
+2000-06-13  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* IRIX: New file.
+	* Makefile (EXTRAFILES): Added it.
+
+2000-05-10  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.10s released.
+
+2000-05-03  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.10r released.
+
+2000-05-02  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (TeX-mode-map): Don't bind `.' and `,' by default.
+
+2000-05-03  Peter Galbraith <psg@debian.org>
+
+	* font-latex.el: file was broken. Updated to 0.701 (30 Mar 2000).
+	* bib-cite.el: file was broken. Updated to 3.16 (20 Dec 99).
+
+2000-04-14  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.10q released.
+
+2000-03-30  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* style/graphicsx.el: New file.
+	* Makefile (STYLESRC): Added it.
+	Donated by Ryuichi Arafune <arafune@ushioda.riec.tohoku.ac.jp>.
+	
+2000-04-14  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.10q released.
+
+2000-03-23  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* latex.el (LaTeX-math-keymap): Accept vector for
+	`LaTeX-math-abbrev-prefix'. 
+	(LaTeX-math-insert-prefix): Better error message if
+	`LaTeX-math-abbrev-prefix' is not bound.
+	Reported by Jan Vroonhof <vroonhof@math.ethz.ch>.
+	
+2000-02-23  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex-info.el (TeXinfo-environment-list): Added more missing
+	environments.  Patch by Akim Demaille <akim@epita.fr>.
+
+2000-02-22  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex-info.el (TeXinfo-environment-list): Add `group'.
+	Patch by Akim Demaille <akim@epita.fr>.
+	
+2000-01-28  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (TeX-command-list): Add `makeinfo --html' support.
+	Suggested by Akim Demaille <akim@epita.fr>.
+	
+2000-01-20  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex-info.el (TeXinfo-mode-map): Added "\e\r" binding for 
+	`texinfo-insert-@item'.
+	Reported by Akim Demaille <akim@epita.fr>.
+	(TeXinfo-mode-menu, texinfo-mode): Changed menu name and mode name
+	to `Texinfo'.
+	Suggested by Akim Demaille <akim@epita.fr>.
+	
+1999-12-21  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* bib-cite.el: Updated to 3.16 (20 Dec 99).
+
+	* font-latex.el: Updated to 0.700 (20 December 1999).
+
+2000-03-30  Peter Galbraith <psg@debian.org>
+
+	* font-latex.el: Updated to 0.701 (30 Mar 2000).
+
+2000-01-14  Peter Galbraith <psg@debian.org>
+
+	* bib-cite.el: Updated to 3.16 (20 Dec 99).
+	* font-latex.el: Updated to 0.700 (20 Dec 99).
+	* hilit-LaTeX.el: Changed author email address.
+
+1999-12-20  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.10p released.
+
+1999-12-20  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* bib-cite.el: Updated to 3.15 (20 Dec 99).
+
+	* tex-mik.el (TeX-command-list): Fixed default PDF LaTeX command.
+	Reported by "Christian Schlauer" <Christian.Schlauer@web.de>.
+
+	* Version 9.10o released.
+
+1999-12-20  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* bib-cite.el: Updated to 3.13 (20 Dec 99).
+
+1999-12-11  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* style/danish.el ("danish"): Support Danish quotes.
+	Suggested by arne@daimi.au.dk (Arne J�rgensen).
+
+1999-12-03  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex-info.el (texinfo-mode): Added `kill-all-local-variables'.
+	Reported by Stefan Monnier <foo@acm.com>.
+
+	* Version 9.10n released.
+
+1999-12-03  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex-mik.el: Fixed typo.
+	Reported by Bernt Guldbrandtsen <bg@rs580.sh.dk>
+
+1999-12-01  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.10m released.
+
+1999-12-01  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Makefile (AUCSRC, AUCELC): Added `tex-mik.el'.
+
+1999-11-26  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.10l released.
+
+1999-11-26  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* latex.el (LaTeX-env-figure): Use `\centering' instead of
+	`center' environment.
+	Patch by Stefan Monnier <foo@acm.com>.
+
+1999-11-25  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex-mik.el (tex-mik): Add provide.
+
+	* tex-site.el: Automatically require `tex-mik.el' under NT.
+
+1999-11-12  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (TeX-current-file-name-nondirectory): New function.
+	(TeX-expand-list): Use it.
+
+1999-11-10  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* doc/auc-tex.texi: Fixed references.
+	Patch by Stefan Monnier <foo@acm.com>.
+	* tex.el (TeX-lisp-directory): Use `locate-library' to find
+	default under Emacs.
+	Patch by Stefan Monnier <foo@acm.com>.
+	(TeX-dwim-master): New function.
+	(TeX-master-file): Use it.
+	(TeX-master): Document it.
+	Patch by Stefan Monnier <foo@acm.com>.
+	
+1999-11-06  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.10k released.
+
+1999-11-06  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* latex.el: Use `indent-according-to-mode' instead of
+	`LaTeX-indent-line'. 
+	(LaTeX-mode-map): Don't remap `TAB'.
+	Patch by "Stefan Monnier <foo@acm.com>".
+
+1999-11-03  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (TeX-command-list): Added `LaTeX PDF' command.
+
+1999-10-28  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.10j released.
+
+1999-10-27  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Makefile (dist): Create a .nosearch in the style directory.
+	(install-lisp): Ditto.
+	Suggested by Markus Rost <rost@IAS.EDU>.
+
+1999-10-26  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.10i released.
+
+1999-10-26  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (TeX-master-directory): Call `substitute-in-file-name'.
+	Patch by Alexander Holt <alexander.holt@ed.ac.uk>.
+	
+	* style/ngerman.el: New style.
+	Suggested by Torsten Schuetze <schuetze@math.tu-dresden.de>.
+	* Makefile (STYLESRC): Added it.
+
+	* tex-buf.el (TeX-command-query): Added history argument.
+	Suggested by Werner LEMBERG <sx0005@sx2.HRZ.Uni-Dortmund.DE>.
+
+	* latex.el (LaTeX-environment): Added history argument.
+
+	* tex.el (TeX-add-style-hook): Don't add the same hook twice.
+	Suggested by Jarl Friis <jarl@diku.dk>.
+
+	* tex.el: Removed portability code for old Emacsen.
+
+1999-10-25  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.10h released.
+
+1999-09-27  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* latex.el (LaTeX-auto-cleanup): Allow multiple packages for
+	`usepackage'. 
+	Reported by Torsten Schuetze <schuetze@math.tu-dresden.de>.
+	(LaTeX-auto-cleanup): Also add "unmangled" documentstyle.
+	Reported by Cyril Humbert <humbert@phobos.univ-mlv.fr>.
+
+1999-09-09  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* style/mdwlist.el: New file.
+	Patch by Stephen Heilbronner <heilbron@nm.informatik.uni-muenchen.de>.
+	* Makefile (STYLESRC): Added it.
+
+1999-08-20  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.10g released.
+
+1999-08-20  Hidenobu Nabetani  <nabe@debian.or.jp>
+
+	* tex.el (TeX-format-list): Add "JLATEX" and "JTEX" which is needed
+	to load tex-jp.el automatically.
+	* tex-jp.el (TeX-format-list): Remove "JLATEX" and "JTEX".
+
+1999-08-19  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* latex.el (LaTeX-hide-environment, LaTeX-show-environment): make
+	them work with new outline mode.
+	Reported by Thomas Schick <schick@math.psu.edu>.
+	
+	* tex.el (match-string): New compatibility function.
+	Reported by Andrew Edward Santosa <andrews@comp.nus.edu.sg>.
+
+1999-08-18  Hidenobu Nabetani  <nabe@debian.or.jp>
+
+	* tex-jp.el (TeX-command-list): Add "jLaTeX" and "pLaTeX".
+	(TeX-mode-menu): Fix the problem that menu "TeX" is unchanged.
+	(TeX-japanese-process-input-coding-system): Update for Emacs 20.
+	(TeX-japanese-process-output-coding-system): Update for Emacs 20.
+	(TeX-command-default): Change from "j-article" to "jarticle".
+	(LaTeX-fill-region-as-para-do): Fix the problem that fill mode 
+	don't work in Emacs 20.
+
+1999-07-16  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.10f released.
+
+1999-07-16  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* latex.el (LaTeX-auto-minimal-regexp-list): Recognize usepackage
+	options. 
+	(LaTeX-auto-cleanup): Ditto.
+
+1999-07-15  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (TeX-ignore-file): Ignore babel, it loads everything.
+	Reported by Mate Wierdl <mw@wierdlmpc.msci.memphis.edu>.
+
+	* style/foils.el: Removed require 'latex.
+	* style/natbib.el: Ditto.
+	* style/harvard.el: Ditto.
+	* style/slides.el: Ditto.
+	* style/latexinfo.el: Ditto.
+	Reported by Mate Wierdl <mw@wierdlmpc.msci.memphis.edu>.
+	
+	* Makefile (infodir, lispdir, aucdir, EMACS): Use `standard' values.
+	Reported by Mate Wierdl <mw@wierdlmpc.msci.memphis.edu>.
+
+	* tex-info.el (texinfo-mode): Fix doc string.
+	Reported by Bob Weiner <weiner@altrasoft.com>.
+
+1999-05-17  Jerry James  <jerry@cs.ucsb.edu>
+
+	* tex.el: Fix two typos in comments.
+  	(set-text-properties): Protect against possible XEmacs version
+	21.13, 22.13, etc.
+
+1999-05-14  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* latex.el (LaTeX-indent-environment-list): Customized.
+
+	* Version 9.10e released.
+
+1999-05-14  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el: (TeX-auto-generate): Reimplemented support for numeric
+	`TeX-file-recurse'. 
+	(TeX-search-files): Ditto.
+
+1999-05-03  Rune Kleveland <runekl@math.uio.no>
+
+	* style/amsart.el ("amsart"): Load `amsthm.el'.
+	* style/amsbook.el ("amsbook"): Ditto.
+
+1999-03-29  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.10d released.
+
+1999-03-29  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* doc/changes.texi: Added extra `@'.
+
+	* Version 9.10c released.
+
+1999-03-19  Carsten Dominik  <dominik@strw.leidenuniv.nl>
+
+	* tex.el (TeX-insert-dollar): Better error message when trying
+	to insert a dollar in math-mode.
+
+	* texmathp.el (texmathp-tex-commands-default): Added more default
+	macros.
+
+1999-03-12  Carsten Dominik  <dominik@strw.LeidenUniv.nl>
+
+	* latex.el (TeX-arg-index-tag): New function, to be used by the
+ 	index.el and multind.el style files.
+	(LaTeX-auto-index-regexp-list): Now matches both \index and
+ 	\glossary.
+	(TeX-arg-index): Renamed from TeX-arg-define-index.
+	(TeX-arg-define-index): Now an alias for `TeX-arg-index'.
+	(LaTeX-common-initialization): Added a regexp for index and
+	glossary to `TeX-complete-list'.  Added entry for glossary with
+	`Tex-add-symbols'.
+	* style/index.el: New file.
+	* style/makeidx.el: New file.
+	* style/multind.el: New file.
+	* style/varioref.el: New file.
+	* style/fancyref.el: New file.
+	* Makefile (STYLESRC): Added `style/index.el', `style=makeidx.el', 
+	`style/multind.el', `style/varioref.el', `style/fancyref.el'.
+	
+1999-02-23  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (TeX-search-files): `nconc' the result.
+	Reported by Berwin Turlach <bturlach@maths.adelaide.edu.au>.
+	
+1999-02-11  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.10b released.
+
+1999-02-11  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* doc/changes.texi: Typo: @ldots -> @dots.
+
+	* Version 9.10a released.
+
+	* doc/auc-tex.texi: Changed version to 9.10.
+	* doc/history.texi: Ditto.
+	* doc/changes.texi: Ditto.
+	
+1999-02-11  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.9p released.
+
+1999-02-08  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex-jp.el (TeX-format-list): Fix JLATEX format.
+	Patch by Tsutomu OKUMURA <oku@nml.t.u-tokyo.ac.jp>.
+
+	* style/foils.el (LaTeX-style-foils): Removed spurious `\n'.
+	Reported by Bernt Guldbrandtsen <bernt@jupiter.ansci.iastate.edu>.
+
+1999-02-05  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Makefile (install-contrib): Added `$(CONTRIBELC)' dependency.
+	Suggested by Nils Ackermann <Nils.Ackermann@math.uni-giessen.de>.
+
+1999-01-29  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (TeX-search-files): `mapcar' instead of `mapcan'.
+
+1999-01-12  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (TeX-font-replace-macro): Renamed from
+	`LaTeX2e-font-replace'.  Use `TeX-esc'.
+	* latex.el (LaTeX-common-initialization): Use it.
+	* tex-info.el (texinfo-mode): Ditto.
+	(TeXinfo-font-list): Add `delete'.
+	Suggested by Christoph Wedler  <wedler@fmi.uni-passau.de>.
+
+1999-01-11  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.9o released.
+
+1999-01-11  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (TeX-insert-braces, TeX-command-list): Fixed custom types.  
+	Patch by Markus Rost <markus.rost@mathematik.uni-regensburg.de>.  
+
+1999-01-09  Christoph Wedler  <wedler@fmi.uni-passau.de>
+
+	* latex.el (LaTeX2e-font-replace): Don't use hard-coded regexp for
+ 	font commands, use local `TeX-font-list', i.e., `LaTeX-font-list'.
+
+1999-01-05  Christoph Wedler  <wedler@fmi.uni-passau.de>
+
+	* tex.el (TeX-load-style-file): Do not prevent .elc style files to
+ 	be loaded if `TeX-byte-compile' is nil, just prevent compilation.
+	(TeX-lisp-directory): Only use `locate-data-directory' if this
+	function is defined and AucTeX is installed as an XEmacs package.
+
+1998-12-12  Christoph Wedler  <wedler@fmi.uni-passau.de>
+
+	* tex.el (load-path): Don't add `TeX-lisp-directory'.
+	(TeX-lisp-directory): Use `locate-data-directory' if present.
+
+1998-12-12  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.9n released.
+
+1998-12-12  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (TeX-file-recurse): Added right parenthesis.
+	Reported by Bernt Guldbrandtsen <bernt@stat.washington.edu>.
+	
+1998-12-11  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.9m released.
+
+1998-12-11  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* font-latex.el: Updated.
+	* bib-cite.el: Ditto.
+
+	* Version 9.9l released.
+
+1998-12-01  Alastair Burt  <burt@dfki.de>
+
+	* doc/auc-tex.texi (Automatic): 
+
+	* lisp/tex.el: Extended the semantics of TeX-file-recurse
+	-- now accepts a positive integer as a bound on the recursion.
+	Functions TeX-search-files and TeX-auto-generate have been amended 
+	appropriately.
+
+1998-11-23  Carsten Dominik  <dominik@strw.leidenuniv.nl>
+
+	* texmathp.el (texmathp): Added autoload cookie.
+
+1998-11-20  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.9k released.
+
+1998-11-20  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (TeX-load-style-file): Protect `byte-compile-file'.
+	Reported by Kurt Swanson <kurt@dna.lth.se>.
+
+	* latex.el (LaTeX-outline-name): New function.
+	(LaTeX-imenu-create-index-function): New function.
+	(LaTeX-common-initialization): Use it.
+
+	* tex-buf.el (TeX-run-interactive): Make sure buffer is writable
+	(needed in Emacs 20.3).
+	Reported by many.
+
+1998-10-15  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* doc/auc-tex.texi (European): Removed references to obsolete
+	packages. 
+
+1998-07-29  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.9j released.
+
+1998-07-29  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex-buf.el (TeX-run-ispell-on-document, TeX-ispell-document):
+	New functions.
+	* tex.el (TeX-command-list): Use them.
+	Patch by Jason Stewart <jasons@cs.unm.edu>.
+
+	* Version 9.9i released.
+
+1998-07-29  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (TeX-parse-macro, TeX-arg-string, TeX-parse-argument): If
+	region is active, put it inside empty brackets.
+	Patch by Peter Thiemann <pjt@cs.nott.ac.uk>.
+	
+1998-07-16  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (plain-TeX-auto-regexp-list): Add missing \\'es.
+	Reported by Markus Rost t4287 
+	<markus.rost@mathematik.uni-regensburg.de>.
+
+1998-07-14  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.9h released.
+
+1998-07-14  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (TeX-insert-dollar): Use `string-equal' to compare
+	strings.
+	Patch by Carsten Dominik <dominik@strw.leidenuniv.nl>.
+
+1998-06-25  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.9g released.
+
+1998-06-25  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* latex.el (LaTeX-auto-index-regexp-list): Remove extra quote.
+	Patch by Carsten Dominik  <dominik@strw.leidenuniv.nl>.
+
+1998-06-24  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.9f released.
+
+1998-06-24  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* latex.el (LaTeX-auto-index-regexp-list): Fix parentheses.
+	* texmathp.el (texmathp): Use `if (not' instead of `unless'.
+	Patch by Carsten Dominik  <dominik@strw.leidenuniv.nl>.
+	
+1998-06-15  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.9e released.
+
+1998-06-15  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* doc/Makefile (auc-tex.ps): Use `-o' to specify output file.
+	Suggested by Paul McJones <mcjones@pa.dec.com>.
+
+1998-06-12  Carsten Dominik  <dominik@strw.leidenuniv.nl>
+
+	* latex.el (LaTeX-font-list): Default value now contains special
+	math font commands.
+	(LaTeX2e-font-replace): Added support for math fonts.
+
+	* tex.el (TeX-font-list): Docstring changed.  Extra prefix and
+	suffix for math fonts allowed.
+	(TeX-describe-font-entry): Adapted to extended `TeX-font-list'.
+	(TeX-font): Detects math mode (using `texmathp') and inserts
+	special math font commands when available.
+
+1998-06-11  Carsten Dominik  <dominik@strw.leidenuniv.nl>
+
+	* tex.el: (TeX-insert-dollar):  Rewritten with `texmathp'.
+	(TeX-dollar-verify, TeX-locate-delimiter, TeX-bouncing-point):
+	Obsolete functions removed.
+
+1998-06-11  Carsten Dominik  <dominik@strw.leidenuniv.nl>
+
+	* latex.el: Made index entries available for global completion
+	like labels and citation keys.
+	(TeX-arg-index, TeX-arg-define-index): New functions.
+
+1998-06-10  Carsten Dominik  <dominik@strw.leidenuniv.nl>
+
+	* natbib.el ("natbib"): Rewritten to allow for more flexible
+          control of optional note arguments.  New macros in NatBib 6
+          supported.  Added support for RefTeX. 
+
+1998-06-10  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.9d released.
+
+1998-06-10  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* texmathp.el: New version from Dominik.
+
+	* Version 9.9c released.
+
+1998-06-10  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (texmathp): Added autoload.
+	(TeX-math-mode-p): Deleted.
+	(TeX-parse-macro): Use `texmathp' instead of `TeX-math-mode-p'.
+
+	* texmathp.el: New file by Carsten Dominik
+	<dominik@strw.LeidenUniv.nl>. 
+	* Makefile (AUCSRC): Added.
+	(AUCELC): Added.
+
+1998-06-05  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (TeX-expand-list): Add `%n' escape.
+	(TeX-current-line): New function.
+	Suggested by "Lee, Sang-Min" <smagus@acorn.snu.ac.kr>.
+
+	* doc/auc-tex.texi: Doc fixes by Gustavo Chaves
+	<gustavo@cpqd.com.br>. 
+	* doc/intro.texi: Ditto.
+	* doc/install.texi: Ditto.
+
+1998-05-16  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* latex.el: Checkdoc'ed.
+
+1998-04-29  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* doc/README: Update iesd->sunsite in addresses.
+
+1998-04-03  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* doc/Makefile (auc-tex.ps): Cut of the first two lines.
+
+1998-03-29  Carsten Dominik  <dominik@strw.LeidenUniv.nl>
+
+       * latex.el (LaTeX-section-section): When RefTeX is available,
+       notify it about the new section.
+
+1998-03-04  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* doc/math-ref.tex (section{Symbols}): Wrong keybindings.
+	Reported by "Ron Smith" <rsmith@eel.ufl.edu>.
+
+1998-02-27  Soren Dayton <csdayton@cs.uchicago.edu>
+
+	* tex.el (TeX-load-style): Also look in master directory.
+
+1998-02-27  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (TeX-insert-punctuation): Only expand abbrevs when abbrev
+	mode is on.  Suggested by Alastair Burt <alastair.burt@dfki.de>.
+	
 1998-02-25  SL Baur  <steve@altair.xemacs.org>
 
-	* texi/auc-tex.texi: Add direntry section for automatic
+	* doc/auc-tex.texi: Add direntry section for automatic
 	installation.
 
-1998-02-23  SL Baur  <steve@xemacs.org>
-
-	* Synched with 9.8l.
+1998-02-25  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.9b released.
+
+1998-01-02  John Griffith  <griffith@sfs.nphil.uni-tuebingen.de>
+
+	* latex.el (LaTeX-auto-regexp-list): Recognize empty optional
+	  arguments and macros in optional arguments.
+
+        * tex.el (TeX-parse-argument): minor spelling correction.
+	(TeX-argument-insert): ditto
+
+1998-02-25  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* tex.el (TeX-match-extension): Fold case when matching
+	extensions. 
+
+1998-02-20  Per Abrahamsen  <abraham@dina.kvl.dk>
+
+	* Version 9.9a released.
 
 1998-02-20  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 1997-06-05  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* latex.el (LaTeX-auto-minimal-regexp-list): Added `usepackage'. 
- 	(LaTeX-auto-minimal-regexp-list): Ditto.
+	(LaTeX-auto-minimal-regexp-list): Ditto.
 	Patch by Carsten Dominik <dominik@strw.LeidenUniv.nl>.
 
 	* style/amsmath.el: New file.
 	* Makefile (STYLESRC): Add them.
 	Files provided by Milan Zamazal <pdm@fi.muni.cz>.
 
-1998-02-20  SL Baur  <steve@altair.xemacs.org>
-
-	* font-latex.el-0.509 (fixes an infloop).
-	From Peter S Galbraith <galbraith@mixing.qc.dfo.ca>
-
-1998-01-24  SL Baur  <steve@altair.xemacs.org>
-
-	* Makefile (VERSION): Update to package standard 1.0.
-	* package-info.in: Ditto.
-
-1998-01-17  SL Baur  <steve@altair.xemacs.org>
-
-	* Makefile (binkit): Create info directory if necessary.
-	From Charles G Waldman <cgw@pgt.com>
-
-1997-07-02  Steven L Baur  <steve@altair.xemacs.org>
-
-	* Makefile (autoloads): New targets to automatically rebuild
-	autoloads and custom-loads.
-
-1997-06-27  Steven L Baur  <steve@altair.xemacs.org>
-
-	* Makefile (CONTRIBELC): Remove hardcoded dependency on
-	tex-jp.el -- only bytecompile if running XEmacs/Mule.
-	- Add byte-compilation of custom-load.el.
-	
-Sat Apr  5 09:40:23 1997  Steven L Baur  <steve@altair.xemacs.org>
-
-	* Makefile (STYLESRC): Move style/*.el files to etc/auctex/style.
-
-	* tex.el (TeX-lisp-directory): Restore previous setting.
-
 1997-04-17  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* Version 9.7p released.
 
 1997-04-12  Per Abrahamsen  <abraham@dina.kvl.dk>
-	
+
 	* tex.el: Added customize information.
 	* tex-buf.el: Ditto.
 	* latex.el: Ditto.
-
+	
 1997-04-06  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* Version 9.7o released.
 
-Sun Apr  6 19:23:37 1997  Per Abrahamsen  <abraham@dina.kvl.dk>
+1997-04-06  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* latex.el (LaTeX-equation-label): New variable.
 	(LaTeX-eqnarray-label): New variable.
 	* Makefile (install-contrib): Don't move elc files twice.  Patch
 	by Helmut Geyer <Helmut.Geyer@IWR.Uni-Heidelberg.De>.
 
-Thu Mar 13 12:10:03 1997  Per Abrahamsen  <abraham@dina.kvl.dk>
+1997-03-13  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* style/danish.el: Copied from `style/dk.el'.
 	* Makefile (STYLESRC): Added `style/danish.el'.
 	Suggested by Lars Frellesen <frelle@math-tech.dk>.
 
-Tue Mar 04 11:29:23 1997  Per Abrahamsen  <abraham@dina.kvl.dk>
+1997-03-04  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* Version 9.7l released.
 
-Tue Mar  4 11:27:43 1997  Per Abrahamsen  <abraham@dina.kvl.dk>
+1997-03-04  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* Makefile (some): Don't use `style/*.elc'.
 
-Thu Feb 27 11:02:24 1997  Per Abrahamsen  <abraham@dina.kvl.dk>
+1997-02-27  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* tex.el (TeX-electric-macro): Default to space after dot.
 
-Wed Feb 26 23:15:27 1997  Per Abrahamsen  <abraham@dina.kvl.dk>
+1997-02-26  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* Version 9.7k released.
 
-Wed Feb 26 23:14:43 1997  Per Abrahamsen  <abraham@dina.kvl.dk>
+1997-02-26  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* tex.el (TeX-submit-bug-report): Fix address (sunsite, not iesd!).
 
-Tue Feb 25 17:36:11 1997  Per Abrahamsen  <abraham@dina.kvl.dk>
+1997-02-25  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* Version 9.7j released.
 
-Fri Feb 21 09:29:20 1997  Per Abrahamsen  <abraham@dina.kvl.dk>
+1997-02-21  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* Makefile (some): New target.  
 	Suggested by Steven L Baur <steve@miranova.com>.
 
-Thu Feb 20 11:30:50 1997  Per Abrahamsen  <abraham@dina.kvl.dk>
+1997-02-20  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* Version 9.7i released.
 
-Thu Feb 20 10:59:38 1997  Per Abrahamsen  <abraham@dina.kvl.dk>
+1997-02-20  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* tex.el: Removed autoloads that conflicts with `tex-mode.el'.
 	(TeX-lisp-directory): Default to data-directory.
 
-Thu Feb 20 11:30:50 1997  Per Abrahamsen  <abraham@dina.kvl.dk>
-
-	* Version 9.7i released.
-
-Thu Feb 20 10:59:38 1997  Per Abrahamsen  <abraham@dina.kvl.dk>
-
-	* tex.el: Removed autoloads that conflicts with `tex-mode.el'.
-	(TeX-lisp-directory): Default to data-directory.
-
-Sat Feb 15 18:00:48 1997  Per Abrahamsen  <abraham@dina.kvl.dk>
+1997-02-15  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* Version 9.7h released.
 
-Sat Feb 15 13:39:30 1997  Per Abrahamsen  <abraham@dina.kvl.dk>
+1997-02-15  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* tex-buf.el (TeX-lisp-directory): Removed.
 
-Fri Feb 07 14:58:29 1997  Per Abrahamsen  <abraham@dina.kvl.dk>
+1997-02-07  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* Version 9.7g released.
 
-Thu Feb  6 11:01:35 1997  Karl Eichwalder  <ke@ke.Central.DE>
+1997-02-06  Karl Eichwalder  <ke@ke.Central.DE>
 
 	* Makefile (install-lisp): Don't install $(aucdir)/lpath.el and
 	$(aucdir)/tex-site.el.
 	(contrib, install-contrib): New targets.
 	
-Thu Jan 30 06:59:57 1997  Per Abrahamsen  <abraham@dina.kvl.dk>
+1997-01-30  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* latex.el (LaTeX-math-default): uparow -> uparrow.  Reported by
 	Kyeong Soo Kim <kks@baekdu.rgit.wustl.edu>. 
 
-Wed Jan 29 04:57:42 1997  Per Abrahamsen  <abraham@dina.kvl.dk>
+1997-01-29  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* Makefile (AUCSRC): Removed `ltx-help.el'.
 
-Mon Jan 27 00:52:51 1997  Per Abrahamsen  <abraham@dina.kvl.dk>
+1997-01-27  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* Version 9.7f released.
 
-Mon Jan 27 00:40:35 1997  Per Abrahamsen  <abraham@dina.kvl.dk>
+1997-01-27  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* latex.el (LaTeX-label-function): New variable.
 	(LaTeX-label): New function.
 1996-07-15  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* tex.el (TeX-parse-path): Ignore tralining //.  Suggested by
-	Gran Uddeborg <Gran.Uddeborg@carmen.se>.
+	Gran Uddeborg <Gran.Uddeborg@carmen.se>.
 
 1996-05-05  Per Abrahamsen  <abraham@dina.kvl.dk>
 
 	* tex.el (TeX-auto-store): Change to functions that prevent the
 	auto file buffer from entering emacs-lisp-mode.
 	(TeX-auto-insert): Don't rely on emacs-lisp-mode for indentation.
-	Suggested by Stefan Schf (schoef@informatik.uni-oldenburg.de).
+	Suggested by Stefan Schf (schoef@informatik.uni-oldenburg.de).
 
 1994-11-11  Per Abrahamsen  <abraham@iesd.auc.dk>
 
 
 # remove the MULE_ELCS line for building without Mule.
 
-VERSION = 1.25
-AUTHOR_VERSION = 9.9p
+VERSION = 1.26
+AUTHOR_VERSION = 10.0g
 MAINTAINER = XEmacs Development Team <xemacs-beta@xemacs.org>
 PACKAGE = auctex
 PKG_TYPE = regular
 CATEGORY = standard
 
 ELCS = auc-old.elc bib-cite.elc font-latex.elc latex.elc \
-	multi-prompt.elc tex-buf.elc tex-info.elc tex.elc texmathp.elc
+	multi-prompt.elc tex-buf.elc tex-info.elc tex-mik.elc \
+	tex.elc texmathp.elc
 
 EXTRA_SOURCES = CHANGES PROBLEMS README tex-site.el
 
-ETC_ELCS = etc/amsart.elc etc/amsbook.elc etc/amstex.elc etc/article.elc \
-	etc/book.elc etc/danish.elc etc/slovak.elc etc/czech.elc \
-	etc/amsmath.elc etc/amstext.elc etc/amsbsy.elc etc/amsopn.elc \
-	etc/amsthm.elc etc/natbib.elc etc/dinbrief.elc etc/dk.elc \
-	etc/dutch.elc etc/epsf.elc etc/foils.elc etc/german.elc \
-	etc/harvard.elc etc/j-article.elc etc/j-book.elc etc/j-report.elc \
-	etc/jarticle.elc etc/jbook.elc etc/jreport.elc etc/latexinfo.elc \
-	etc/letter.elc etc/plfonts.elc etc/plhb.elc etc/psfig.elc \
-	etc/report.elc etc/slides.elc etc/swedish.elc etc/virtex.elc
+ETC_ELCS = etc/amsart.elc etc/amsbook.elc etc/amsbsy.elc etc/amsmath.elc \
+	etc/amsopn.elc etc/amstex.elc etc/amstext.elc etc/amsthm.elc \
+	etc/article.elc etc/book.elc etc/czech.elc etc/danish.elc \
+	etc/dinbrief.elc etc/dk.elc etc/dutch.elc etc/epsf.elc \
+	etc/fancyref.elc etc/foils.elc etc/german.elc etc/graphics.elc \
+	etc/graphicx.elc etc/harvard.elc etc/index.elc etc/j-article.elc \
+	etc/j-book.elc etc/j-report.elc etc/jarticle.elc etc/jbook.elc \
+	etc/jreport.elc etc/latexinfo.elc etc/letter.elc etc/makeidx.elc \
+	etc/mdwlist.elc etc/multind.elc etc/natbib.elc etc/ngerman.elc \
+	etc/plfonts.elc etc/plhb.elc etc/psfig.elc etc/report.elc \
+	etc/slides.elc etc/slovak.elc etc/swedish.elc etc/varioref.elc \
+	etc/virtex.elc
+
 
 EXTRA_OBJS = $(ETC_ELCS)
 
 # Makefile - for the AUC TeX distribution.
 #
-# Maintainer: Per Abrahamsen <auc-tex@sunsite.auc.dk>
-# Version: 9.9p
+# Maintainer: Per Abrahamsen <auc-tex@sunsite.dk>
+# Version: 10.0g
 #
 # Edit the makefile, type `make', and follow the instructions.
 
 WWWDIR = $(HOME)/.public_html/auctex
 #WWWDIR = /home/ftp/pub/Staff/Per.Abrahamsen/mirror/www/auctex
 
-REMOVE =  ltx-help.el
+REMOVE =  MSDOS VMS OS2 WIN-NT
 
 MINMAPSRC = auc-menu.el maniac.el outln-18.el all.el multi-prompt.el
 
 CONTRIBELC = bib-cite.elc font-latex.elc
 
 AUCSRC = auc-old.el tex.el tex-buf.el latex.el tex-info.el \
-	texmathp.el multi-prompt.el
+	texmathp.el multi-prompt.el tex-mik.el
 AUCELC = auc-old.elc tex.elc tex-buf.elc latex.elc tex-info.elc \
-	texmathp.elc multi-prompt.elc
+	texmathp.elc multi-prompt.elc tex-mik.elc
 
 
 STYLESRC = style/slides.el    style/foils.el    style/amstex.el \
 	   style/plhb.el      style/harvard.el	style/swedish.el \
 	   style/danish.el    style/slovak.el   style/czech.el \
 	   style/amsmath.el   style/amstext.el  style/amsbsy.el \
-	   style/amsopn.el    style/amsthm.el	style/natbib.el
+	   style/amsopn.el    style/amsthm.el	style/natbib.el \
+	   style/index.el     style/makeidx.el  style/multind.el \
+	   style/varioref.el  style/fancyref.el	style/mdwlist.el \
+	   style/ngerman.el   style/graphicx.el	style/graphics.el
 
 DOCFILES = doc/Makefile doc/auc-tex.texi doc/intro.texi doc/install.texi \
 	doc/changes.texi doc/tex-ref.tex doc/math-ref.tex doc/history.texi
 
-EXTRAFILES = COPYING PROBLEMS MSDOS VMS OS2 WIN-NT Makefile ChangeLog \
+EXTRAFILES = COPYING PROBLEMS IRIX Makefile ChangeLog \
 	lpath.el tex-site.el $(CONTRIB)
 
 all:	lisp
 	    $(MV) style/*.elc $(aucdir)/style ; \
 	    $(CP) $(AUCSRC) $(aucdir) ; \
 	    $(CP) style/*.el $(aucdir)/style ; \
+	    touch $(aucdir)/style/.nosearch ; \
+	    if [ ! -d $(aucdir)/auto ]; then mkdir $(aucdir)/auto; \
+	                                else true; fi ; \
+	    touch $(aucdir)/auto/.nosearch ; \
 	else \
 	    echo "Leaving compiled files in place."; \
 	fi
 	echo "	* Version" $(TAG) released. >> ChangeLog
 	echo >> ChangeLog
 	cat ChangeLog.old >> ChangeLog
-	cvs commit -m "Release $(OLD)++" tex.el
+	auc commit -m 'Release_$(OLD)++' tex.el
 	rm -f tex.el.orig
 	mv tex.el tex.el.orig
 	sed -e '/defconst AUC-TeX-date/s/"[^"]*"/"'"`date`"'"/' \
 	    -e '/defconst AUC-TeX-version/s/"[^"]*"/"'$(TAG)'"/' \
 	    < tex.el.orig > tex.el
 	rm -f $(REMOVE) 
-	-cvs remove $(REMOVE) 
-	-cvs add $(AUCSRC) $(EXTRAFILES)
-	-(cd doc; cvs add `echo $(DOCFILES) | sed -e s@doc/@@g` )
-	-(cd style; cvs add `echo $(STYLESRC) | sed -e s@style/@@g` )
-	cvs commit -m "Release $(TAG)"
-	cvs tag release_`echo $(TAG) | sed -e 's/[.]/_/g'`
+	-auc remove $(REMOVE) 
+	-auc add $(AUCSRC) $(EXTRAFILES)
+	-(cd doc; auc add `echo $(DOCFILES) | sed -e s@doc/@@g` )
+	-(cd style; auc add `echo $(STYLESRC) | sed -e s@style/@@g` )
+	auc commit -m 'Release_$(TAG)'
+	auc tag release_`echo $(TAG) | sed -e 's/[.]/_/g'`
 	mkdir auctex-$(TAG) 
 	mkdir auctex-$(TAG)/style
 	mkdir auctex-$(TAG)/doc 
 	cp $(AUCSRC) $(EXTRAFILES) auctex-$(TAG)
 	cp $(STYLESRC) auctex-$(TAG)/style
+	touch auctex-$(TAG)/style/.nosearch
 	cp $(DOCFILES)  auctex-$(TAG)/doc
 	(cd doc; $(MAKE) dist; cp auctex auctex-* ../auctex-$(TAG)/doc )
 	(cd doc; cp INSTALLATION README CHANGES ../auctex-$(TAG)/ )
 	cp ChangeLog $(FTPDIR)
 	cp doc/*.html $(WWWDIR)/doc
 	rm -f $(FTPDIR)/auctex-$(TAG).tar.gz $(FTPDIR)/auctex.tar.gz
-	rm -f $(FTPDIR)/auctex.tar.Z $(FTPDIR)/auctex.zip
+	rm -f $(FTPDIR)/auctex.zip
 	tar -cf - auctex-$(TAG) | gzip --best > $(FTPDIR)/auctex-$(TAG).tar.gz
-	tar -cf - auctex-$(TAG) | compress > $(FTPDIR)/auctex.tar.Z
-	zip -r $(FTPDIR)/auctex auctex-$(TAG)
+	-zip -r $(FTPDIR)/auctex auctex-$(TAG)
 	(cd $(FTPDIR); ln -s auctex-$(TAG).tar.gz auctex.tar.gz)
-	cvs rdiff -r release_`echo $(OLD) | sed -e 's/[.]/_/g'` \
-	          -r release_`echo $(TAG) | sed -e 's/[.]/_/g'` auctex \
+	auc diff -r release_`echo $(OLD) | sed -e 's/[.]/_/g'` \
+	         -r release_`echo $(TAG) | sed -e 's/[.]/_/g'` auctex \
 		> $(FTPDIR)/auctex-$(OLD)-to-$(TAG).patch ;  exit 0
+#	auc rdiff -r release_`echo $(OLD) | sed -e 's/[.]/_/g'` \
+#	          -r release_`echo $(TAG) | sed -e 's/[.]/_/g'` auctex \
+#		> $(FTPDIR)/auctex-$(OLD)-to-$(TAG).patch ;  exit 0
 
 patch:
-	cvs rdiff -r release_`echo $(OLD) | sed -e 's/[.]/_/g'` \
-	          -r release_`echo $(TAG) | sed -e 's/[.]/_/g'` auctex
+	auc diff -r release_`echo $(OLD) | sed -e 's/[.]/_/g'` \
+	         -r release_`echo $(TAG) | sed -e 's/[.]/_/g'` auctex
 
 min-map:
-	-cvs add $(MINMAPSRC) 
-	cvs commit -m "Update"
+	-auc add $(MINMAPSRC) 
+	auc commit -m "Update"
 	cp $(MINMAPSRC) doc/math-ref.tex $(FTPDIR) 
-* Your Emacs is missing easymenu.el.
+* -*- outline -*- 
 
-Please upgrade.
+* You are using Emacs 18 or 19, or XEmacs 19.
 
-If that is absolutely impossible, you can try installing 
+Upgrade.  AUC TeX requires at least Emacs 20 or XEmacs 20.
 
-	<URL:ftp://sunsite.auc.dk/packages/auctex/auc-menu.el>
+* You are using Win32.
 
-under the name easymenu.el at some place where emacs can find it.  
-The best place is in the standard Emacs lisp directory, because that
-will automatically be removed when you upgrade.
-
-* Missing menus or menus containing just the word "Bug".
-
-You probably have an old version of easymenu.el or auc-menu.el.  Find
-it, delete it, and recompile AUC TeX.  If you are using an old Emacs,
-the easymenu.el may have been distributed with it.  In that case, see
-the previous point.
-
-* You are not using UNIX or can't figure out how to install.
-
-0. Delete any old version you have.
-
-1. Edit tex-site.el.  Read the comments in the file.
-
-2. Add (load-file "<Path to AUC TeX>/tex-site.el") to your .emacs file.
-
-If you start a fresh emacs, AUC TeX should be loaded now.  
-The two next steps are optional:
-
-3. Byte compile the files with "M-x byte-compile-file" for speed.
-
-4. Do a `M-x TeX-auto-generate-global' to get full macro completion.
-
-Look also for files with names like MSDOS, OS2, or VMS that might be
-applicable for your system.
-
-* You get errors during byte compilation.
-
-This often indicates a type in your customizations.  If you have
-modified `tex-site.el', try to enter that file from Emacs and type
-`M-x eval-current-buffer RET' to find the error.
-
-This is can also be because some old version of AUC TeX gets loaded
-during the compilation.  Make sure to remove all old versions, and try
-again.  The Emacs 19 byte-compiler will give warning about free
-variables and unknown functions.  Ignore them.
-
-tex-jp.el will fail unless you have an emacs that understands japanese. 
-
-NEmacs-3.3.2 cannot `make install-auto', use `M-x TeX-auto-generate-global'
-instead.
-
-Mule-1.0-KIRITSUBO fails to parse some of the style files.
-
-* You are using NeXT Emacs.
-
-NeXT Emacs is broken, a workaround is available by ftp:
-
-host: sunsite.auc.dk
-file: /packages/auctex/get-proc-env.el.z (gzip'ed)
-
-* You are mixing Emacs 18, FSF Emacs 19, and Lucid Emacs 19.
-
-Make sure to use the correct byte-compiled files for each version.
-You may want to disable the automatic byte compilation by setting 
-
-        (setq TeX-byte-compile nil)
-
-in your .emacs file.
+See <URL: http://www.math.auc.dk/~dethlef/Tips/>.
 
 * None if this completion or multifile stuff works...
 
 information about a file, so you should use unique base names for your
 files.  E.g. rename `foo.bib' to `foob.bib'.
 
-* (La)TeX Interactive does not work.
-
-You need comint.el on Emacs 18.  Look at your favorite elisp archive.
-
 * TeX-save-document does not work.
 
 Make sure TeX-check-path contains "./" somewhere.
 
 GNU ispell 4.0 does not understand TeX.  Upgrade to International
 Ispell 3.1 which works much better on TeX documents.
-
-
-% Local Variables: 
-% mode: outline-minor
-% End: 
 ;;; auc-old.el - Compatibility with AUC TeX 6.*
 ;;
-;; Maintainer: Per Abrahamsen <auc-tex@sunsite.auc.dk>
-;; Version: 9.9p
+;; Maintainer: Per Abrahamsen <auc-tex@sunsite.dk>
+;; Version: 10.0g
 ;;
 ;; Copyright (C) 1991 Kresten Krab Thorup 
 ;; Copyright (C) 1993 Per Abrahamsen 
 ;; Copyright (C) 1994, 1995, 1996, 1997 Peter S. Galbraith
  
 ;; Author:    Peter S. Galbraith <GalbraithP@dfo-mpo.gc.ca>
+;;                               <psg@debian.org>
 ;; Created:   06 July 1994
-;; Version:   3.12 (10 Dec 98)
+;; Version:   3.16 (20 Dec 99)
 ;; Keywords:  bibtex, cite, auctex, emacs, xemacs
 
 ;; RCS $Id$
 ;; Note: RCS version number does not correspond to release number.
 
-;; Everyone is granted permission to copy, modify and redistribute this
-;; file provided:
-;;   1. All copies contain this copyright notice.
-;;   2. All modified copies shall carry a prominant notice stating who
-;;      made modifications and the date of such modifications.
-;;   3. The name of the modified file be changed.
-;;   4. No charge is made for this software or works derived from it.
-;;      This clause shall not be construed as constraining other software
-;;      distributed on the same medium as this software, nor is a
-;;      distribution fee considered a charge.
+;;; This file is not part of GNU Emacs.
+
+;; This package is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 2, or (at your option)
+;; any later version.
+
+;; This package is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs; see the file COPYING.  If not, write to the
+;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+;; Boston, MA 02111-1307, USA.
 
 ;; LCD Archive Entry:
 ;; bib-cite|Peter Galbraith|GalbraithP@dfo-mpo.gc.ca|
 
 ;; AUC-TEX USERS: 
 ;;  auc-tex is a super-charged LaTeX mode for emacs. Get it at:
-;;    ftp://ftp.iesd.auc.dk/pub/emacs-lisp/auctex.tar.gz       <-stable release
+;;    ftp://sunsite.auc.dk/packages/auctex/auctex.tar.gz       <-stable release
 ;;    ftp://ftp.dina.kvl.dk/pub/Staff/Per.Abrahamsen/auctex/   <-alpha release
 ;;
 ;;  WWW users may want to check out the AUC TeX page at
-;;    http://www.iesd.auc.dk/~amanda/auctex/
+;;    http://sunsite.auc.dk/auctex/
 ;;
 ;;  bib-cite.el is included in the auc-tex distribution.  Therefore, if
 ;;  you use auc-tex, you probably have an old version of bib-cite.el in
 
 ;; reftex users:
 ;;  reftex is a package with similar functions to bib-cite.
-;;    ftp://strw.leidenuniv.nl/pub/dominik/reftex.el
+;;    http://strw.leidenuniv.nl/~dominik/Tools/
+;;  RefTeX is bundled and preinstalled with Emacs since version 20.2. 
+;;  It was also bundled with XEmacs 19.16--20.x. 
+;;
 ;;  I suggest that you use reftex to help you type-in text as it's functions
 ;;  are better suited to this task than bib-cite, and use bib-cite's features
 ;;  when you proof-read the text.
 ;;
 ;;    For multi-file documents, you must be using auctex (so that bib-cite can
 ;;    find the master file) and all \input and \include commands must be first
-;;    on a line (not preceded by any non-white text).
+;;    on a line (not preceeded by any non-white text).
 ;;
 ;;  imenu support  (Suggested key binding: Shift-Mouse-3)  
 ;;
+;;    The imenu facility (distributed with emacs) is supported by bib-cite
+;;    to move point to a LaTeX section (or chapter) or to a label
+;;    declaration.  When editing a multi-file document, all such
+;;    declarations within the document are displayed in the menu (again
+;;    using a TAGS file).  If you do not want to load imenu.el and use
+;;    these features, set bib-use-imenu to nil. (This feature is disabled
+;;    in xemacs because I'm told it doesn't have imenu).
+;;
 ;;    If you want to bind imenu globally to Shift-Mouse-3, do so by adding the
 ;;    following to your ~/.emacs
 ;;
 ;;      or in a hook such as:
 ;;
 ;;    (add-hook 'LaTeX-mode-hook '(lambda () (imenu-add-to-menubar "Imenu"))) 
-;; 
-;;    The imenu facility (distributed with emacs) is supported by bib-cite to
-;;    move point to a LaTeX section (or chapter) division or to a label
-;;    declaration.  When editing a multi-file document, all such declarations
-;;    within the document are displayed in the menu (again using a TAGS file).
-;;    If you do not want to load imenu.el and use these features, set
-;;    bib-use-imenu to nil. (This feature is disabled in xemacs because I'm
-;;    told it doesn't have imenu).
+;;
+;;    Recent versions of Emacs also have a more direct method for adding an
+;;    imenu index to the menubar:
+;;
+;;     M-x imenu-add-menubar-index RET
+;;
+;;      or in a hook such as:
+;;
+;;    (add-hook 'LaTeX-mode-hook 'imenu-add-menubar-index)
 ;;
 ;;  bib-make-bibliography:     Bound to `\C-c b m'
 ;;
 ;;  variant "etags -o ", but users have reported differently.  So while the
 ;;  unix notation is used here, you can reset it if you need to like so:
 ;;
-;;    (setq bib-etags-command        "etags  /r='/.*\\eqref.*/' /o=")
-;;    (setq bib-etags-append-command "etags  /r='/.*\\eqref.*/' /a /o=")
+;;    (setq bib-etags-command  "etags  /r='/.*\\\(eq\|page\)ref.*/' /o=")
+;;    (setq bib-etags-append-command 
+;;                             "etags  /r='/.*\\\(eq\|page\)ref.*/' /a /o=")
 ;;  ---
 ;;  For multi-file documents, a TAGS file is generated by etags.  
 ;;  By default, its name is TAGS.  You can change this like so:
 ;; If you find circumstances in which this package fails, please let me know.
 
 ;; Things for me to do in later versions:
+;; - treat @Strings correctly, not just in isolation.
+;; - use  `kpsewhich -expand-path='$BIBINPUTS'`  instead of BIBINPUTS.
 ;; - jmv@di.uminho.pt (Jose Manuel Valenca) wants:
-;; - prompt for \cite as well as \label and \ref 
-;;   (and use auctex's completion list)
-;; - implement string concatenation, with #[ \t\n]*STRING_NAME
-;; - Create new command to substitute @string text in any bibtex buffer.
-
+;;   - prompt for \cite as well as \label and \ref 
+;;     (and use auctex's completion list)
+;;   - implement string concatenation, with #[ \t\n]*STRING_NAME
+;;   - Create new command to substitute @string text in any bibtex buffer.
 ;; ----------------------------------------------------------------------------
 ;;; Change log:
+;; V3.16 Dec 20 99 - (RCS V1.37)
+;;  - Added customize support.
+;; V3.15 Dec 20 99 - (RCS V1.36)
+;;  - Removed stupid debugging code that I had left in.
+;; V3.14 Dec 20 99 - 
+;;  - New variable bib-ref-regexp for \ref regexp to match \label constructs
+;;    and added \pageref. (RCS V1.34)
+;;  - Edited bib-etags-command snd bib-etags-append-command to match.
+;; V3.13 Dec 20 99 - (RCS V1.32)
+;;  - License changed to GPL.
+;;  - Kai Engelhardt <ke@socs.uts.edu.au> bib-master-file takes .ltx extension
+;;  - imenu--create-LaTeX-index-for-document and bib-document-TeX-files
+;;    edited to accept .ltx extension.
+;;  - Michael Steiner <steiner@cs.uni-sb.de> added journals to @string
+;;    abbrevs and contributed `member-cis' to complaces @strings in a
+;;    case-insensitive manner.
 ;; V3.12 Dec 10 98 - Bruce Ravel <bruce.ravel@nist.gov> (RCS V1.30)
 ;;    Fixed bib-label-help. 
 ;; V3.11 Oct 06 98 - PSG (RCS V1.29) 
 ;;   - add bib-dos-or-os2-variable to set environment variable path separator
 ;;   - Add key-defs for any tex-mode and auc-tex menu-bar entries. 
 ;;       [in auc-tec TeX-mode-map is common to both TeX and LaTeX at startup
-;;        (but TeX-mode-map is only copied to LaTeX-mode-map at initialization)
+;;        (but TeX-mode-map is only copied to LaTeX-mode-map at initilisation)
 ;;        in plain emacs, use tex-mode-map for both TeX and LaTeX.]
 ;;   - Add key def for bibtex-mode to create auc-tex's parsing file.
 ;;   - Fix bugs found by <thompson@loon.econ.wisc.edu>
 ;;     - fix bib-get-citation for options 
-;;     - fix bib-get-citation for commas preceded citation command
+;;     - fix bib-get-citation for commas preceeded citation command
 ;;     - better regexp for citations and their keys.
 ;;     - Added @string support for any entry (not just journal entries).
 ;;       (I had to disallow numbers in @string keys because of years.  
 
 ;;>>>>>>User-Modifiable variables start here:
 
-(defvar bib-cite-use-reftex-view-crossref nil
-  "*Non-nil means, RefTeX will be used to find cross references.
+(cond
+ ((not (fboundp 'defcustom))
+  (defvar bib-cite-use-reftex-view-crossref nil
+    "*Non-nil means, RefTeX will be used to find cross references.
 When this variable is non-nil, both `bib-find' and `bib-display' will
 call a function in RefTeX do find or display the cross reference of a
 \\ref or \\cite macro at point.")
 
-(defvar bib-novice t
-  "*Give advice to novice users about what commands to use next.")
-
-(defvar bib-use-imenu (not (string-match "XEmacs\\|Lucid" emacs-version))
-  "*Use imenu package for LaTeX modes (coded in bib-cite).")
-
-(defvar bib-hilit-if-available t
-  "*Use hilit19 or hl319 to hilit bib-display if available")
-
-(defvar bib-switch-to-buffer-function 'switch-to-buffer
-  "*Function used to select buffers if they differ from the original.
+  (defvar bib-novice t
+    "*Give advice to novice users about what commands to use next.")
+  
+  (defvar bib-use-imenu (not (string-match "XEmacs\\|Lucid" emacs-version))
+    "*Use imenu package for LaTeX modes (coded in bib-cite).")
+  
+  (defvar bib-hilit-if-available t
+    "*Use hilit19 or hl319 to hilit bib-display if available")
+  
+  (defvar bib-switch-to-buffer-function 'switch-to-buffer
+    "*Function used to select buffers if they differ from the original.
 You may use `switch-to-buffer' `switch-to-buffer-other-window' or
 `switch-to-buffer-other-frame'.")
-
-(defvar bib-highlight-mouse-t t
-  "*Call bib-highlight-mouse from LaTeX-mode-hook to add green highlight.")
-
-(defvar bib-label-help-echo-format "button2 finds %s, button3 displays %s"
-  "*Format string for info if the mouse is over LaTeX commands.
+  
+  (defvar bib-highlight-mouse-t t
+    "*Call bib-highlight-mouse from LaTeX-mode-hook to add green highlight.")
+  
+  (defvar bib-label-help-echo-format "button2 finds %s, button3 displays %s"
+    "*Format string for info if the mouse is over LaTeX commands.
 If nil, do not display info.")
-
-(defvar bib-bibtex-env-variable "BIBINPUTS"
-  "*Environment variable setting the path where BiBTeX input files are found.
+  
+  (defvar bib-bibtex-env-variable "BIBINPUTS"
+    "*Environment variable setting the path where BiBTeX input files are found.
 BiBTeX 0.99b manual says this should be TEXBIB.
 Another version says it should BSTINPUTS.  I don't know anymore!
 
 The colon character (:) is the default path separator in unix, but you may
 use semi-colon (;) for DOS or OS/2 if you set bib-dos-or-os2-variable to `t'.")
 
-(defvar bib-dos-or-os2-variable (or (equal 'emx system-type)
-                                    (equal 'ms-dos system-type))
+  (defvar bib-dos-or-os2-variable (or (equal 'emx system-type)
+                                      (equal 'ms-dos system-type))
 ;; Under OS/2 system-type equals emx
 ;; Under DOS  system-type equals ms-dos
-  "*`t' if you use DOS or OS/2 for bib-make-bibliography/bib-display
+    "*`t' if you use DOS or OS/2 for bib-make-bibliography/bib-display
 
 It tells bib-make-bibliography and bib-display to translate
 the BIBINPUTS environment variable using the \";\" character as
 (You can change the environment variable which is searched by setting the 
 elisp variable bib-bibtex-env-variable)")
 
-(defvar bib-etags-command "etags -r '/.*\\eqref.*/' -o "
-  "*Variable for the etags command and its output option.
-In unix, this is usually \"etags -r '/.*\\eqref.*/' -o \" 
+  (defvar bib-etags-command "etags -r '/.*\\\\\\(eq\\|page\\)ref.*/' -o "
+    "*Variable for the etags command and its output option.
+In unix, this is usually \"etags -r '/.*\\\(eq\|page\)ref.*/' -o \" 
 (we use the -r option to tell etags to list AMS-LaTeX's \\eqref command.)
 In DOS and OS/2, this *may* be different, e.g. using slashes like \"etags /o=\"
 If so, set it this variable.")
 
-(defvar bib-etags-append-command 
-  "etags -r '/.*\\eqref.*/' -a -o "
-  "*Variable for the etags command and its append and output option.
-In unix, this is usually \"etags -r '/.*\\eqref.*/' -a -o \"
+  (defvar bib-etags-append-command 
+    "etags -r '/.*\\\\\\(eq\\|page\\)ref.*/' -a -o "
+    "*Variable for the etags command and its append and output option.
+In unix, this is usually \"etags -r '/.*\\\(eq\|page\)ref.*/' -a -o \"
 In DOS and OS/2, this *may* be \"etags /a /o=\"  If so, set it this variable.")
 
-(defvar bib-etags-filename "TAGS"
-   "*Variable for the filename generated by etags, by defaults this TAGS
+  (defvar bib-etags-filename "TAGS"
+    "*Variable for the filename generated by etags, by defaults this TAGS
 but you may want to change this to something like TAGSLaTeX such that it can
 coexist with some other tags file in your master file directory.")
 
-(defvar bib-substitute-string-in-display t
-  "*Determines if bib-display will substitute @string definitions.
+  (defvar bib-ref-regexp "\\\\\\(eq\\|page\\)?ref"
+    "*Regular expression for \\ref LaTeX commands that have a matching \\label
+without the curly bracket.
+
+If you change this variable and you use multi-file documents, make sure you
+also edit the variables bib-etags-command and bib-etags-append-command.")
+
+  (defvar bib-substitute-string-in-display t
+    "*Determines if bib-display will substitute @string definitions.
 If t, then the @string text is substituted.
 If nil, the text is not substituted but the @string entry is included.")
 
-(defvar bib-string-ignored-warning 
+;;Following list of @string abbreviations harvested from:
+;;$ grep -h MACRO /usr/share/texmf/bibtex/bst/*/*.bst | sort | awk '{print $2}' | uniq | sed -e 's/{//;s/}//'
+  (defvar bib-string-ignored-warning 
+    '("jan" "feb" "mar" "apr" "may" "jun" "jul" "aug" "sep" "sept" "oct" "nov" 
+      "dec" "acmcs" "acta" "cacm" "ibmjrd" "ibmjs" "ieeese" "ieeetcad"
+      "ieeetc" "ipl" "jacm" "jcss" "scp" "sicomp" "tcs" "tocs" "tods" "tog"
+      "toms" "toois" "toplas" )
+   "*List of @string abbreviations for which a warning is given if not defined.
+These are usually month abbreviations (or journals) defined in a style file."))
+(t
+  (defgroup bib-cite nil
+    "bib-cite, LaTeX minor-mode to display \\cite, \\ref and \\label commands."
+    :group 'tex)
+
+  (defcustom bib-cite-use-reftex-view-crossref nil
+    "*Non-nil means, RefTeX will be used to find cross references.
+When this variable is non-nil, both `bib-find' and `bib-display' will
+call a function in RefTeX do find or display the cross reference of a
+\\ref or \\cite macro at point."
+    :group 'bib-cite
+    :type 'boolean)
+
+  (defcustom bib-novice t
+    "*Give advice to novice users about what commands to use next."
+    :group 'bib-cite
+    :type 'boolean)
+
+  (defcustom bib-use-imenu (not (string-match "XEmacs\\|Lucid" emacs-version))
+    "*Use imenu package for LaTeX modes (coded in bib-cite)."
+    :group 'bib-cite
+    :type 'boolean)
+
+  (defvar bib-hilit-if-available t
+    "*Use hilit19 or hl319 to hilit bib-display if available")
+
+  (defcustom bib-switch-to-buffer-function 'switch-to-buffer
+    "*Function used to select buffers if they differ from the original.
+You may use `switch-to-buffer' `switch-to-buffer-other-window' or
+`switch-to-buffer-other-frame'."
+    :group 'bib-cite
+    :type '(choice (function-item switch-to-buffer)
+                   (function-item switch-to-buffer-other-window)
+                   (function-item switch-to-buffer-other-frame)))
+
+  (defcustom bib-highlight-mouse-t t
+    "*Call bib-highlight-mouse from LaTeX-mode-hook to add green highlight."
+    :group 'bib-cite
+    :type 'boolean)
+
+  (defcustom bib-label-help-echo-format "button2 finds %s, button3 displays %s"
+    "*Format string for info if the mouse is over LaTeX commands.
+If nil, do not display info." 
+    :group 'bib-cite
+    :type 'string)
+
+  (defcustom bib-bibtex-env-variable "BIBINPUTS"
+    "*Environment variable setting the path where BiBTeX input files are found.
+BiBTeX 0.99b manual says this should be TEXBIB.
+Another version says it should BSTINPUTS.  I don't know anymore!
+
+The colon character (:) is the default path separator in unix, but you may
+use semi-colon (;) for DOS or OS/2 if you set bib-dos-or-os2-variable to `t'."
+    :group 'bib-cite
+    :type 'string)
+
+  (defcustom bib-dos-or-os2-variable (or (equal 'emx system-type)
+                                         (equal 'ms-dos system-type))
+    ;; Under OS/2 system-type equals emx
+    ;; Under DOS  system-type equals ms-dos
+    "*`t' if you use DOS or OS/2 for bib-make-bibliography/bib-display
+
+It tells bib-make-bibliography and bib-display to translate
+the BIBINPUTS environment variable using the \";\" character as
+a path separator and to translate DOS' backslash to slash.
+  
+e.g. Use a path like \"c:\\emtex\\bibinput;c:\\latex\\bibinput\"
+
+(You can change the environment variable which is searched by setting the 
+elisp variable bib-bibtex-env-variable)"
+    :group 'bib-cite
+    :type 'boolean)
+
+  (defcustom bib-etags-command "etags -r '/.*\\\\\\(eq\\|page\\)ref.*/' -o "
+  "*Variable for the etags command and its output option.
+In unix, this is usually \"etags -r '/.*\\\(eq\|page\)ref.*/' -o \" 
+(we use the -r option to tell etags to list AMS-LaTeX's \\eqref command.)
+In DOS and OS/2, this *may* be different, e.g. using slashes like \"etags /o=\"
+If so, set it this variable."
+    :group 'bib-cite
+    :type 'string)
+
+  (defcustom bib-etags-append-command "etags -r '/.*\\\\\\(eq\\|page\\)ref.*/' -a -o "
+  "*Variable for the etags command and its append and output option.
+In unix, this is usually \"etags -r '/.*\\\(eq\|page\)ref.*/' -a -o \"
+In DOS and OS/2, this *may* be \"etags /a /o=\"  If so, set it this variable."
+    :group 'bib-cite
+    :type 'string)
+
+  (defcustom bib-etags-filename "TAGS"
+   "*Variable for the filename generated by etags, by defaults this TAGS
+but you may want to change this to something like TAGSLaTeX such that it can
+coexist with some other tags file in your master file directory."
+    :group 'bib-cite
+    :type 'string)
+
+  (defcustom bib-ref-regexp "\\\\\\(eq\\|page\\)?ref"
+  "*Regular expression for \\ref LaTeX commands that have a matching \\label
+without the curly bracket.
+
+If you change this variable and you use multi-file documents, make sure you
+also edit the variables bib-etags-command and bib-etags-append-command."
+    :group 'bib-cite
+    :type 'regexp)
+
+  (defcustom bib-substitute-string-in-display t
+  "*Determines if bib-display will substitute @string definitions.
+If t, then the @string text is substituted.
+If nil, the text is not substituted but the @string entry is included."
+    :group 'bib-cite
+    :type 'boolean)
+
+  (defvar bib-string-ignored-warning 
   '("jan" "feb" "mar" "apr" "may" "jun" "jul" "aug" "sep" "sept" "oct" "nov" 
-   "dec")
+    "dec" "acmcs" "acta" "cacm" "ibmjrd" "ibmjs" "ieeese" "ieeetcad"
+    "ieeetc" "ipl" "jacm" "jcss" "scp" "sicomp" "tcs" "tocs" "tods" "tog"
+    "toms" "toois" "toplas" )
   "*List of @string abbreviations for which a warning is given if not defined.
-These are usually month abbreviations (or journals) defined in a style file.")
-
+These are usually month abbreviations (or journals) defined in a style file.")))
 ;;<<<<<<User-Modifiable variables end here.
 
+(defvar bib-ref-regexpc (concat bib-ref-regexp "{")
+  "*Regular expression for \\ref LaTeX commands that have a matching \\label
+with the curly bracket.")
 
 (defvar bib-cite-is-XEmacs
   (not (null (save-match-data (string-match "XEmacs\\|Lucid" emacs-version)))))
     (save-excursion
       (if (not (looking-at "\\\\"))
           (search-backward "\\" nil t))
-      (if (looking-at "\\\\\\(eq\\)?ref{")
+      (if (looking-at bib-ref-regexpc)
           (setq ref t)
         (if (looking-at "\\\\label{")
             (setq label t)              
     (save-excursion
       (if (not (looking-at "\\\\"))
           (search-backward "\\" nil t))
-      (if (looking-at "\\\\\\(eq\\)?ref{") 
+      (if (looking-at bib-ref-regexpc)
           (setq ref t)
         (if (looking-at "\\\\label{")
             (setq label t)              
         (find-tag t t t))
     (if bib-cite-search-ring
         ;;FIXME: Should first make sure I move off initial \ref{}.
-        (let ((regexp (concat "\\\\\\(eq\\)?ref{" bib-cite-search-ring "}")))
+        (let ((regexp (concat bib-ref-regexpc bib-cite-search-ring "}")))
           (if prev-p
               (if (not (re-search-backward regexp nil t))
                   (message "No previous occurrence of reference %s" 
       (goto-char (point-min))
       (while 
           (re-search-forward 
-           "\\\\\\(\\(eq\\)?ref\\|label\\|[A-Za-z]*cite[A-Za-z]*\\(\\[.*\\]\\)?\\){[^}]*}"
+           (concat 
+            "\\\\\\(" (substring bib-ref-regexp 2) 
+            "\\|label\\|[A-Za-z]*cite[A-Za-z]*\\(\\[.*\\]\\)?\\){[^}]*}")
            nil t)
         (setq s (match-beginning 0))
         (setq e (match-end 0))
   (save-match-data
     (let* ((string (extent-string object))
 	   (type (cond ((string-match "^\\\\[A-Za-z]*cite[A-Za-z]*" string) "citation")
-		       ((string-match "^\\\\\\(eq\\)?ref" string) "\\label{}")
+		       ((string-match 
+                         (concat "^" bib-ref-regexp) string) "\\label{}")
 		       ((string-match "^\\\\label" string) "\\ref{}")
 		       (t "this (unknown) reference"))))
       (format format type type))))
                                  (save-excursion (beginning-of-line)(point)) 
                                  t))
     (cond
-     ((looking-at "\\\\\\(eq\\)?ref{")   ;On \ref, looking for matching \label
+     ((looking-at bib-ref-regexpc)   ;On \ref, looking for matching \label
       (let ((b (progn (search-forward "{" nil t)(forward-char -1)(point)))
             (e (progn (forward-sexp 1)(point))))
         (concat "\\\\label" (regexp-quote (buffer-substring b e)))))
      ((looking-at "\\\\label{")         ;On \label, looking for matching \ref
       (let ((b (progn (search-forward "{" nil t)(forward-char -1)(point)))
             (e (progn (forward-sexp 1)(point))))
-        (concat "\\\\\\(eq\\)?ref" (regexp-quote (buffer-substring b e)))))
+        (concat  bib-ref-regexp (regexp-quote (buffer-substring b e)))))
      (t                                 ;Prompt the user
       (let* ((minibuffer-local-completion-map bib-label-prompt-map)
 	     (the-alist (create-alist-from-list 
             (setq the-name (completing-read "Ref: " the-alist nil nil nil 
                                             'LaTeX-find-label-hist-alist)))
           (if (not (equal the-name ""))
-              (concat "\\\\\\(eq\\)?ref{" (regexp-quote the-name) "}")
+              (concat bib-ref-regexpc (regexp-quote the-name) "}")
             nil)))))))
 
 (defun bib-display-this-ref ()
       ;; Just find the section declaration
       (goto-char the-point)
       (if (re-search-backward
-           "\\(^\\|\^M\\)[ \t]*\\\\\\(sub\\)*section{\\([^}]*\\)}" nil t)
+;;;        "\\(^\\|\^M\\)[ \t]*\\\\\\(sub\\)*section{\\([^}]*\\)}" nil t)
+;;; Michael Steiner <steiner@cs.uni-sb.de> patch
+           "\\(^\\|\^M\\)[ \t]*\\\\\\(\\(sub\\)*section\\|chapter\\|part\\)\\*?\
+{\\([^}]*\\)}" 
+           nil t)
           (message (buffer-substring (match-beginning 0)(match-end 0)))
         (error 
          "Sorry, could not find an environment or section declaration")))))
                                                          nil t))
                                     "\n"))))
                 ;; @string entry not found
-                (if (not (member (symbol-name string-key) 
+                (if (not (member-cis (symbol-name string-key) 
                                  bib-string-ignored-warning))
                     (setq the-warnings 
                           (concat the-warnings 
     ;; Return the warnings...
     the-warnings))
 
+;;; Following contributed by Michael Steiner <steiner@cs.uni-sb.de> The
+;;  @string abbreviation are not case-sensitive, so we replaced the `member' 
+;;  test above with `member-cis' defined here:
+(defun member-cis (ELT LIST)
+  "Return non-nil if ELT is an element of LIST. All elements should be strings.
+Comparison is case-insensitive."	
+  ;; If list is exhausted,
+  (if (null LIST)
+      nil ;; if null then we haven't found the element ...
+    ;; else split list and ...
+    (let((listelt (car LIST))(listrest (cdr LIST)))
+      ;; see if car is equal to ELT
+      (if (string-equal (downcase ELT) (downcase listelt))
+          t ;; if so return true
+        ;; else recurse for rest of list
+        (member-cis ELT listrest)))))
+
 (defun bib-get-citekeys-obarray ()
   "Return obarray of citation key (within curly brackets) under cursor."
   (save-excursion
     (cond
      ((not master)
       nil)
-     ((string-match ".tex$" master)
+     ((string-match ".\\(tex\\|ltx\\)$" master)
       master)
+     ((file-readable-p (concat master ".ltx"))
+      (concat master ".ltx"))
      (t
       (concat master ".tex")))))
 
           (if (string-match ".sty$" the-file) ;Skip over style files!
               nil
             (if (and (not (file-readable-p (expand-file-name the-file dir)))
+                     (not (string-match ".ltx$" the-file))
+                     (file-readable-p 
+                      (expand-file-name (concat the-file ".ltx") dir)))
+                (setq the-file (concat the-file ".ltx")))
+            (if (and (not (file-readable-p (expand-file-name the-file dir)))
                      (not (string-match ".tex$" the-file)))
                 (setq the-file (concat the-file ".tex")))
             (setq the-file (expand-file-name the-file dir))
           (let ((the-file (buffer-substring (match-beginning 2)(match-end 2))))
             (if (and (not (file-readable-p 
                            (expand-file-name the-file default-directory)))
+                     (not (string-match ".ltx$" the-file))
+                     (file-readable-p 
+                      (expand-file-name (concat the-file ".ltx") 
+                                        default-directory)))
+                (setq the-file (concat the-file ".ltx")))
+            (if (and (not (file-readable-p 
+                           (expand-file-name the-file default-directory)))
                      (not (string-match ".tex$" the-file)))
                 (setq the-file (concat the-file ".tex")))
             (end-of-line)(insert "\n")
         (while 
             (re-search-backward  
 ;;;          "\\\\\\(\\(sub\\)*section\\|chapter\\|label\\){[^}]+}" 
+;;; Fixme: add `part'?
              "\\(\\(\\\\label\\)\\|\\(^[ ]*\\\\\\(\\(sub\\)*section\\|chapter\\)\\)\\){[^}]+}"
              nil t)
           (imenu-progress-message prev-pos nil t)
 ;;;        "^[^;]*\\(\\\\\\)\\(\\(sub\\)*section\\|chapter\\|label\\){[^}]+}" 
 ;;; Original regexp that would catch commented-out stuff
 ;;;        "\\\\\\(\\(sub\\)*section\\|chapter\\|label\\){[^}]+}" 
+;;; Fixme: add `part'?
            "\\(\\(\\\\label\\)\\|\\(^[ ]*\\\\\\(\\(sub\\)*section\\|chapter\\)\\)\\){[^}]+}"
            nil t)
         (imenu-progress-message prev-pos nil t)
 of each bib file.
 
 Puts the buffer in text-mode such that forward-sexp works with german \" 
-accents embedded in bibtex entries."
+accents embeded in bibtex entries."
   (let ((bib-list (or (and (fboundp 'LaTeX-bibliography-list)
                            (boundp 'TeX-auto-update)
                            (LaTeX-bibliography-list))
      ;; This code is part of auc-tex
      (defun TeX-split-string (char string)
        "Returns a list of strings. given REGEXP the STRING is split into 
-sections which in string was separated by REGEXP.
+sections which in string was seperated by REGEXP.
 
 Examples:
 
 (TeX-add-style-hook "amsart"
  (function
   (lambda ()
-    (TeX-run-style-hooks "amsmath"))))
+    (TeX-run-style-hooks "amsmath" "amsthm"))))
 
 ;;; amsart.el ends here.
 (TeX-add-style-hook "amsbook"
  (function
   (lambda ()
-    (TeX-run-style-hooks "amsmath"))))
+    (TeX-run-style-hooks "amsmath" "amsthm"))))
 
 ;;; amsbook.el ends here.
 
 (TeX-add-style-hook "danish"
  (function (lambda ()
+   (make-local-variable 'TeX-open-quote)
+   (make-local-variable 'TeX-close-quote)
+   (setq TeX-open-quote "\"`")
+   (setq TeX-close-quote "\"'")
    (run-hooks 'TeX-language-dk-hook))))
 
 ;;; danish.el ends here
+;; AUCTeX style file with support for fancyref.sty
+;; Author: C. Dominik <dominik@strw.leidenuniv.nl>
+;; Last change: 20 Feb 1999
+
+(TeX-add-style-hook "fancyref"
+   (lambda ()
+     
+     (TeX-add-symbols
+
+      ;; The macros with label arguments
+      '("fref" [ TeX-arg-fancyref-format ] TeX-arg-label)
+      '("Fref" [ TeX-arg-fancyref-format ] TeX-arg-label)
+
+      ;; The macros which define new prefixes and formats
+      '("fancyrefchangeprefix" TeX-arg-macro "Prefix")
+      '("Frefformat" TeX-arg-fancyref-format TeX-arg-macro "Output")
+      '("frefformat" TeX-arg-fancyref-format TeX-arg-macro "Output")
+
+      ;; The delimiter
+      "fancyrefargdelim"
+
+      ;; All those names and abbreviations.
+      ;; Part
+      "fancyrefpartlabelprefix" 
+      "Frefpartname" "frefpartname"   
+      ;; Chapter
+      "fancyrefchalabelprefix"
+      "Frefchaname" "frefchaname"   
+      ;; Section
+      "fancyrefseclabelprefix"
+      "Frefsecname" "frefsecname"
+      ;; Equation
+      "fancyrefeqlabelprefix"
+      "Frefeqname" "frefeqname"   
+      ;; Figure
+      "fancyreffiglabelprefix"
+      "Freffigname" "freffigname" "Freffigshortname"
+      ;; Footnote
+      "fancyreffnlabelprefix"
+      "Freffnname" "freffnname"   
+      ;; Item
+      "fancyrefitemlabelprefix"
+      "Frefitemname" "frefitemname" 
+      ;; Table
+      "fancyreftablabelprefix"
+      "Freftabname" "freftabname" "Freftabshortname"
+      ;; Page
+      "Frefpgname" "frefpgname" "Frefpgshortname"
+      ;; On
+      "Frefonname" "frefonname" 
+      ;; See
+      "Frefseename" "frefseename"
+
+      ;; The spacing macros
+      "fancyrefloosespacing" "fancyreftightspacing" "fancyrefdefaultspacing"
+
+      ;; And the hook
+      "fancyrefhook")
+
+     ;; Insatall completion for labels and formats
+     (setq TeX-complete-list
+	   (append
+	    '(("\\\\[fF]ref\\(\\[[^]]*\\]\\)?{\\([^{}\n\r\\%,]*\\)" 
+	       2 LaTeX-label-list "}")
+	      ("\\\\[fF]ref\\[\\([^{}\n\r\\%,]*\\)" 
+	       1 LaTeX-fancyref-formats "]")
+	      ("\\\\[fF]refformat{\\([^{}\n\r\\%,]*\\)"
+	       1 LaTeX-fancyref-formats "}"))
+	    TeX-complete-list))))
+
+;; The following list keeps a list of available format names
+;; Note that this list is only updated when a format is used, not
+;; during buffer parsing.  We could install a regexp to look for
+;; formats, but this would not work in multifile documents since the
+;; formats are not written out to the auto files.
+;; For now, we just leave it at that.
+(defvar LaTeX-fancyref-formats '(("plain") ("vario") ("margin") ("main"))
+  "List of formats for fancyref.")
+
+(defun LaTeX-fancyref-formats () LaTeX-fancyref-formats)
+
+(defun TeX-arg-fancyref-format (optional &optional prompt definition)
+  "Prompt for a fancyref format name.
+If the user gives an unknown name, add it to the list."
+  (let ((format (completing-read (TeX-argument-prompt optional prompt "Format")
+				 LaTeX-fancyref-formats)))
+    (if (not (string-equal "" format))
+	(add-to-list 'LaTeX-fancyref-formats (list format)))
+    (TeX-argument-insert format optional)))
+
+;; fancyref.el ends here
 
 ;;; Code:
 
-(require 'latex)
-
 (TeX-add-style-hook "foils"
  (function
   (lambda ()
+;;; graphics.el --- Handle graphical commands in LaTeX 2e.
+
+;;; Code:
+
+(TeX-add-style-hook "graphics"
+ (function
+  (lambda ()
+    (TeX-run-style-hooks "graphicx"))))
+
+;;; graphics.el ends here.
+;;; -*- emacs-lisp -*-
+;;; graphicx.el - Support for the graphicx style option.
+
+;; Copyright (C) 2000 by Free Software Foundation, Inc.
+
+;; Author: Ryuichi Arafune <arafune@ushioda.riec.tohoku.ac.jp>
+;; Created: 1999/3/20
+;; Version: $Id$
+;; Keywords: tex
+
+;; This file is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 2, or (at your option)