|
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 `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. Best, Arash
0001-Add-new-style-xcolor.el.patch
Description: Text Data
0002-Run-TeX-add-symbols-if-xcolor-is-not-an-active-style.patch
Description: Text Data
0003-Adjust-query-commands-for-loading-by-xcolor.el.patch
Description: Text Data
0004-Respect-both-xcolor-and-color-for-query-to-shadecolo.patch
Description: Text Data
0005-Respect-both-xcolor-and-color-for-command-queries.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |