[Top][All Lists]

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

[AUCTeX-devel] [PATCH] Adding support for xcolor.sty

From: Arash Esbati
Subject: [AUCTeX-devel] [PATCH] Adding support for xcolor.sty
Date: Tue, 17 May 2016 15:17:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93

Hi all,

I have written a style for xcolor.sty and in order to make it work
properly, I had to patch some other styles as well -- change sets are
attached for:

* style/textpos.el ("textpos"): Remove "color" from
("textpos"): Respect both "xcolor" and "color" for query to
"textblockcolour" and "textblockrulecolour" commands.

* style/ntheorem.el ("ntheorem"): Respect both "xcolor" and
"color" for query to "shadecolor" command.

* style/colortbl.el ("colortbl"): Run style hook for "color" only
if "xcolor" is not an active style.
("colortbl"): Check if "xcolor" is an active style and run
(TeX-arg-xcolor) or (TeX-arg-color) respectively to query for the

* style/color.el ("color"): Check if "xcolor" is an active style
and then run `TeX-add-symbols' on commands defined by "color.sty"
and add fontification support.

* (STYLESRC): Add new style xcolor.el.

* style/xcolor.el: Add new file.

Any comments welcome.

Best, Arash

Attachment: 0001-Add-new-style-xcolor.el.patch
Description: Text Data

Attachment: 0002-Run-TeX-add-symbols-if-xcolor-is-not-an-active-style.patch
Description: Text Data

Attachment: 0003-Adjust-query-commands-for-loading-by-xcolor.el.patch
Description: Text Data

Attachment: 0004-Respect-both-xcolor-and-color-for-query-to-shadecolo.patch
Description: Text Data

Attachment: 0005-Respect-both-xcolor-and-color-for-command-queries.patch
Description: Text Data

reply via email to

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