[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] [PATCH] Adding support for xcolor.sty
From: |
Mosè Giordano |
Subject: |
Re: [AUCTeX-devel] [PATCH] Adding support for xcolor.sty |
Date: |
Wed, 18 May 2016 00:16:10 +0200 |
Hi Arash,
2016-05-17 15:17 GMT+02:00 Arash Esbati <address@hidden>:
> 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
> `TeX-run-style-hooks'.
> ("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
> arguments.
>
> * 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.
>
> * Makefile.in (STYLESRC): Add new style xcolor.el.
>
> * style/xcolor.el: Add new file.
>
> Any comments welcome.
Patches installed, I like your solution for the color vs xcolor
problem. Thank you!
Bye,
Mosè