auctex
[Top][All Lists]
Advanced

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

[AUCTeX] Re: automatic completion of styles


From: Seweryn Kokot
Subject: [AUCTeX] Re: automatic completion of styles
Date: Wed, 18 Oct 2006 09:17:34 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

thanks to you and Ralf Angeli for help concerning "make install"!

> > I have another problem with style files: in /home/sewi/texmf/tex/style
> > directory I have: mystyle.el and pstricks.el files. In foo.tex file I
> > have:
> > usepackage{mystyle}
> > usepackage{pstricks}
> > 
> > and mystyle macros are available while pstricks macros are not
> > available when typing C-c C-m. What I'm doing wrong now?

> mystyle is probably parseable by AUCTeX while PStricks, being a
> complicated mess, isn't.
> 

I investigated that a bit and I found that in sources
auctex-11.83/latex.el there is a line
(TeX-add-style-hook "pstricks" 'TeX-PDF-mode-off)
when I comment it out and install again auctex then pstricks.el
(dowloaded from http://www.emacswiki.org/cgi-bin/wiki/pstricks.el)
works as expected and for example \psline is available after C-c C-m!

Is that mean that emacs/auctex executes (TeX-add-style-hook "pstricks"
...) only once and then blocks any other trials of adding "pstricks" style?

> PStricks would be a really good candidate for writing a supporting
> Lisp style manually, but nobody did that yet.

As I mentioned it exists (written by Jean-Philippe Georget), 
any chance to include it in auctex?

Regards,
Seweryn Kokot





reply via email to

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