User: oub
Date: 05/02/11 20:02:16
Modified: packages/xemacs-packages/auctex/texi auctex.texi
changes.texi install.texi tex-ref.tex todo.texi
wininstall.texi
Added: packages/xemacs-packages/auctex/etc jsarticle.el jsbook.el
Removed: packages/xemacs-packages/auctex/texi math-ref.tex
Log:
Sync with 11.55
Revision Changes Path
1.10 +32 -1 XEmacs/packages/xemacs-packages/auctex/CHANGES
Index: CHANGES
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/CHANGES,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- CHANGES 2005/01/18 13:54:40 1.9
+++ CHANGES 2005/02/11 19:02:00 1.10
@@ -1,3 +1,34 @@
+Changes and New Features in AUCTeX
+**********************************
+
+News in 11.55
+=============
+
+ * A bug was fixed which lead to the insertion of trailing whitespace
+ during filling. In particular extra spaces were added to sentence
+ endings at the end of lines. You can make this whitespace visible
+ by setting the variable `show-trailing-whitespace' to `t'. If you
+ want to delete all trailing whitespace in a buffer, type `M-x
+ delete-trailing-whitespace RET'.
+
+ * A bug was fixed which lead to a `*Compile-Log*' buffer popping up
+ when the first LaTeX file was loaded in an Emacs session.
+
+ * On some systems the presence of an outdated Emacspeak package lead
+ to the error message `File mode specification error: (error
+ "Variable binding depth exceeds max-specpdl-size")'. Precautions
+ were added which prevent this error from happening. But
+ nevertheless, it is advised to upgrade or uninstall the outdated
+ Emacspeak package.
+
+ * The value of `TeX-macro-global' is not determined during
+ configuration anymore but at load time of AUCTeX. Consequently the
+ associated configuration option `--with-tex-input-dirs' was
+ removed.
+
+ * Support for the LaTeX Japanese classes `jsarticle' and `jsbook'
+ was added.
+
News in 11.54
=============
@@ -163,7 +194,7 @@
* Sectioning commands are now shown in a larger font on display
devices which support such fontification. The variable
- `font-latex-title-fontity' can be customized to restore the old
+ `font-latex-title-fontify' can be customized to restore the old
appearance, i.e. the usage of a different color instead of a
change in size.
1.57 +10 -0 XEmacs/packages/xemacs-packages/auctex/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/ChangeLog,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- ChangeLog 2005/02/10 18:13:40 1.56
+++ ChangeLog 2005/02/11 19:02:00 1.57
@@ -1,3 +1,13 @@
+2005-02-11 Uwe Brauer <oub(a)mat.ucm.es>
+
+ * tex-site.el: comment for the moment (defcustom TeX-macro-global
+
+ * tex.el: merge tex.el from 11.55 into version from Xemacs pkg.
+
+ * merge tex-jp.el from 11.55 into version from Xemacs pkg.
+
+ * add jsarticle.el and jsbook.el
+
2005-02-10 Norbert Koch <viteno(a)xemacs.org>
* Makefile (VERSION): XEmacs package 1.45 released.
1.5 +171 -0 XEmacs/packages/xemacs-packages/auctex/ChangeLog.auctex
Index: ChangeLog.auctex
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/ChangeLog.auctex,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog.auctex 2005/01/18 13:54:41 1.4
+++ ChangeLog.auctex 2005/02/11 19:02:01 1.5
@@ -1,3 +1,174 @@
+2005-02-04 David Kastrup <dak(a)gnu.org>
+
+ * Version 11.55 released.
+
+ * Makefile.in (tar-ball):
+
+ * doc/Makefile.in (clean, html/auctex_toc.html, dist): Move HTML
+ stuff into html directory.
+
+2005-02-04 David Kastrup <dak(a)gnu.org>
+
+ * RELEASE: Some more Emacspeak blurb.
+
+2005-02-04 Ralf Angeli <angeli(a)iwi.uni-sb.de>
+
+ * RELEASE: Make description of changes clearer.
+
+2005-02-04 David Kastrup <dak(a)gnu.org>
+
+ * RELEASE (Warning): warn about XEmacs 21.4.16.
+
+2005-02-01 Ralf Angeli <angeli(a)iwi.uni-sb.de>
+
+ * tex.el (TeX-search-syntax-table): Give ?\" character punctuation
+ syntax. Prevents parenthetical characters from being hidden from
+ `TeX-find-opening-brace' if they happen to be enclosed between two
+ quotation marks.
+ Better use whitespace syntax for ?\" as this is the equivalent of
+ a nil entry in the syntax table.
+ (TeX-search-syntax-table): Remove superfluous possibility to
+ specify comment and escape characters as arguments.
+
+2005-02-01 Masayuki Ataka <ataka(a)milk.freemail.ne.jp>
+
+ * doc/changes.texi: Mention support for the jsarticle and jsbook
+ classes.
+
+ * tex-jp.el (japanese-LaTeX-style-list): Added
+ jsclasses (jsarticle and jsbook).
+
+2005-01-31 Ralf Angeli <angeli(a)iwi.uni-sb.de>
+
+ * configure.ac: Bump version info to 11.55.
+
+ * auctex.spec (Version): Bump to 11.55.
+ (Release): Reset to 1.
+
+ * doc/tex-ref.tex: Bump version info to 11.55.
+ (Source Display): Adapt information about key bindings to current
+ implementation.
+
+ * doc/auctex.texi: Bump version info to 11.55.
+
+ * doc/changes.texi: Add information about changes in AUCTeX 11.55.
+
+ * RELEASE: Add information about fixed bugs in AUCTeX 11.55.
+
+ * latex.el (LaTeX-fill-region-as-para-do): Limit the search for
+ sentence ends. Fixes erroneous addition of spaces at places
+ following a paragraph to be filled.
+
+2005-01-31 Masayuki Ataka <ataka(a)milk.freemail.ne.jp>
+
+ * style/jsarticle.el: New file.
+
+ * style/jsbook.el: New file.
+
+ * Makefile.in (STYLESRC): Add them.
+
+2005-01-29 Masayuki Ataka <ataka(a)milk.freemail.ne.jp>
+
+ * tex-jp.el (LaTeX-fill-region-as-para-do): Removed.
+
+2005-01-28 Reiner Steib <Reiner.Steib(a)gmx.de>
+
+ * tex.el (AUCTeX-date): Use ISO 8601 format.
+ (TeX-submit-bug-report): Include AUCTeX-date when using a
+ non-released version.
+
+2005-01-26 Ralf Angeli <angeli(a)iwi.uni-sb.de>
+
+ * tex.el: Do not use whitespace syntax for ?~. Prevents these
+ characters from being deleted during filling.
+
+2005-01-25 Ralf Angeli <angeli(a)iwi.uni-sb.de>
+
+ * tex-buf.el: Update header.
+ (TeX-view-output-file): Let `TeX-active-master' return file name
+ without directory. Fixes viewer not finding output file when
+ being called in a subdirectory.
+ (TeX-active-master): Add new parameter `nondirectory'. Doc fix.
+
+2005-01-21 David Kastrup <dak(a)gnu.org>
+
+ * auctex.spec (Conflicts): Mention the outdated emacspeak from
+ FC3.
+
+2005-01-20 Ralf Angeli <angeli(a)iwi.uni-sb.de>
+
+ * font-latex.el (font-latex-set-syntactic-keywords): Do not call
+ `regexp-opt' on empty lists. Prevents `regexp-opt-group' from
+ entering a loop on installations with an outdated regexp-opt.el.
+
+ * tex-buf.el (TeX-command-region): Pass name of region file
+ without directory to `TeX-command-query' because a test in the
+ latter expects it like that.
+ (TeX-command-query): Doc fix.
+
+2005-01-19 Jan-Ake Larsson <jalar(a)mai.liu.se>
+
+ * aclocal.m4, configure.ac: A few small changes to allow sync with
+ preview-latex' aclocal.m4
+
+2005-01-19 Ralf Angeli <angeli(a)iwi.uni-sb.de>
+
+ * tex.el (hack-one-local-variable): Make sure the byte compiler
+ does not barf on `minor-mode-list' by eliminating the reference to
+ this variable.
+
+2005-01-15 Ralf Angeli <angeli(a)iwi.uni-sb.de>
+
+ * doc/auctex.texi (top): Restrict to one content listing in HTML
+ output.
+
+ * doc/todo.texi (Wishlist): Remove bug regarding parsing of LaTeX
+ class files.
+
+ * tex.el (TeX-macro-global): New function.
+ (TeX-macro-global): (the variable) Moved here from tex-site.el.in.
+ Use new `TeX-macro-global' function.
+
+ * aclocal.m4 (library): Remove TEX_INPUT_DIRS function.
+
+ * configure.ac (auctexdir): Remove call to TEX_INPUT_DIRS.
+
+ * lpath.el: Setting `TeX-macro-global' is not necessary anymore as
+ it now is in tex.el.
+
+ * tex-site.el.in (TeX-macro-global): Move defcustom to tex.el.
+
+ * doc/install.texi (Configure): Remove documentation of
+ --with-tex-input-dirs.
+
+ * doc/wininstall.texi: Remove documentation of
+ --with-tex-input-dirs.
+
+ * latex.el (LaTeX-insert-environment): Insert a simple newline
+ character instead of using `newline'. Fixes insertion of
+ environment end at wrong place in XEmacs.
+ (LaTeX-fill-region): Remove superfluous `save-restriction'.
+ (LaTeX-auto-class-regexp-list): Add patterns for commands
+ described in "LaTeX2e font selection" (fntguide).
+
+2005-01-14 Reiner Steib <Reiner.Steib(a)gmx.de>
+
+ * doc/auctex.texi (European): Document all TeX-language-*-hook
+ variables. Don't document obsolete `dk.sty'.
+
+2005-01-14 David Kastrup <dak(a)gnu.org>
+
+ * auctex.spec: Add and remove auctex.info instead of auctex in
+ info dir. Bump release to 2 to match upload.
+
+2005-01-13 David Kastrup <dak(a)gnu.org>
+
+ * font-latex.el (font-latex-set-title-face)
+ (font-latex-title-fontify): font-latex-title-fontify, not
+ fontity. fontify, fontify, fontify.
+ * doc/changes.texi: Ditto.
+ * doc/auctex.texi (Font Locking): Ditto.
+
2005-01-12 David Kastrup <dak(a)gnu.org>
* Version 11.54 released.
1.58 +5 -5 XEmacs/packages/xemacs-packages/auctex/Makefile
Index: Makefile
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/Makefile,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- Makefile 2005/02/10 18:13:40 1.57
+++ Makefile 2005/02/11 19:02:01 1.58
@@ -19,7 +19,7 @@
VERSION = 1.45
-AUTHOR_VERSION = 11.54
+AUTHOR_VERSION = 11.55
MAINTAINER = Uwe Brauer <oub(a)mat.ucm.es>
PACKAGE = auctex
PKG_TYPE = regular
@@ -41,8 +41,8 @@
ETC_ELCS = etc/units.elc etc/nicefrac.elc etc/alltt.elc \
etc/slides.elc etc/foils.elc etc/subfigure.elc etc/amstex.elc \
etc/jurabib.elc etc/listings.elc etc/url.elc etc/csquotes.elc\
- etc/ltx-base.elc etc/ltxdoc.elc etc/captcont.elc \
- etc/emp.elc etc/paralist.elc etc/scrpage2.elc \
+ etc/ltx-base.elc etc/jsbook.elc etc/ltxdoc.elc etc/captcont.elc \
+ etc/emp.elc etc/jsarticle.elc etc/paralist.elc etc/scrpage2.elc \
etc/alphanum.elc etc/doc.elc etc/jura.elc etc/beamer.elc \
etc/italian.elc etc/prosper.elc etc/booktabs.elc \
etc/article.elc etc/book.elc etc/letter.elc \
@@ -62,8 +62,8 @@
etc/verbatim.elc etc/scrbase.elc etc/scrartcl.elc \
etc/scrbook.elc etc/scrreprt.elc etc/scrlttr2.elc
-EXTRA_DEPENDENCIES = $(ETC_ELCS) texi/math-ref.dvi texi/tex-ref.dvi \
- texi/math-ref.log texi/tex-ref.log INSTALLATION README CHANGES
+EXTRA_DEPENDENCIES = $(ETC_ELCS) texi/tex-ref.dvi \
+ texi/tex-ref.log INSTALLATION README CHANGES
DATA_FILES = $(ETC_ELCS) $(ETC_ELCS:%.elc=%.el)
DATA_DEST = $(PACKAGE)/style
1.14 +19 -15 XEmacs/packages/xemacs-packages/auctex/font-latex.el
Index: font-latex.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/font-latex.el,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- font-latex.el 2005/01/18 13:54:41 1.13
+++ font-latex.el 2005/02/11 19:02:01 1.14
@@ -192,15 +192,15 @@
(defun font-latex-set-title-face (level)
"Set fontification of LaTeX titles at LEVEL."
(cond
- ((equal font-latex-title-fontity 'height)
+ ((equal font-latex-title-fontify 'height)
(set (intern (format "font-latex-title-%d-face" level))
(intern (format "font-latex-title-%d-face" level))))
- ((equal font-latex-title-fontity 'color)
+ ((equal font-latex-title-fontify 'color)
(set (intern (format "font-latex-title-%d-face" level))
'font-lock-type-face))))
-(defcustom font-latex-title-fontity 'height
- "Whether to fontity LaTeX titles with varying height faces or a color
face."
+(defcustom font-latex-title-fontify 'height
+ "Whether to fontify LaTeX titles with varying height faces or a color
face."
:type '(choice (const height)
(const color))
:set (lambda (symbol value)
@@ -660,16 +660,19 @@
This function can be used to refresh the variable in case other
variables influencing its value, like `font-latex-verbatim-environments',
have changed."
- (let ((verb-envs (regexp-opt
- (append font-latex-verbatim-environments
- font-latex-verbatim-environments-local)))
- (verb-like-commands (regexp-opt
- (append font-latex-verb-like-commands
- font-latex-verb-like-commands-local)))
- (verb-macros (regexp-opt
- (append font-latex-verbatim-macros
- font-latex-verbatim-macros-local))))
- (setq font-latex-syntactic-keywords nil)
+ ;; Checks for non-emptiness of lists added in order to cater for
+ ;; installations where `(regexp-opt-group nil)' would enter a loop.
+ (let ((verb-envs (append font-latex-verbatim-environments
+ font-latex-verbatim-environments-local))
+ (verb-like-commands (append font-latex-verb-like-commands
+ font-latex-verb-like-commands-local))
+ (verb-macros (append font-latex-verbatim-macros
+ font-latex-verbatim-macros-local)))
+ (setq verb-envs (and verb-envs (regexp-opt verb-envs))
+ verb-like-commands (and verb-like-commands
+ (regexp-opt verb-like-commands))
+ verb-macros (and verb-macros (regexp-opt verb-macros))
+ font-latex-syntactic-keywords nil)
(unless (= (length verb-envs) 0)
(add-to-list 'font-latex-syntactic-keywords
`(,(concat "^\\\\begin *{\\(?:" verb-envs "\\)}.*\\(\n\\)")
@@ -937,7 +940,8 @@
(defun font-latex-find-matching-close (openchar closechar)
"Skip over matching pairs of { } or [ ], ignoring comments.
OPENCHAR is the opening character and CLOSECHAR is the closing character."
- (let ((parse-sexp-ignore-comments t) ; scan-sexps ignores comments
+ (let ((parse-sexp-ignore-comments
+ (not (eq major-mode 'doctex-mode))) ; scan-sexps ignores comments
(init-point (point))
(mycount 1)
(esc-char (or (and (boundp 'TeX-esc) TeX-esc) "\\")))
1.11 +41 -30 XEmacs/packages/xemacs-packages/auctex/latex.el
Index: latex.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/latex.el,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- latex.el 2005/01/18 13:54:42 1.10
+++ latex.el 2005/02/11 19:02:01 1.11
@@ -573,7 +573,9 @@
(save-excursion
(goto-char (mark))
(unless (progn (skip-chars-forward " \t") (eolp))
- (if (bolp) (newline) (LaTeX-newline))
+ ;; Use `(insert "\n")' instead of `(newline)' because in contrast
+ ;; to Emacs, XEmacs moves the mark if `newline' is used.
+ (if (bolp) (insert "\n") (LaTeX-newline))
(indent-according-to-mode))))
(when (and LaTeX-insert-into-comments
(looking-at
@@ -1103,7 +1105,17 @@
(1 2 3) LaTeX-auto-optional)
("\\\\DeclareRobustCommand\\*?{?\\\\\\([A-Za-z]+\\)}?\\[\\([0-9]+\\)\\]"
(1 2) LaTeX-auto-arguments)
- ("\\\\DeclareRobustCommand\\*?{?\\\\\\([A-Za-z]+\\)}?" 1
TeX-auto-symbol))
+ ("\\\\DeclareRobustCommand\\*?{?\\\\\\([A-Za-z]+\\)}?"
+ 1 TeX-auto-symbol)
+ ;; Patterns for commands described in "LaTeX2e font selection"
(fntguide)
+ ("\\\\DeclareMath\\(?:Symbol\\|Delimiter\\|Accent\\|Radical\\)\
+{?\\\\\\([A-Za-z]+\\)}?"
+ 1 TeX-auto-symbol)
+ ("\\\\\\(Declare\\|Provide\\)Text\
+\\(?:Command\\|Symbol\\|Accent\\|Composite\\){?\\\\\\([A-Za-z]+\\)}?"
+ 1 TeX-auto-symbol)
+ ("\\\\Declare\\(?:Text\\|Old\\)FontCommand{?\\\\\\([A-Za-z]+\\)}?"
+ 1 TeX-auto-symbol))
"List of regular expressions matching macros in LaTeX classes and
packages.")
(defvar LaTeX-auto-regexp-list
@@ -2419,7 +2431,7 @@
sentence-end-double-space)
(progn
(goto-char from)
- (while (re-search-forward "[.?!][]})\"']*$" nil t)
+ (while (re-search-forward "[.?!][]})\"']*$" to t)
(insert ? ))))
;; Then change all newlines to spaces.
(let ((point-max (progn
@@ -2900,33 +2912,32 @@
means justify as well. Fourth arg WHAT is a word to be displayed when
formatting."
(interactive "*r\nP")
- (save-restriction
- (save-excursion
- (let ((to (set-marker (make-marker) to))
- (next-par (make-marker)))
- (goto-char from)
- (beginning-of-line)
- (setq from (point))
- (catch 'end-of-buffer
- (while (and (< (point) to))
- (message "Formatting%s ... %d%%"
- (or what "")
- (/ (* 100 (- (point) from)) (- to from)))
- (save-excursion (LaTeX-fill-paragraph justify))
- (if (marker-position next-par)
- (goto-char (marker-position next-par))
- (LaTeX-forward-paragraph))
- (when (eobp) (throw 'end-of-buffer t))
- (LaTeX-forward-paragraph)
- (set-marker next-par (point))
- (LaTeX-backward-paragraph)
- (while (and (not (eobp))
- (looking-at
- (concat "^\\($\\|[ \t]+$\\|[ \t]*"
- TeX-comment-start-regexp "+[ \t]*$\\)")))
- (forward-line 1))))
- (set-marker to nil)))
- (message "Finished")))
+ (save-excursion
+ (let ((to (set-marker (make-marker) to))
+ (next-par (make-marker)))
+ (goto-char from)
+ (beginning-of-line)
+ (setq from (point))
+ (catch 'end-of-buffer
+ (while (and (< (point) to))
+ (message "Formatting%s ... %d%%"
+ (or what "")
+ (/ (* 100 (- (point) from)) (- to from)))
+ (save-excursion (LaTeX-fill-paragraph justify))
+ (if (marker-position next-par)
+ (goto-char (marker-position next-par))
+ (LaTeX-forward-paragraph))
+ (when (eobp) (throw 'end-of-buffer t))
+ (LaTeX-forward-paragraph)
+ (set-marker next-par (point))
+ (LaTeX-backward-paragraph)
+ (while (and (not (eobp))
+ (looking-at
+ (concat "^\\($\\|[ \t]+$\\|[ \t]*"
+ TeX-comment-start-regexp "+[ \t]*$\\)")))
+ (forward-line 1))))
+ (set-marker to nil)))
+ (message "Finished"))
(defun LaTeX-find-matching-end ()
"Move point to the \\end of the current environment.
1.3 +1 -2 XEmacs/packages/xemacs-packages/auctex/lpath.el
Index: lpath.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/lpath.el,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- lpath.el 2004/09/13 15:34:06 1.2
+++ lpath.el 2005/02/11 19:02:01 1.3
@@ -5,5 +5,4 @@
(setq load-path (cons "." load-path)
byte-compile-warnings nil
TeX-lisp-directory "<none>"
- TeX-auto-global "<none>"
- TeX-macro-global nil)
+ TeX-auto-global "<none>")
1.9 +17 -10 XEmacs/packages/xemacs-packages/auctex/tex-buf.el
Index: tex-buf.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/tex-buf.el,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- tex-buf.el 2005/01/18 13:54:42 1.8
+++ tex-buf.el 2005/02/11 19:02:01 1.9
@@ -1,10 +1,11 @@
;;; tex-buf.el --- External commands for AUCTeX.
-;; Copyright (C) 1993, 1996, 2001, 2003, 2004 Free Software Foundation, Inc.
+;; Copyright (C) 1993, 1996, 2001, 2003, 2004,
+;; 2005 Free Software Foundation, Inc.
;; Copyright (C) 1991 Kresten Krab Thorup
;; Maintainer: auc-tex(a)sunsite.dk
-;; Keywords: tex
+;; Keywords: tex, wp
;; This file is part of AUCTeX.
@@ -25,7 +26,7 @@
;;; Commentary:
-;; This file provides support external commands.
+;; This file provides support for external commands.
;;; Code:
@@ -176,7 +177,7 @@
(buffer-substring begin end)
(file-name-nondirectory (buffer-file-name))
(TeX-current-offset begin)))
- (TeX-command (TeX-command-query (TeX-region-file)) 'TeX-region-file
+ (TeX-command (TeX-command-query (TeX-region-file nil t)) 'TeX-region-file
override-confirm))
(defun TeX-command-buffer (&optional override-confirm)
@@ -379,7 +380,7 @@
(defvar TeX-command-history nil)
(defun TeX-command-query (name)
- "Query the user for a what TeX command to use."
+ "Query the user for what TeX command to use."
(let* ((default (cond ((if (string-equal name TeX-region)
(TeX-check-files (concat name "." (TeX-output-extension))
(list name)
@@ -470,7 +471,7 @@
(defun TeX-view-output-file ()
"Get the name of the current TeX output file"
- (TeX-active-master (TeX-output-extension)))
+ (TeX-active-master (TeX-output-extension) t))
(defun TeX-view-mouse (event)
"Start `TeX-view' at mouse position."
@@ -1072,11 +1073,17 @@
(TeX-process-buffer (TeX-region-file))
(TeX-process-buffer (TeX-master-file))))
-(defun TeX-active-master (&optional extension)
- "The master file currently being compiled."
+(defun TeX-active-master (&optional extension nondirectory)
+ "The master file currently being compiled.
+
+If optional argument EXTENSION is non-nil, add that file extension to
+the name. Special value t means use `TeX-default-extension'.
+
+If optional second argument NONDIRECTORY is non-nil, do not include
+the directory."
(if TeX-current-process-region-p
- (TeX-region-file extension)
- (TeX-master-file extension)))
+ (TeX-region-file extension nondirectory)
+ (TeX-master-file extension nondirectory)))
(defvar TeX-command-buffer nil
"The buffer from where the last TeX command was issued.")
1.11 +8 -296 XEmacs/packages/xemacs-packages/auctex/tex-jp.el
Index: tex-jp.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/tex-jp.el,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- tex-jp.el 2005/01/18 13:54:42 1.10
+++ tex-jp.el 2005/02/11 19:02:02 1.11
@@ -1,7 +1,7 @@
;;; tex-jp.el --- Support for Japanese TeX.
;; Copyright (C) 1999, 2001 Hidenobu Nabetani <nabe(a)debian.or.jp>
-;; Copyright (C) 2002, 2003, 2004 Free Software Foundation
+;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation
;; Author: KOBAYASHI Shinji <koba(a)flab.fujitsu.co.jp>
;; Maintainer: Masayuki Ataka <ataka(a)milk.freemail.ne.jp>
@@ -130,13 +130,15 @@
'(("j-article")
("j-report")
("j-book")
+ ("jslides")
("jarticle")
- ("jbook")
("jreport")
- ("jslides")
+ ("jbook")
("tarticle")
("treport")
- ("tbook"))
+ ("tbook")
+ ("jsarticle")
+ ("jsbook"))
"*List of Japanese document styles."
:group 'AUCTeX-jp
:type '(repeat (group (string :format "%v"))))
@@ -226,6 +228,7 @@
(add-hook 'plain-TeX-mode-hook 'japanese-plain-tex-mode-initialization)
;;SY
;;;###autoload(autoload 'japanese-plain-tex-mode "tex-jp" nil t)
+
(TeX-defun japanese-plain-tex-mode ()
"Major mode in %s for editing Japanese plain TeX files.
Set japanese-TeX-mode to t, and enters plain-tex-mode."
@@ -240,6 +243,7 @@
(add-hook 'LaTeX-mode-hook 'japanese-latex-mode-initialization)
+
;; SY
;;;###autoload(autoload 'japanese-latex-mode "tex-jp" nil t)
(TeX-defun japanese-latex-mode ()
@@ -258,298 +262,6 @@
(setq TeX-command-BibTeX "jBibTeX")
(setq japanese-TeX-mode nil))))
-
-;;; MULE paragraph filling.
-
-;; This function is copied from
-;; fill-region-as-paragraph in fill.el --- fill commands for Emacs
-;; Copyright (C) 1985, 86, 92, 94, 95, 96, 1997 Free Software Foundation, Inc.
-(defun LaTeX-fill-region-as-para-do (from to justify)
- "Fill region as one paragraph: break lines to fit `fill-column'."
- (setq x justify)
- (unless (memq justify '(t nil none full center left right))
- (setq justify 'full))
- (setq y justify)
- ;; Arrange for undoing the fill to restore point.
- (if (and buffer-undo-list (not (eq buffer-undo-list t)))
- (setq buffer-undo-list (cons (point) buffer-undo-list)))
-
- ;; Make sure "to" is the endpoint.
- (goto-char (min from to))
- (setq to (max from to))
- ;; Ignore blank lines at beginning of region.
- (skip-chars-forward " \t\n")
-
- (let ((from-plus-indent (point))
- (oneleft nil))
-
- (beginning-of-line)
- (setq from (point))
-
- ;; Delete all but one soft newline at end of region.
- ;; And leave TO before that one.
- (goto-char to)
- (while (and (> (point) from) (eq ?\n (char-after (1- (point)))))
- (if (and oneleft
- (not (and use-hard-newlines
- (get-text-property (1- (point)) 'hard))))
- (delete-backward-char 1)
- (backward-char 1)
- (setq oneleft t)))
- (setq to (point))
-;;; ;; If there was no newline, and there is text in the paragraph, then
-;;; ;; create a newline.
-;;; (if (and (not oneleft) (> to from-plus-indent))
-;;; (newline))
- (goto-char from-plus-indent))
-
- (if (not (> to (point)))
- nil ; There is no paragraph, only whitespace: exit now.
-
- (or justify (setq justify (current-justification)))
-
- ;; Don't let Adaptive Fill mode alter the fill prefix permanently.
- (let ((fill-prefix fill-prefix))
- ;; Figure out how this paragraph is indented, if desired.
- (if (and adaptive-fill-mode
- (or (null fill-prefix) (string= fill-prefix "")))
- (setq fill-prefix (fill-context-prefix from to)))
-
- (save-restriction
- (goto-char from)
- (beginning-of-line)
- (narrow-to-region (point) to)
-
- (if (not justify) ; filling disabled: just check indentation
- (progn
- (goto-char from)
- (while (not (eobp))
- (if (and (not (eolp))
- (< (current-indentation) (current-left-margin)))
- (LaTeX-indent-line))
- (forward-line 1)))
-
- (if use-hard-newlines
- (remove-text-properties from (point-max) '(hard nil)))
- ;; Make sure first line is indented (at least) to left margin...
- (if (or (memq justify '(right center))
- (< (current-indentation) (current-left-margin)))
- (LaTeX-indent-line))
- ;; Delete the fill prefix from every line except the first.
- ;; The first line may not even have a fill prefix.
- (goto-char from)
- (let ((fpre (and fill-prefix (not (equal fill-prefix ""))
- (concat "[ \t]*"
- (regexp-quote fill-prefix)
- "[ \t]*"))))
- (and fpre
- (progn
- (if (>= (+ (current-left-margin) (length fill-prefix))
- (current-fill-column))
- (error "fill-prefix too long for specified width"))
- (goto-char from)
- (forward-line 1)
- (while (not (eobp))
- (if (looking-at fpre)
- (delete-region (point) (match-end 0)))
- (forward-line 1))
- (goto-char from)
- (if (looking-at fpre)
- (goto-char (match-end 0)))
- (setq from (point)))))
- ;; Remove indentation from lines other than the first.
- (beginning-of-line 2)
- (indent-region (point) (point-max) 0)
- (goto-char from)
-
- ;; FROM, and point, are now before the text to fill,
- ;; but after any fill prefix on the first line.
-
- ;; Make sure sentences ending at end of line get an extra space.
- ;; loses on split abbrevs ("Mr.\nSmith")
- (while (re-search-forward "[.?!][])}\"']*$" nil t)
- (or (eobp) (insert-and-inherit ?\ )))
- (goto-char from)
- ;; The character category `|' means that we can break a line
- ;; at the character. Since we don't need a space between
- ;; them, delete all newlines between them ...
- (while (re-search-forward "\\c|\n\\|\n\\c|" nil t)
- (if (bolp)
- (delete-char -1)
- (if (= (char-before (match-beginning 0)) ?\ )
- ;; ... except when there is end of sentence. The
- ;; variable `sentence-end-double-space' is handled
- ;; properly later.
- nil
- (delete-region (match-beginning 0) (1+ (match-beginning 0))))))
- (goto-char from)
- (skip-chars-forward " \t")
- ;; Then change all newlines to spaces.
- (subst-char-in-region from (point-max) ?\n ?\ )
- (if (not (eq justify 'full))
- nil
- (canonically-space-region (point) (point-max))
- (goto-char (point-max))
- (delete-horizontal-space)
- (insert-and-inherit " "))
- (goto-char (point-min))
-
- ;; This is the actual filling loop.
- (let ((prefixcol 0) linebeg)
- (while (not (eobp))
- (setq linebeg (point))
- (move-to-column (1+ (current-fill-column)))
- (if (eobp)
- (delete-horizontal-space)
- ;; Move back to the point where we can break the line
- ;; at. We break the line between word or after/before
- ;; the character which has character category `|'. We
- ;; search space, \c| followed by a character, or \c|
- ;; following a character. If not found, place
- ;; the point at linebeg.
- (if (re-search-backward " \\|\\c|.\\|.\\c|" linebeg 0)
- ;; In case of space, we place the point at next to
- ;; the point where the break occurs acutually,
- ;; because we don't want to change the following
- ;; logic of original Emacs. In case of \c|, the
- ;; point is at the place where the break occurs.
- (forward-char 1))
- ;; Don't break after a period followed by just one space.
- ;; Move back to the previous place to break.
- ;; The reason is that if a period ends up at the end of a line,
- ;; further fills will assume it ends a sentence.
- ;; If we now know it does not end a sentence,
- ;; avoid putting it at the end of the line.
- (while (or (and sentence-end-double-space
- (> (point) (+ linebeg 2))
- (eq (preceding-char) ?\ )
- (not (eq (following-char) ?\ ))
- (eq (char-after (- (point) 2)) ?\.)
- (progn (forward-char -2) t))
- (and fill-nobreak-predicate
- (funcall fill-nobreak-predicate)
- (goto-char (match-beginning 0))))
- (if (re-search-backward " \\|\\c|.\\|.\\c|" linebeg 0)
- (forward-char 1)))
- ;; If the left margin and fill prefix by themselves
- ;; pass the fill-column. or if they are zero
- ;; but we have no room for even one word,
- ;; keep at least one word or a character which has
- ;; category `|'anyway .
- ;; This handles ALL BUT the first line of the paragraph.
- (if (if (zerop prefixcol)
- (save-excursion
- (skip-chars-backward " \t" linebeg)
- (bolp))
- (>= prefixcol (current-column)))
- ;; Ok, skip at least one word or one \c| character.
- ;; Meanwhile, don't stop at a period followed by one space.
- (let ((first t))
- (move-to-column prefixcol)
- (while (and (not (eobp))
- (or first
- (and (not (bobp))
- sentence-end-double-space
- (save-excursion (forward-char -1)
- (and (looking-at "\\. ")
- (not (looking-at "\\. ")))))
- (and fill-nobreak-predicate
- (funcall fill-nobreak-predicate))))
- ;; Find a breakable point while ignoring the
- ;; following spaces.
- (skip-chars-forward " \t")
- (if (looking-at "\\c|")
- (forward-char 1)
- (let ((pos (save-excursion
- (skip-chars-forward "^ \n\t")
- (point))))
- (if (re-search-forward "\\c|" pos t)
- (forward-char -1)
- (goto-char pos))))
- (setq first nil)))
- ;; Normally, move back over the single space between the words.
- (if (= (preceding-char) ?\ ) (forward-char -1))
- ;; Do KINSOKU processing.
- (if (and enable-multibyte-characters enable-kinsoku
- (save-excursion
- (goto-char (point-min))
- (skip-chars-forward "\0-\177")
- (/= (point) (point-max))))
- (kinsoku linebeg)))
-
- ;; If the left margin and fill prefix by themselves
- ;; pass the fill-column, keep at least one word.
- ;; This handles the first line of the paragraph.
- (if (and (zerop prefixcol)
- (let ((fill-point (point)) nchars)
- (save-excursion
- (move-to-left-margin)
- (setq nchars (- fill-point (point)))
- (or (< nchars 0)
- (and fill-prefix
- (< nchars (length fill-prefix))
- (string= (buffer-substring (point) fill-point)
- (substring fill-prefix 0 nchars)))))))
- ;; Ok, skip at least one word. But
- ;; don't stop at a period followed by just one space.
- (let ((first t))
- (while (and (not (eobp))
- (or first
- (and (not (bobp))
- sentence-end-double-space
- (save-excursion (forward-char -1)
- (and (looking-at "\\. ")
- (not (looking-at "\\. ")))))
- (and fill-nobreak-predicate
- (funcall fill-nobreak-predicate))))
- ;; Find a breakable point while ignoring the
- ;; following spaces.
- (skip-chars-forward " \t")
- (if (looking-at "\\c|")
- (forward-char 1)
- (let ((pos (save-excursion
- (skip-chars-forward "^ \n\t")
- (point))))
- (if (re-search-forward "\\c|" pos t)
- (forward-char -1)
- (goto-char pos))))
- (setq first nil))))
- ;; Check again to see if we got to the end of the paragraph.
- (if (save-excursion (skip-chars-forward " \t") (eobp))
- (delete-horizontal-space)
- ;; Replace whitespace here with one newline, then indent to left
- ;; margin.
- (skip-chars-backward " \t")
- (if (and (= (following-char) ?\ )
- (or (aref (char-category-set (preceding-char)) ?|)
- (looking-at "[ \t]+\\c|")))
- ;; We need one space at end of line so that
- ;; further filling won't delete it. NOTE: We
- ;; intentionally leave this one space to
- ;; distingush the case that user wants to put
- ;; space between \c| characters.
- (forward-char 1))
- (insert ?\n)
- ;; Give newline the properties of the space(s) it replaces
- (set-text-properties (1- (point)) (point)
- (text-properties-at (point)))
- (LaTeX-indent-line)
- ;; Set prefixcol so whitespace in the prefix won't get lost.
- (and fill-prefix (not (equal fill-prefix ""))
- (setq prefixcol (current-column)))))
- ;; Justify the line just ended, if desired.
- (if justify
- (if (save-excursion (skip-chars-forward " \t") (eobp))
- (progn
- (delete-horizontal-space)
- (justify-current-line justify t t))
- (forward-line -1)
- (justify-current-line justify nil t)
- (forward-line 1))))))
- ;; Leave point after final newline.
- (goto-char (point-max)))
- (unless (eobp)
- (forward-char 1)))))
;;; Support for various self-insert-command
1.13 +42 -41 XEmacs/packages/xemacs-packages/auctex/tex-site.el
Index: tex-site.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/tex-site.el,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- tex-site.el 2005/02/04 12:27:45 1.12
+++ tex-site.el 2005/02/11 19:02:02 1.13
@@ -84,51 +84,52 @@
:group 'TeX-file
:type 'directory)
-
+;;; let us see whether the new function TeX-macro-global works.
+;;; <--- [HERE BEGINS A CHANGE] Feb 11, 2005 19:49 Uwe Brauer Feb 11, 2005
;; SY
-(defcustom TeX-macro-global nil
- "*The path to your global system wide TeX macro files.
-
-The directory names *must* end with a slash. If have system
-administration rights, you open tex-site.el via the find-library
-command in order to set the variable. Otherwise set it in the
-normal way via the custom interface.
-
-A typical value could be:
-
- '\(\"/usr/share/texmf/tex/\"
- \"/usr/share/texmf/bibtex/bst/\"\)
-
-You can possibly find these TeX directories on a GNU/Linux system
-with the command:
-
- kpsewhich --progname latex --expand-braces $TEXMFLOCAL
+;; (defcustom TeX-macro-global nil
+;; "*The path to your global system wide TeX macro files.
+;;
+;; The directory names *must* end with a slash. If have system
+;; administration rights, you open tex-site.el via the find-library
+;; command in order to set the variable. Otherwise set it in the
+;; normal way via the custom interface.
+;;
+;; A typical value could be:
+;;
+;; '\(\"/usr/share/texmf/tex/\"
+;; \"/usr/share/texmf/bibtex/bst/\"\)
+;;
+;; You can possibly find these TeX directories on a GNU/Linux system
+;; with the command:
+;;
+;; kpsewhich --progname latex --expand-braces $TEXMFLOCAL
+;;
+;; Or:
+;;
+;; kpsewhich --progname latex --expand-braces $TEXMFCNF
+;;
+;; Note that you may not need to set `TeX-macro-global' to anything and
+;; the default value of nil may be the correct setting for you.
+;;
+;; If you don't have administration rights contact your system
+;; administrator. If you are on MS Windows, look for the documentation
+;; of your tex system, such as MikTex."
+;; :group 'TeX-file
+;; :type '(repeat (directory :format "%v")))
-Or:
-
- kpsewhich --progname latex --expand-braces $TEXMFCNF
-
-Note that you may not need to set `TeX-macro-global' to anything and
-the default value of nil may be the correct setting for you.
-
-If you don't have administration rights contact your system
-administrator. If you are on MS Windows, look for the documentation
-of your tex system, such as MikTex."
- :group 'TeX-file
- :type '(repeat (directory :format "%v")))
-
;; Inform the user if `TeX-macro-global' isn't set and it is likely
;; that it needs to be.
-(eval-after-load "tex"
- '(if (and (not TeX-macro-global)
- (or (getenv "TEXMFCNF")
- (getenv "TEXMFLOCAL")))
- (progn
- (message "`TeX-macro-global' may not be set correctly.")
- (sit-for 3)
- (message "See `C-h v TeX-macro-global' for further information.")
- (sit-for 3))))
-
+;; (eval-after-load "tex"
+;; '(if (and (not TeX-macro-global)
+;; (or (getenv "TEXMFCNF")
+;; (getenv "TEXMFLOCAL")))
+;; (progn
+;; (message "`TeX-macro-global' may not be set correctly.")
+;; (sit-for 3)
+;; (message "See `C-h v TeX-macro-global' for further information.")
+;; (sit-for 3))))
+;;<--- [HERE END A CHANGE] Feb 11, 2005 19:49 Uwe Brauer Feb 11, 2005
;;; Autoloads:
1.13 +84 -38 XEmacs/packages/xemacs-packages/auctex/tex.el
Index: tex.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/tex.el,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- tex.el 2005/02/04 12:44:46 1.12
+++ tex.el 2005/02/11 19:02:02 1.13
@@ -633,7 +633,7 @@
(defconst AUCTeX-version
(eval-when-compile
(let ((name "$Name: $")
- (rev "$Revision: 1.12 $"))
+ (rev "$Revision: 1.13 $"))
(or (when (string-match "\\`[$]Name: *\\(release_\\)?\\([^ ]+\\)
*[$]\\'"
name)
(setq name (match-string 2 name))
@@ -648,15 +648,15 @@
(defconst AUCTeX-date
(eval-when-compile
- (let ((date "$Date: 2005/02/04 12:44:46 $"))
+ (let ((date "$Date: 2005/02/11 19:02:02 $"))
(string-match
"\\`[$]Date: *\\([0-9]+\\)/\\([0-9]+\\)/\\([0-9]+\\)"
date)
- (format "%s.%s%s" (match-string 1 date) (match-string 2 date)
+ (format "%s-%s-%s" (match-string 1 date) (match-string 2 date)
(match-string 3 date))))
- "AUCTeX release date.
-In the form of yyyy.mmdd")
+ "AUCTeX release date using the ISO 8601 format, yyyy-mm-dd.")
+
(defconst AUC-TeX-version AUCTeX-version
"Obsolete. Replaced by `AUCTeX-version'.")
@@ -682,19 +682,17 @@
(add-to-list 'Info-file-list-for-emacs
(cons elt "AUCTeX"))))
+
(defadvice hack-one-local-variable (after TeX-hack-one-local-variable-after
activate)
"Call minor mode function if minor mode variable is found."
(let ((var (ad-get-arg 0))
(val (ad-get-arg 1)))
- (when (if (boundp 'minor-mode-list)
- ;; Test which does not require maintenance but `minor-mode-list'.
- (and (memq var minor-mode-list)
- (string-match "^\\(La\\)*TeX-.+-mode$" (symbol-name var)))
- ;; "Manual" test requiring adaption when minor modes change.
- (memq var '(TeX-PDF-mode TeX-source-specials-mode
- TeX-interactive-mode TeX-Omega-mode
- TeX-fold-mode LaTeX-math-mode)))
+ ;; Instead of checking for each mode explicitely `minor-mode-list'
+ ;; could be used. But this may make the byte compiler pop up.
+ (when (memq var '(TeX-PDF-mode
+ TeX-source-specials-mode TeX-interactive-mode
+ TeX-Omega-mode TeX-fold-mode LaTeX-math-mode))
(if (symbol-value val) (funcall var 1) (funcall var 0)))))
@@ -1462,6 +1460,57 @@
(setq answers (cons entry answers))))
answers))
+(defun TeX-macro-global ()
+ "Return directories containing the site's TeX macro and style files."
+ (let ((tree-list '("$SYSTEXMF" "$TEXMFLOCAL"
"$TEXMFMAIN" "$TEXMFDIST"))
+ path-list path exit-status input-dir-list)
+ (condition-case nil
+ (catch 'success
+ (dotimes (i (safe-length tree-list))
+ (setq path (with-output-to-string
+ (setq exit-status
+ (call-process
+ "kpsewhich" nil
+ (list standard-output nil) nil
+ "--progname" "latex"
+ "--expand-braces" (nth i tree-list)))))
+ (if (zerop exit-status)
+ (progn (add-to-list 'path-list path)
+ (when (zerop i) (throw 'success nil)))
+ (setq path (with-output-to-string
+ (setq exit-status
+ (call-process
+ "kpsewhich" nil
+ (list standard-output nil) nil
+ "--progname" "latex"
+ "--expand-path" (nth i tree-list)))))
+ (when (zerop exit-status) (add-to-list 'path-list path)))))
+ (error nil))
+ (dolist (elt path-list)
+ (let ((separators (if (string-match "^[A-Za-z]:" elt)
+ "[\n\r;]"
+ "[\n\r:]")))
+ (dolist (item (condition-case nil
+ (split-string elt separators t)
+ ;; COMPATIBILITY for XEmacs <= 21.4.15
+ (error (delete "" (split-string elt separators)))))
+ (when (string-match "^!+" item)
+ (setq item (substring item (match-end 0) (length item))))
+ (when (string-match "/+$" item)
+ (setq item (substring item 0 (match-beginning 0))))
+ (dolist (subdir '("/tex/" "/bibtex/bst/"))
+ (when (file-exists-p (file-name-as-directory (concat item subdir)))
+ (add-to-list 'input-dir-list (concat item subdir)))))))
+ (or input-dir-list
+ '("/usr/share/texmf/tex/" "/usr/share/texmf/bibtex/bst/"))))
+
+(defcustom TeX-macro-global (TeX-macro-global)
+ "Directories containing the site's TeX macro and style files.
+The directory names *must* end with a directory separator."
+ :group 'TeX-file
+ :type '(repeat (directory :format "%v")))
+
+
(defcustom TeX-macro-private (append (TeX-parse-path "TEXINPUTS")
(TeX-parse-path "BIBINPUTS"))
"Directories where you store your personal TeX macros.
@@ -3758,8 +3807,12 @@
(let ((table (make-syntax-table (make-char-table (if (featurep 'xemacs)
'syntax
'syntax-table)))))
- (modify-syntax-entry ?\f ">" table)
- (modify-syntax-entry ?\n ">" table)
+ ;; Preset mode-independent syntax entries. (Mode-dependent
+ ;; entries are set in the function `TeX-search-syntax-table'.)
+ ;; ?\" explicitely gets whitespace syntax because Emacs 21.3 and
+ ;; XEmacs don't generate a completely empty syntax table.
+ (dolist (elt '((?\f . ">") (?\n . ">") (?\" .
" ")))
+ (modify-syntax-entry (car elt) (cdr elt) table))
table)
"Syntax table used for searching purposes.
It should be accessed through the function `TeX-search-syntax-table'.")
@@ -3769,32 +3822,22 @@
ARGS may be a list of characters. For each of them the
respective predefined syntax is set. Currently the parenthetical
characters ?{, ?}, ?[, and ?] are supported. The syntax of each
-of these characters not specified will be reset to \" \".
-Besides the escape characters ?\\\\ and ?@ as well as the comment
-character ?% may be specified. This should not be necessary as
-they are set automatically if they are omitted."
- (let ((char-syntax-alist '((?\\ . "\\")
- (?\@ . "\\")
- (?\% . "<")
- (?\{ . "(}")
+of these characters not specified will be reset to \" \"."
+ (let ((char-syntax-alist '((?\{ . "(}")
(?\} . "){")
(?\[ . "(]")
(?\] . ")["))))
- ;; First clean up.
- (dolist (item char-syntax-alist)
- (modify-syntax-entry (car item) " " TeX-search-syntax-table))
- ;; Set the escape character automatically if it is not specified
- ;; explicitely. (This could be done as well once when the mode is
- ;; being initialized.)
- (unless (or (memq ?\\ args) (memq ?\@ args))
- (modify-syntax-entry (string-to-char TeX-esc) "\\"
- TeX-search-syntax-table))
- ;; Same for comment character.
- (unless (and (memq ?\% args) (eq major-mode 'texinfo-mode))
+ ;; Preset mode-dependent syntax entries. (Mode-independent entries
+ ;; are set when the variable `TeX-search-syntax-table' is created.)
+ (modify-syntax-entry (string-to-char TeX-esc) "\\"
TeX-search-syntax-table)
+ (unless (eq major-mode 'texinfo-mode)
(modify-syntax-entry ?\% "<" TeX-search-syntax-table))
+ ;; Clean up the entries which can be specified as arguments.
+ (dolist (elt char-syntax-alist)
+ (modify-syntax-entry (car elt) " " TeX-search-syntax-table))
;; Now set what we got.
- (dolist (item args)
- (modify-syntax-entry item (cdr (assoc item char-syntax-alist))
+ (dolist (elt args)
+ (modify-syntax-entry elt (cdr (assoc elt char-syntax-alist))
TeX-search-syntax-table))
;; Return the syntax table.
TeX-search-syntax-table))
@@ -4350,7 +4393,10 @@
(require 'reporter)
(reporter-submit-bug-report
"auc-tex(a)sunsite.dk"
- (concat "AUCTeX " AUCTeX-version)
+ (concat "AUCTeX " AUCTeX-version
+ (if (string-match "^CVS-" AUCTeX-version)
+ (format " (%s)" AUCTeX-date)
+ ""))
(list 'window-system
'LaTeX-version
'TeX-style-path
1.8 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/article.el
Index: article.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/article.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- article.el 2005/01/18 13:54:48 1.7
+++ article.el 2005/02/11 19:02:07 1.8
@@ -1,6 +1,6 @@
;;; article.el - Special code for article style.
-;; $Id: article.el,v 1.7 2005/01/18 13:54:48 oub Exp $
+;; $Id: article.el,v 1.8 2005/02/11 19:02:07 oub Exp $
;;; Code:
1.3 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/beamer.el
Index: beamer.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/beamer.el,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- beamer.el 2005/01/18 13:54:48 1.2
+++ beamer.el 2005/02/11 19:02:07 1.3
@@ -5,7 +5,7 @@
;; Author: Thomas Baumann <thomas.baumann(a)ch.tum.de>
;; Created: 2003-12-20
-;; Version: $Id: beamer.el,v 1.2 2005/01/18 13:54:48 oub Exp $
+;; Version: $Id: beamer.el,v 1.3 2005/02/11 19:02:07 oub Exp $
;; Keywords: tex
;;; Commentary:
1.8 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/book.el
Index: book.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/book.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- book.el 2005/01/18 13:54:48 1.7
+++ book.el 2005/02/11 19:02:07 1.8
@@ -1,6 +1,6 @@
;;; book.el - Special code for book style.
-;; $Id: book.el,v 1.7 2005/01/18 13:54:48 oub Exp $
+;; $Id: book.el,v 1.8 2005/02/11 19:02:07 oub Exp $
;;; Code:
1.8 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/danish.el
Index: danish.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/danish.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- danish.el 2005/01/18 13:54:48 1.7
+++ danish.el 2005/02/11 19:02:07 1.8
@@ -1,6 +1,6 @@
;;; danish.el - Setup AUC TeX for editing Danish text.
-;; $Id: danish.el,v 1.7 2005/01/18 13:54:48 oub Exp $
+;; $Id: danish.el,v 1.8 2005/02/11 19:02:07 oub Exp $
;;; Code:
1.8 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/dk.el
Index: dk.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/dk.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- dk.el 2005/01/18 13:54:48 1.7
+++ dk.el 2005/02/11 19:02:07 1.8
@@ -1,6 +1,6 @@
;;; dk.el - Setup AUC TeX for editing Danish text.
-;; $Id: dk.el,v 1.7 2005/01/18 13:54:48 oub Exp $
+;; $Id: dk.el,v 1.8 2005/02/11 19:02:07 oub Exp $
;;; Code:
1.8 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/dutch.el
Index: dutch.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/dutch.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- dutch.el 2005/01/18 13:54:48 1.7
+++ dutch.el 2005/02/11 19:02:07 1.8
@@ -1,6 +1,6 @@
;;; dutch.el - Setup AUC TeX for editing Dutch text.
-;; $Id: dutch.el,v 1.7 2005/01/18 13:54:48 oub Exp $
+;; $Id: dutch.el,v 1.8 2005/02/11 19:02:07 oub Exp $
;;; Code:
1.8 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/foils.el
Index: foils.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/foils.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- foils.el 2005/01/18 13:54:48 1.7
+++ foils.el 2005/02/11 19:02:07 1.8
@@ -1,6 +1,6 @@
;;; foils.el - Special code for FoilTeX.
-;; $Id: foils.el,v 1.7 2005/01/18 13:54:48 oub Exp $
+;; $Id: foils.el,v 1.8 2005/02/11 19:02:07 oub Exp $
;;; Code:
1.8 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/german.el
Index: german.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/german.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- german.el 2005/01/18 13:54:48 1.7
+++ german.el 2005/02/11 19:02:08 1.8
@@ -1,6 +1,6 @@
;;; german.el - Setup AUC TeX for editing German text.
-;; $Id: german.el,v 1.7 2005/01/18 13:54:48 oub Exp $
+;; $Id: german.el,v 1.8 2005/02/11 19:02:08 oub Exp $
;;; Commentary:
;;
1.9 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/harvard.el
Index: harvard.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/harvard.el,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- harvard.el 2005/01/18 13:54:49 1.8
+++ harvard.el 2005/02/11 19:02:08 1.9
@@ -2,7 +2,7 @@
;; Harvard citation style is from Peter Williams
;; available on the CTAN servers
-;; Version: $Id: harvard.el,v 1.8 2005/01/18 13:54:49 oub Exp $
+;; Version: $Id: harvard.el,v 1.9 2005/02/11 19:02:08 oub Exp $
;; Copyright (C) 1994 Berwin Turlach <berwin(a)core.ucl.ac.be>
;; Copyright (C) 1997 Berwin Turlach <berwin.turlach(a)anu.edu.au>
1.8 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/j-article.el
Index: j-article.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/j-article.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- j-article.el 2005/01/18 13:54:49 1.7
+++ j-article.el 2005/02/11 19:02:08 1.8
@@ -1,6 +1,6 @@
;;; j-article.el - Special code for j-article style.
-;; $Id: j-article.el,v 1.7 2005/01/18 13:54:49 oub Exp $
+;; $Id: j-article.el,v 1.8 2005/02/11 19:02:08 oub Exp $
;;; Code:
1.8 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/j-book.el
Index: j-book.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/j-book.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- j-book.el 2005/01/18 13:54:49 1.7
+++ j-book.el 2005/02/11 19:02:08 1.8
@@ -1,6 +1,6 @@
;;; j-book.el - Special code for j-book style.
-;; $Id: j-book.el,v 1.7 2005/01/18 13:54:49 oub Exp $
+;; $Id: j-book.el,v 1.8 2005/02/11 19:02:08 oub Exp $
;;; Code:
1.8 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/j-report.el
Index: j-report.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/j-report.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- j-report.el 2005/01/18 13:54:49 1.7
+++ j-report.el 2005/02/11 19:02:08 1.8
@@ -1,6 +1,6 @@
;;; j-report.el - Special code for j-report style.
-;; $Id: j-report.el,v 1.7 2005/01/18 13:54:49 oub Exp $
+;; $Id: j-report.el,v 1.8 2005/02/11 19:02:08 oub Exp $
;;; Code:
1.8 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/jarticle.el
Index: jarticle.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/jarticle.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- jarticle.el 2005/01/18 13:54:49 1.7
+++ jarticle.el 2005/02/11 19:02:08 1.8
@@ -1,6 +1,6 @@
;;; jarticle.el - Special code for jarticle style.
-;; $Id: jarticle.el,v 1.7 2005/01/18 13:54:49 oub Exp $
+;; $Id: jarticle.el,v 1.8 2005/02/11 19:02:08 oub Exp $
;;; Code:
1.8 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/jbook.el
Index: jbook.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/jbook.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- jbook.el 2005/01/18 13:54:49 1.7
+++ jbook.el 2005/02/11 19:02:08 1.8
@@ -1,6 +1,6 @@
;;; jbook.el - Special code for jbook style.
-;; $Id: jbook.el,v 1.7 2005/01/18 13:54:49 oub Exp $
+;; $Id: jbook.el,v 1.8 2005/02/11 19:02:08 oub Exp $
;;; Code:
1.8 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/jreport.el
Index: jreport.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/jreport.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- jreport.el 2005/01/18 13:54:49 1.7
+++ jreport.el 2005/02/11 19:02:08 1.8
@@ -1,6 +1,6 @@
;;; jreport.el - Special code for jreport style.
-;; $Id: jreport.el,v 1.7 2005/01/18 13:54:49 oub Exp $
+;; $Id: jreport.el,v 1.8 2005/02/11 19:02:08 oub Exp $
;;; Code:
1.8 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/latexinfo.el
Index: latexinfo.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/latexinfo.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- latexinfo.el 2005/01/18 13:54:49 1.7
+++ latexinfo.el 2005/02/11 19:02:08 1.8
@@ -3,7 +3,7 @@
;; Copyright (C) 1993 Marc Gemis <makke(a)wins.uia.ac.be>
;; Author: Marc Gemis <makke(a)wins.uia.ac.be>
-;; Version: $Id: latexinfo.el,v 1.7 2005/01/18 13:54:49 oub Exp $
+;; Version: $Id: latexinfo.el,v 1.8 2005/02/11 19:02:08 oub Exp $
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
1.8 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/letter.el
Index: letter.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/letter.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- letter.el 2005/01/18 13:54:50 1.7
+++ letter.el 2005/02/11 19:02:08 1.8
@@ -1,6 +1,6 @@
;;; letter.el - Special code for letter style.
-;; $Id: letter.el,v 1.7 2005/01/18 13:54:50 oub Exp $
+;; $Id: letter.el,v 1.8 2005/02/11 19:02:08 oub Exp $
;;; Code:
1.6 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/ngerman.el
Index: ngerman.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/ngerman.el,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ngerman.el 2005/01/18 13:54:50 1.5
+++ ngerman.el 2005/02/11 19:02:08 1.6
@@ -1,6 +1,6 @@
;;; ngerman.el - Setup AUC TeX for editing German text.
-;; $Id: ngerman.el,v 1.5 2005/01/18 13:54:50 oub Exp $
+;; $Id: ngerman.el,v 1.6 2005/02/11 19:02:08 oub Exp $
;;; Commentary:
;;
1.8 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/plfonts.el
Index: plfonts.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/plfonts.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- plfonts.el 2005/01/18 13:54:50 1.7
+++ plfonts.el 2005/02/11 19:02:08 1.8
@@ -1,6 +1,6 @@
;;; plfonts.el - Setup AUC TeX for editing Polish text with plfonts.sty
-;; $Id: plfonts.el,v 1.7 2005/01/18 13:54:50 oub Exp $
+;; $Id: plfonts.el,v 1.8 2005/02/11 19:02:08 oub Exp $
;;; Commentary:
;;
1.8 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/plhb.el
Index: plhb.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/plhb.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- plhb.el 2005/01/18 13:54:50 1.7
+++ plhb.el 2005/02/11 19:02:08 1.8
@@ -1,6 +1,6 @@
;;; plhb.el - Setup AUC TeX for editing Polish text with plhb.sty
-;; $Id: plhb.el,v 1.7 2005/01/18 13:54:50 oub Exp $
+;; $Id: plhb.el,v 1.8 2005/02/11 19:02:08 oub Exp $
;;; Commentary:
;;
1.5 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/prosper.el
Index: prosper.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/prosper.el,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- prosper.el 2005/01/18 13:54:50 1.4
+++ prosper.el 2005/02/11 19:02:09 1.5
@@ -62,7 +62,7 @@
(defconst LaTeX-prosper-version
- "$Id: prosper.el,v 1.4 2005/01/18 13:54:50 oub Exp $"
+ "$Id: prosper.el,v 1.5 2005/02/11 19:02:09 oub Exp $"
"prosper.el version.")
(defconst LaTeX-prosper-transition-styles '("Split"
1.8 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/report.el
Index: report.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/report.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- report.el 2005/01/18 13:54:50 1.7
+++ report.el 2005/02/11 19:02:09 1.8
@@ -1,6 +1,6 @@
;;; report.el - Special code for report style.
-;; $Id: report.el,v 1.7 2005/01/18 13:54:50 oub Exp $
+;; $Id: report.el,v 1.8 2005/02/11 19:02:09 oub Exp $
;;; Code:
1.5 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/scrartcl.el
Index: scrartcl.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/scrartcl.el,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- scrartcl.el 2005/01/18 13:54:50 1.4
+++ scrartcl.el 2005/02/11 19:02:09 1.5
@@ -6,7 +6,7 @@
;; Author: Mark Trettin <Mark.Trettin(a)gmx.de>
;; Created: 2002-09-26
-;; Version: $Id: scrartcl.el,v 1.4 2005/01/18 13:54:50 oub Exp $
+;; Version: $Id: scrartcl.el,v 1.5 2005/02/11 19:02:09 oub Exp $
;; Keywords: tex
;;; Commentary:
1.5 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/scrbase.el
Index: scrbase.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/scrbase.el,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- scrbase.el 2005/01/18 13:54:50 1.4
+++ scrbase.el 2005/02/11 19:02:09 1.5
@@ -5,7 +5,7 @@
;; Author: Mark Trettin <Mark.Trettin(a)gmx.de>
;; Created: 2002-09-26
-;; Version: $Id: scrbase.el,v 1.4 2005/01/18 13:54:50 oub Exp $
+;; Version: $Id: scrbase.el,v 1.5 2005/02/11 19:02:09 oub Exp $
;; Keywords: tex
;; License: GPL, see the file COPYING in the base directory of AUCTeX
1.5 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/scrbook.el
Index: scrbook.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/scrbook.el,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- scrbook.el 2005/01/18 13:54:50 1.4
+++ scrbook.el 2005/02/11 19:02:09 1.5
@@ -6,7 +6,7 @@
;; Author: Mark Trettin <Mark.Trettin(a)gmx.de>
;; Created: 2002-09-26
-;; Version: $Id: scrbook.el,v 1.4 2005/01/18 13:54:50 oub Exp $
+;; Version: $Id: scrbook.el,v 1.5 2005/02/11 19:02:09 oub Exp $
;; Keywords: tex
;;; Commentary:
1.5 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/scrlttr2.el
Index: scrlttr2.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/scrlttr2.el,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- scrlttr2.el 2005/01/18 13:54:51 1.4
+++ scrlttr2.el 2005/02/11 19:02:09 1.5
@@ -6,7 +6,7 @@
;; Author: Mark Trettin <Mark.Trettin(a)gmx.de>
;; Created: 2002-10-26
-;; Version: $Id: scrlttr2.el,v 1.4 2005/01/18 13:54:51 oub Exp $
+;; Version: $Id: scrlttr2.el,v 1.5 2005/02/11 19:02:09 oub Exp $
;; Keywords: tex
;;; Commentary:
1.5 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/scrreprt.el
Index: scrreprt.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/scrreprt.el,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- scrreprt.el 2005/01/18 13:54:51 1.4
+++ scrreprt.el 2005/02/11 19:02:09 1.5
@@ -6,7 +6,7 @@
;; Author: Mark Trettin <Mark.Trettin(a)gmx.de>
;; Created: 2002-09-26
-;; Version: $Id: scrreprt.el,v 1.4 2005/01/18 13:54:51 oub Exp $
+;; Version: $Id: scrreprt.el,v 1.5 2005/02/11 19:02:09 oub Exp $
;; Keywords: tex
;;; Commentary:
1.8 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/swedish.el
Index: swedish.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/swedish.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- swedish.el 2005/01/18 13:54:51 1.7
+++ swedish.el 2005/02/11 19:02:09 1.8
@@ -1,6 +1,6 @@
;;; swedish.el - Setup AUC TeX for editing Swedish text.
-;; $Id: swedish.el,v 1.7 2005/01/18 13:54:51 oub Exp $
+;; $Id: swedish.el,v 1.8 2005/02/11 19:02:09 oub Exp $
;;; Commentary:
;;
1.8 +0 -0 XEmacs/packages/xemacs-packages/auctex/etc/virtex.el
Index: virtex.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/etc/virtex.el,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- virtex.el 2005/01/18 13:54:51 1.7
+++ virtex.el 2005/02/11 19:02:09 1.8
@@ -1,6 +1,6 @@
;;; virtex.el - Common code for all TeX formats.
-;; $Id: virtex.el,v 1.7 2005/01/18 13:54:51 oub Exp $
+;; $Id: virtex.el,v 1.8 2005/02/11 19:02:09 oub Exp $
;;; Code:
1.1 XEmacs/packages/xemacs-packages/auctex/etc/jsarticle.el
Index: jsarticle.el
===================================================================
;;; jsarticle.el - Special code for jsarticle style.
;; $Id: jsarticle.el,v 1.1 2005/02/11 19:02:08 oub Exp $
;;; Code:
(TeX-add-style-hook "jsarticle"
(function (lambda ()
(setq LaTeX-largest-level (LaTeX-section-level "section")))))
;;; jsarticle.el ends here
1.1 XEmacs/packages/xemacs-packages/auctex/etc/jsbook.el
Index: jsbook.el
===================================================================
;;; jsbook.el - Special code for jsbook style.
;; $Id: jsbook.el,v 1.1 2005/02/11 19:02:08 oub Exp $
;;; Code:
(TeX-add-style-hook "jsbook"
(function (lambda ()
(setq LaTeX-largest-level (LaTeX-section-level "chapter")))))
;;; jsbook.el ends here
1.3 +51 -16 XEmacs/packages/xemacs-packages/auctex/texi/auctex.texi
Index: auctex.texi
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/texi/auctex.texi,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- auctex.texi 2005/01/18 13:54:54 1.2
+++ auctex.texi 2005/02/11 19:02:14 1.3
@@ -19,7 +19,7 @@
@titlepage
@title @AUCTeX{}
@subtitle A much enhanced @TeX{}/@LaTeX{} mode for Emacs.
-@subtitle Version 11.54
+@subtitle Version 11.55
@author by Kresten Krab Thorup
@author updates from 6.1 to 11.13 by Per Abrahamsen
@@ -69,7 +69,7 @@
@AUCTeX{} is an integrated environment for editing @LaTeX{} and
@TeX{} files.
-This file documents @AUCTeX{} version 11.54.
+This file documents @AUCTeX{} version 11.55.
Although @AUCTeX{} contains a large number of features, there are no
reasons to despair. You can continue to write @TeX{} and @LaTeX{}
@@ -108,8 +108,10 @@
@end ifnottex
+@ifnothtml
@shortcontents
@contents
+@end ifnothtml
@menu
* Copying:: Copying
@@ -1373,9 +1375,9 @@
Sectioning commands are macros like @samp{\chapter} or @samp{\section}.
For these commands there are two fontification schemes which may be
-selected by customizing the variable @code{font-latex-title-fontity}.
+selected by customizing the variable @code{font-latex-title-fontify}.
-@defopt font-latex-title-fontity
+@defopt font-latex-title-fontify
Per default sectioning commands will be shown in a larger, proportional
font, which corresponds to the value @samp{height} for this variable.
The font size varies with the sectioning level, e.g. @samp{\part} will
@@ -2526,12 +2528,6 @@
@cindex ISO 8859 Latin 2
@cindex Latin 2
@cindex ANSI
-@cindex Denmark
-@cindex Danish
-@cindex Holland
-@cindex Dutch
-@cindex Germany
-@cindex Poland
First you will need a way to write non-ASCII characters. You can either
use macros, or teach @TeX{} about the ISO character sets. I prefer the
@@ -2566,13 +2562,14 @@
@end table
+@cindex ispell
@AUCTeX{} supports style files for several languages. Each style file
-may modify some @AUCTeX{} to better support the language, and will run
+may modify @AUCTeX{} to better support the language, and will run
a language specific hook that will allow you to for example change
ispell dictionary, or run code to change the keyboard remapping. The
following will for example choose a Danish dictionary for documents
-including the @file{dk.sty} file. This requires parsing to be enabled,
-@pxref{Parsing Files}.
+including @samp{\usepackage[danish]@{babel@}}.
+This requires parsing to be enabled, @pxref{Parsing Files}.
@lisp
(add-hook 'TeX-language-dk-hook
@@ -2580,14 +2577,43 @@
@end lisp
The following style files are recognized.
+@c In alphabetic order of the hooks:
+@vindex TeX-language-cz-hook
+@vindex TeX-language-dk-hook
+@vindex TeX-language-nl-hook
+@vindex TeX-language-de-hook
+@vindex TeX-language-it-hook
+@vindex TeX-language-pl-hook
+@vindex TeX-language-sk-hook
+@vindex TeX-language-sv-hook
+@cindex Czech
+@cindex Italy
+@cindex Denmark
+@cindex Danish
+@cindex Holland
+@cindex Dutch
+@cindex Germany
+@cindex Poland
+@cindex Slovakia
+@cindex Sweden
@table @file
-@item dk
-Runs style hook @code{TeX-language-dk-hook}.
+@item czech
+Runs style hook @code{TeX-language-cz-hook}. Pressing @key{"} will
+insert @samp{\uv@{} and @samp{@}} depending on context.
+
+@c Is the difference between dk and danish really intented?
+@item danish
+Runs style hook @code{TeX-language-dk-hook}. Pressing @key{"} will
+insert @samp{"`} and @samp{"'} depending on context.
+@c dk.sty seems to be obsolete, so we don't want to encourage using it.
+@c @item dk
+@c Runs style hook @code{TeX-language-dk-hook}.
@item dutch
Runs style hook @code{TeX-language-nl-hook}.
@item german
+@itemx ngerman
Runs style hook @code{TeX-language-de-hook}. Gives @samp{"} word
syntax, makes the @key{"} key insert a literal @samp{"}, and pressing it
twice will give you opening or closing german quotes (@samp{"`} or
@@ -2596,7 +2622,8 @@
@item italian
Runs style hook @code{TeX-language-it-hook}. Pressing @key{"} will
-insert @samp{"<} and @samp{">} depending on context.
+insert @samp{"<} (@code{LaTeX-italian-open-quote}) and @samp{">}
+(@code{LaTeX-italian-close-quote}) depending on context.
@item plfonts
@itemx plhb
@@ -2604,6 +2631,14 @@
Gives @samp{"} word syntax and makes the @key{"} key insert a literal
@samp{"}. Pressing @key{"} twice will insert @samp{"<} or
@samp{">}
depending on context.
+
+@item slovak
+Runs style hook @code{TeX-language-sk-hook}. Pressing @key{"} will
+insert @samp{\uv@{} and @samp{@}} depending on context.
+
+@item swedish
+Runs style hook @code{TeX-language-sv-hook}. Pressing @key{"} will
+insert @samp{''}.
@end table
@node Japanese
1.9 +34 -1 XEmacs/packages/xemacs-packages/auctex/texi/changes.texi
Index: changes.texi
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/texi/changes.texi,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- changes.texi 2005/01/18 13:54:54 1.8
+++ changes.texi 2005/02/11 19:02:15 1.9
@@ -4,6 +4,39 @@
@end ifset
+@heading News in 11.55
+
+@itemize @bullet
+@item
+A bug was fixed which lead to the insertion of trailing whitespace
+during filling. In particular extra spaces were added to sentence
+endings at the end of lines. You can make this whitespace visible by
+setting the variable @code{show-trailing-whitespace} to @code{t}. If
+you want to delete all trailing whitespace in a buffer, type @kbd{M-x
+delete-trailing-whitespace RET}.
+
+@item
+A bug was fixed which lead to a @samp{*Compile-Log*} buffer popping up
+when the first @LaTeX{} file was loaded in an Emacs session.
+
+@item
+On some systems the presence of an outdated Emacspeak package lead to
+the error message @samp{File mode specification error: (error "Variable
+binding depth exceeds max-specpdl-size")}. Precautions were added which
+prevent this error from happening. But nevertheless, it is advised to
+upgrade or uninstall the outdated Emacspeak package.
+
+@item
+The value of @code{TeX-macro-global} is not determined during
+configuration anymore but at load time of @AUCTeX{}. Consequently the
+associated configuration option @samp{--with-tex-input-dirs} was
+removed.
+
+@item
+Support for the @LaTeX{} Japanese classes @samp{jsarticle} and
+@samp{jsbook} was added.
+@end itemize
+
@heading News in 11.54
@itemize @bullet
@@ -217,7 +250,7 @@
@item
Sectioning commands are now shown in a larger font on display devices
which support such fontification. The variable
-@code{font-latex-title-fontity} can be customized to restore the old
+@code{font-latex-title-fontify} can be customized to restore the old
appearance, i.e. the usage of a different color instead of a change in
size.
1.6 +2 -15 XEmacs/packages/xemacs-packages/auctex/texi/install.texi
Index: install.texi
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/texi/install.texi,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- install.texi 2005/01/18 13:54:55 1.5
+++ install.texi 2005/02/11 19:02:15 1.6
@@ -97,7 +97,8 @@
path if necessary.
@item --with-lispdir=@var{/dir}
-This tells where to install Emacs Lisp files. Normally, this option is
+This tells where to install the lisp files, note that most of @AUCTeX{}
+will be installed in a subdirectory. Normally, this option is
unnecessary, but may be used if you don't like the directory that
configure is suggesting.
@@ -113,20 +114,6 @@
(that it cannot write to), causing installation to fail. In that case,
a good value for this option is @file{~/.xemacs/xemacs-packages}, as
XEmacs looks there for per-user packages by default.
-
-@item --with-tex-input-dirs=@var{"/dir-1/;/dir-2/;...;/dir-N/"}
-This option allows to specify the directories to be used for file
-searches, e.g. for completion of @LaTeX{} or Bib@TeX{} style file names.
-They will be used in the variable @code{TeX-macro-global}.
-
-Normally only the subdirectories @file{tex/} and @file{bibtex/bst/}
-below the used texmf trees should be relevant. Putting the roots of
-texmf trees here is possible but may slow down file searching.
-
-The directories should be separated by semicolons and each has to end
-with a directory separator, i.e. a slash or a backslash respectively.
-If more than one directory is specified or spaces are used in the name
-of a directory the whole string has to be quoted.
@item --with-auto-dir=@var{/dir}
You can use this option to specify the directory containing
1.8 +9 -4 XEmacs/packages/xemacs-packages/auctex/texi/tex-ref.tex
Index: tex-ref.tex
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/texi/tex-ref.tex,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- tex-ref.tex 2005/01/18 13:54:55 1.7
+++ tex-ref.tex 2005/02/11 19:02:15 1.8
@@ -1,5 +1,5 @@
% -*- plain-tex -*-
-% Reference Card for AUCTeX version 11.54
+% Reference Card for AUCTeX version 11.55
%**start of header
\newcount\columnsperpage
@@ -40,7 +40,7 @@
% Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik
% for creating the GNU Emacs Reference Card from which this was mutated
-\def\versionnumber{11.54}
+\def\versionnumber{11.55}
\def\year{2004}
\def\version{August \year\ v\versionnumber}
@@ -328,10 +328,15 @@
\key{Toggle folding mode}{C-c C-o C-f}
\key{Hide all items in buffer}{C-c C-o C-b}
+\key{Hide all items in region}{C-c C-o C-r}
+\key{Hide all items in paragraph}{C-c C-o C-p}
\key{Hide current macro}{C-c C-o C-m}
\key{Hide current environment}{C-c C-o C-e}
-\key{Show all items in buffer permanently}{C-c C-o C-x}
-\key{Show current item permanently}{C-c C-o C-c}
+\key{Show all items in buffer}{C-c C-o b}
+\key{Show all items in region}{C-c C-o r}
+\key{Show all items in paragraph}{C-c C-o p}
+\key{Show current item}{C-c C-o i}
+\key{Hide or show current item}{C-c C-o C-o}
\copyrightnotice
\penalty-9000
1.3 +0 -24 XEmacs/packages/xemacs-packages/auctex/texi/todo.texi
Index: todo.texi
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/texi/todo.texi,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- todo.texi 2005/01/18 13:54:55 1.2
+++ todo.texi 2005/02/11 19:02:15 1.3
@@ -141,30 +141,6 @@
Suggest @samp{makindex} when appropriate.
@item
-@AUCTeX{} should be able to parse @LaTeX{}2e @file{.cls} files. Here
-are the regexps by @samp{<thiemann@(a)informatik.uni-tuebingen.de>} Peter
-Thiemann.
-
-@example
- ("\\\\DeclareRobustCommand@{?\\\\\\([a-zA-Z]+\\)@}?\\[\\([0-9]+\\)\\]\
-\\[\\([^\]\\\\\n\r]+\\)\\]"
- (1 2 3) LaTeX-auto-optional)
- ("\\\\DeclareRobustCommand@{?\\\\\\([a-zA-Z]+\\)@}?\\[\\([0-9]+\\)\\]"
- (1 2) LaTeX-auto-arguments)
- ("\\\\DeclareRobustCommand@{?\\\\\\([a-zA-Z]+\\)@}?" 1 TeX-auto-symbol)
- ("\\\\DeclareFixedFont@{?\\\\\\([a-zA-Z]+\\)@}?"
- 1 TeX-auto-symbol)
- ("\\\\Declare\\(Text\\|Old\\)FontCommand@{?\\\\\\([a-zA-Z]+\\)@}?"
- 2 TeX-auto-symbol)
-
("\\\\DeclareMath\\(Symbol\\|Delimiter\\|Accent\\|Radical\\)@{?\\\\\\([a-zA-Z]+\\)@}?"
- 2 TeX-auto-symbol)
- ;;; it is also valid to declare just a single symbol, e.g. <,
- ;;; with \DeclareMathSymbol but it is not necessary to register that here
-
("\\\\DeclareText\\(Command\\|Symbol\\|Accent\\|Composite\\)@{?\\\\\\([a-zA-Z]+\\)@}?"
- 2 TeX-auto-symbol)
-@end example
-
-@item
Use index files (when available) to speed up @kbd{C-c C-m include
@key{RET}}.
1.3 +0 -10 XEmacs/packages/xemacs-packages/auctex/texi/wininstall.texi
Index: wininstall.texi
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/auctex/texi/wininstall.texi,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- wininstall.texi 2005/01/18 13:54:55 1.2
+++ wininstall.texi 2005/02/11 19:02:15 1.3
@@ -85,16 +85,6 @@
which gives the location of the package directory for XEmacs where stuff
should be installed. Again, hopefully this is not necessary to specify.
-@item --with-tex-input-dirs=@var{"/dir-1/;/dir-2/;...;/dir-N/"}
-This option allows to specify the directories to be used for file
-searches, e.g. for completion of LaTeX or BibTeX style file names. They
-will be used in the variable @code{TeX-macro-global}.
-
-@command{configure} will usually figure out the right value for this option
-but will only succeed if it finds the necessary programs of the @TeX{}
-system in the system path. Which should be there for running @AUCTeX{},
-anyway.
-
@item --with-auto-dir=@var{/dir}
Directory containing automatically generated information. You should
not normally need to set this, as @samp{--prefix} should take care of