Hi Arash, 2016-05-17 15:17 GMT+02:00 Arash Esbati <esb...@gmx.de>: > 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è _______________________________________________ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel