auctex
[Top][All Lists]
Advanced

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

[AUCTeX] Re: pstricks style blocked


From: Ralf Angeli
Subject: [AUCTeX] Re: pstricks style blocked
Date: Sun, 10 Jun 2007 20:49:34 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

* Holger Sparr (2007-05-31) writes:

> Looking into it again the `unless' in `TeX-run-style-hooks' defun
> prevents the loading.
>
> ,----
> | (defun TeX-run-style-hooks (&rest styles)
> |   "Run the TeX style hooks STYLES."
> |   (mapcar (lambda (style)
> |         ;; Avoid recursion.
> |         (unless (TeX-member style TeX-active-styles 'string-equal)
> |
> |    [...]
> |
> `----

As far as I can see the following code is the culprit:

,----
| (defun TeX-load-style (style)
|   "Search for and load each definition for STYLE in `TeX-style-path'."
|   (cond ((assoc style TeX-style-hook-list)) ; We already found it
| [...]
`----

> Putting the marked line into a separate file ($AUCTEXDIR/style/pstricks.el)
> should work, since all files named "pstricks.el" in `TeX-style-path' get
> loaded.

I've done this know.  Thanks for your help.

-- 
Ralf





reply via email to

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