[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-devel] imakeidx.el and a patch for latex.el
From: |
address@hidden |
Subject: |
[AUCTeX-devel] imakeidx.el and a patch for latex.el |
Date: |
Thu, 27 Dec 2012 12:34:37 +0100 (CET) |
Hi all,
I'm attaching a style for `imakeidx.sty'. It needs to know available
pagestyles, but AUCTeX only hardcodes default pagestyles in `latex.el', so I
wrote a patch for `latex.el' in which is defined a new customizable variable
(`LaTeX-pagestyle-list') containing a list of the pagestyles. I'm attaching
also this patch against current CVS version. In `imakeidx.el' this list should
be used as possible values in a key-value option, so it is converted from a
list of lists of strings into a list of strings. I'm not an Elisp hacker,
someone may improve my code.
A possible `fancyhdr.el' may add `fancy' pagestyle with something like
----------------------------------
(setq LaTeX-pagestyle-list
(append LaTeX-pagestyle-list
'(("fancy"))))
----------------------------------
or a simple `add-to-list'. In LaTeX, to define a new pagestyle called XXX one
needs to define a new command called address@hidden'. Is possible for AUCTeX
to
automatically recognize this as a pagestyle and add it to `LaTeX-pagestyle-
list' variable?
Bye,
Mosè Giordano
latex.el.patch
Description: Text Data
imakeidx.el
Description: Text Data
- [AUCTeX-devel] imakeidx.el and a patch for latex.el,
address@hidden <=