auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] Patch for imakeidx.el and latex.el


From: Tassilo Horn
Subject: Re: [AUCTeX-devel] Patch for imakeidx.el and latex.el
Date: Fri, 11 Jan 2013 12:59:20 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Tassilo Horn <address@hidden> writes:

Sorry, I forgot to Cc you.  As a regular contributor, you might want to
join the list or use to the gmane group gmane.emacs.auctex.devel.  I
always forget whom to keep in the Cc. ;-)

Bye,
Tassilo

> Hi Mosè,
>
>> I wrote a patch for `latex.el' against current CVS version to add
>> "LaTeX pagestyle" as a type for the parser.  Pagestyles defined in
>> LaTeX packages and classes will be automatically recognized and added
>> to `LaTeX-pagestyle-list' variable.  I checked that it works with
>> `article.cls', `book.cls' and 'report.  cls' classes and `fancyhdr'
>> package.  I also patched `imakeidx.el' in order to use the new
>> function `LaTeX-pagestyle-list'.
>
> The patch basically looks good, but somehow it doesn't work for me.
> I've tried this doc
>
> \documentclass{article}
>
> \usepackage{fancyhdr}
>
> \begin{document}
>
> address@hidden
>
> address@hidden
>
> \end{document}
>
> and initially, C-c RET pagestyle RET offered me just empty and plain.
> The value of (LaTeX-pagestyle-list) was (("empty") ("plain")).  After
> hitting C-u C-c C-n, I get (("empty") ("foo") ("plain")).  Why is
> ("bar") missing?  And what am I supposed to do to have it pickup the
> fancyhdr "fancy" pagestyle?
>
> I added a (message ...) into `TeX-auto-parse' to see when auctex parses
> tex/sty files, but even with C-u C-c C-n it only parses bar.tex (that
> is, my minimal doc but not fancyhdr.sty).  Do I need to configure
> something special, except for
>
>   (setq TeX-parse-self t)
>   (setq TeX-auto-save t)
>
> Bye,
> Tassilo
>
>
> _______________________________________________
> auctex-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/auctex-devel



reply via email to

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