Debian Codegraph @

texmf-dist/doc/latex/xcolor/ChangeLog

raw
1 Package `xcolor' by Dr. Uwe Kern
2 https://github.com/latex3/xcolor/issues
3
4 History
5 =======
6 2024/09/29 v3.02
7 * remove definitions of color groups as they are already in the kernel.
8
9 2024/09/17
10 * unknown model error handled (issue #1)
11
12 2024/03/13
13 * Add \relax after \ProcessKeyOptions to improve error context lines
14
15 2023/11/15 v3.01
16 * only warn and not error if obsolete option usenames is used, issue #31
17
18 2023/11/11 v3.00
19 * If a LaTeX older than 2022-06-01 is detected a frozen version is used.
20 All new features apply only if LaTeX 2022-06-01 or newer is detected.
21 The frozen version can also be requested with \usepackage{xcolor}[=v2].
22 * The new LaTeX key/val handler is used for the package options. That means there
23 will be fewer option clash errors, issue #29
24 * The \rowcolors command has moved to the colortbl package
25 * The fixpdftex option is obsolete and does nothing at all (issue #20)
26 * Extended \normalcolor to set also the "dot" color, issue #19
27 * Fix Gray color model, issue #23
28
29 2022/06/12 v2.14
30 * New features:
31 - Load if it exists the code from LaTeX to define \mathcolor.
32 * Bugfixes (LaTeX Team)
33 - Modify \XC@info to avoid spurious error from \colorlet{foo}{} issue #12
34 - make \normalcolor, \colorbox, \fcolorbox \textcolor, \pagecolor,
35 \nopagecolor, \definecolor, \DefineNamedColor protected as in color.sty issue #17
36
37 2021/10/31 v2.13
38 * Bugfixes (LaTeX Team)
39 - use \@backslashchar color rather than \string\color to
40 generate internal csnames, to avoid relying on the
41 current setting of \escapechar
42 - Declare dvisvgm option to match graphics and color packages.
43 Make dvipdfm an alias for dvipdfmx
44 - Modify \XC@info to avoid spurious text from \colorlet{foo}{.!50}
45
46 2016/05/11 v2.12
47 * New features:
48 - \nopagecolor command as introduced in `color' v1.1a
49 (example added to xcolor3.tex);
50 - `luatex' driver option (code provided by DPC) to fix
51 incompatibilities due to changes in new LuaTeX version.
52 * Bugfixes:
53 - possible name conflict by \XC@ifxcase call;
54 - incorrect internal \@hex@@Hex macro.
55
56 2007/01/21 v2.11
57 * New features:
58 - color names `lime' and `teal' added to the set of predefined
59 colors.
60 * Bugfix:
61 - incorrect \XC@strip@comma call within `hyperref'-related options.
62
63 2006/11/28 v2.10
64 * New features:
65 - `fixinclude' option prevents dvips from explicitly resetting
66 current color to `black' before actually inserting an .eps file
67 via \color{red}\includegraphics{foo}.
68 * Changes:
69 - \colorbox and \fcolorbox made robust;
70 - obsolete package option `pst' removed;
71 - several changes to internal macros.
72 * Bugfixes:
73 - incorrect processing of cmyk-type current color `.'.
74
75 2005/12/21 v2.09
76 * New features:
77 - \definecolor and \color now accept space-separated color
78 specifications, e.g., \color[rgb]{1 .5 0};
79 - experimental `xcdraw' option extended to `pdftex' and `dvipdfm'
80 drivers.
81 * Changes:
82 - test file xcolor2.tex made compatible with recent changes in
83 `pstricks';
84 - test file xcolor3.tex extended;
85 - driver test file xcolor4.tex extended to demonstrate the different
86 frame drawing approaches;
87 - more efficient implementation of driver-specific code.
88
89 2005/11/25 v2.08
90 * New features:
91 - more flexibility for \fcolorbox arguments, e.g.,
92 \fcolorbox[gray]{0.5}[wave]{580}{test};
93 - \boxframe returns a frame of given dimensions;
94 - new implementation of \f(rame)box and \fcolorbox as an extension
95 of bug report latex/3655 to reduce pixel positioning errors in
96 output devices;
97 - `kernelfbox' option for those who prefer the previous \f(rame)box
98 approach;
99 - experimental `xcdraw' option uses PostScript commands to draw
100 frames and color boxes in case of `dvips'.
101 * Bugfixes:
102 - insufficient expression type detection within \colorlet;
103 - wrong calculation in the unit interval reduction for negative
104 integers (affecting color series and extended color expressions).
105
106 2005/11/12 v2.07
107 * New features:
108 - color model `Hsb' allows to specify hue in degrees;
109 - color model `tHsb' (`tuned Hsb') for user-defined hue
110 configuration on color wheels;
111 - easy generation of color harmonies derived from `Hsb' or `tHsb'
112 color wheels, e.g., \color{red>wheel,1,12} yields an `analogous'
113 color to `red' on a 12-spoke wheel;
114 - additional 317 predefined color names according to rgb.txt, which
115 is part of Unix/X11 distributions;
116 - `svgnames' option extended by 4 colors taken from rgb.txt;
117 - enhanced syntax for immediate conversion, e.g.,
118 \definecolor{foo}{rgb:gray}{0.3} or \color[rgb:wave]{478};
119 - \@ifundefinedcolor and \@ifundefinedmodel commands.
120 * Changes:
121 - enhanced documentation;
122 - several changes to internal macros.
123 * Bugfixes:
124 - wrong calculation of color series components in some cases of
125 negative step parameters.
126
127 2005/10/15 v2.06
128 * New features:
129 - color model `wave' for (approximate) visualisation of light
130 wavelengths, still somewhat experimental;
131 - pseudo-model `ps' for colors defined by literal PostScript code
132 in conjunction with `pstricks and `dvips'; an illustrative
133 example for a gamma-correction approach is given in xcolor2.tex;
134 - \substitutecolormodel command for replacement of missing or
135 faulty driver-specific color models;
136 - improved detection and handling of driver-specific color models;
137 - `dvipdfmx' and `xetex' options to support these drivers;
138 - generic driver test file xcolor4.tex.
139 * Changes:
140 - \XC@strip@comma doesn't generate a trailing space anymore, which
141 improves also the output of the `testcolors' environment.
142
143 2005/09/30 v2.05
144 * New features:
145 - `testcolors' environment helps to test colors in different models,
146 showing both the visual result and the model-specific parameters;
147 - \extractcolorspecs puts model/color specification into two
148 separate commands, as opposed to \extractcolorspec;
149 - color names `pink' and `olive' added to the set of predefined
150 colors.
151 * Bugfixes:
152 - \definecolor{foo}{named}{bar} did not work in v2.04.
153
154 2005/09/23 v2.04
155 * New features:
156 - preparation for usage of additional - driver-provided - color
157 models;
158 - `pstricks' users may now specify explicit color parameters within
159 \psset and related commands, e.g., \psset{linecolor=[rgb]{1,0,0}};
160 an illustrative example is given in xcolor2.tex.
161 * Changes:
162 - color model names sanitized (i.e., turned to catcode 12)
163 throughout the package;
164 - \@namelet command deprecated because of name clash with
165 `memoir' - please use \XC@let@cc instead
166 (more \XC@let@.. commands are available as well);
167 - simplified color conversion code by using the new \XC@ifxcase
168 command;
169 - some minor changes to internal macros.
170
171 2005/06/06 v2.03
172 * New features:
173 - `fixpdftex' option loads `pdfcolmk' package in order to improve
174 pdfTeX's color behaviour during page breaks.
175 * Changes:
176 - some minor changes to internal macros.
177 * Bugfixes:
178 - due to an incorrect \if statement within \XC@info, \colorlet
179 caused trouble whenever its second argument started with two
180 identical letters, e.g., \colorlet{rab}{oof};
181 - argument processing of \XC@getcolor caused incompatibility with
182 `msc' package;
183 - `prologue' option caused incompatibility with `preview' package.
184
185 2005/03/24 v2.02
186 * New features:
187 - \aftergroupedef command to reproduce \aftergroupdef's behaviour
188 prior to v2.01;
189 - xcolor's homepage www.ukern.de/tex/xcolor.html now provides also
190 a ready-to-run TDS-compliant archive containing all required
191 files.
192 * Changes:
193 - \rowcolors and friends are solely enabled by the `table' option;
194 - \@ifxempty changed back to more robust variant of v2.00.
195 * Bugfixes:
196 - \psset{linecolor=\ifcase\foo red\or green\or blue\fi} did not work
197 with `pstricks' (error introduced in v2.01).
198
199 2005/03/15 v2.01
200 * New features:
201 - `prologue' option for comprehensive `named' color support in
202 conjunction with `dvips': on-the-fly generation of PostScript
203 prologue files with all color definitions, ready for dvips
204 inclusion and/or post-processing with device-specific parameters
205 (e.g., spot colors);
206 - dvips prologue file xcolor.pro to support additional `named'
207 colors;
208 - \colorlet may now also be used to create named colors from
209 arbitrary color expressions;
210 - enhanced color definition syntax to allow for target-model
211 specific color parameters, e.g.,
212 \definecolor{red}{rgb/cmyk}{1,0,0/0,1,1,0}, facilitating the
213 usage of tailor-made colors both for displays and printers;
214 - `deferred definition' of colors: \preparecolor and
215 \definecolors enable decoupling of color specification and control
216 sequence generation, especially useful (= memory saving) for large
217 lists of colors, of which only a few names are actually used;
218 - `dvipsnames*' and `svgnames*' options to support deferred
219 definition.
220 * Changes:
221 - higher accuracy: most complement calculations are now exact for
222 all 5-digit decimals;
223 - \rangeRGB and similar variables may now be changed at any point
224 in a document;
225 - \aftergroupdef now performs only a first-level expansion of its
226 code argument;
227 - \XCfileversion and similar internal constants removed from .sty
228 and .def files;
229 - improved memory management (reduced generation of `multiletter
230 control sequences' by \@ifundefined tests);
231 - several internal macros improved and/or renamed.
232 * Bugfixes:
233 - \XC@getcolor could cause unwanted spaces when \psset was used
234 inside |pspicture| environments (`pstricks');
235 - arithmetic overflow could happen when too many decimal digits
236 were used within color parameters, e.g., as a result of `fp'
237 calculations.
238
239 2004/07/04 v2.00
240 * New features:
241 - extended functionality for color expressions: mix colors like a
242 painter;
243 - support for color blending: specify color mix expressions that
244 are being blended with every displayed color;
245 - \xglobal command for selective control of globality for color
246 definitions, blends, and masks;
247 - multiple step operations (e.g., \color{foo!!+++}) and access to
248 individual members (e.g., \color{foo!![7]}) in color series;
249 - \providecolor command to define only non-existent colors;
250 - \definecolorset and \providecolorset commands to facilitate the
251 construction of color sets with common underlying color model;
252 - additional 147 predefined color names according to SVG 1.1
253 specification;
254 - `xpdfborder' key for setting the width of hyperlink borders in a
255 more driver-independent way if `dvips' is used.
256 * Changes:
257 - `color' package now completely integrated within `xcolor';
258 - `override', `usenames', `nodvipsnames' options and \xdefinecolor
259 command no longer needed;
260 - `dvips' and `dvipsnames' options now independent of each other;
261 - \tracingcolors's behaviour changed to make it more versatile and
262 reduce log file size in standard cases;
263 - \rdivide's syntax made more flexible (divide by numbers and/or
264 dimensions);
265 - code restructured, some internal commands renamed;
266 - documentation rearranged and enhanced.
267 * Bugfixes:
268 - \definecolor{foo}{named}{bar} did not work (error introduced in
269 v1.11);
270 - more robust behaviour of conditionals within `pstricks'
271 key-values.
272
273 2004/05/09 v1.11
274 * New features:
275 - switch \ifglobalcolors to control whether color definitions are
276 global or local;
277 - option `hyperref' provides color expression support for the
278 border colors of hyperlinks, e.g.,
279 \hypersetup{xurlbordercolor=red!50!yellow};
280 - internal hooks \XC@bcolor, \XC@mcolor, and \XC@ecolor for
281 additional code that has to be executed immediately before/after
282 the current color is being displayed.
283 * Changes:
284 - \XC@logcolor renamed to \XC@display, which is now the core color
285 display command;
286 - improved interface to `pstricks'.
287
288 2004/03/27 v1.10
289 * New features:
290 - support for `named' model;
291 - support for `dvips' colors
292 (may now be used within color expressions);
293 - internal representation of `ordinary' and `named' colors merged
294 into unified data structure;
295 - allow multiple `-' signs at the beginning of color expressions.
296 * Bugfixes:
297 - commands like \color[named]{foo} caused errors when color masking
298 or target model conversion were active;
299 - incompatibility with `soul' package: commands \hl, \ul, etc.
300 could yield unexpected results.
301 * Documentation:
302 - added formula for general color expressions;
303 - enhanced text and index;
304 - removed dependence of index generation on local configuration
305 file.
306
307 2004/02/16 v1.09
308 * New features:
309 - color model `HTML', a 24-bit hexadecimal `RGB' variant;
310 allows to specify colors like \color[HTML]{AFFE90};
311 - color names `orange', `violet', `purple', and `brown' added to
312 the set of predefined colors.
313 * New xcolor homepage: www.ukern.de/tex/xcolor.html
314 * Bugfix: \xdefinecolor sometimes did not normalise its parameters.
315 * Changes:
316 - slight improvements of the documentation;
317 - example file xcolor1.tex reorganised and abridged.
318
319 2004/02/04 v1.08
320 * New commands/features:
321 - \selectcolormodel to change the target model within a document;
322 - \adjustUCRBG to fine-tune undercolor-removal and
323 black-generation during conversion to `cmyk'.
324 * Bugfix: color expressions did not work correctly in connection with
325 active `!' character, e.g., in case of \usepackage[frenchb]{babel}.
326 * Code re-organisation:
327 - \XC@xdefinecolor merged into \xdefinecolor, making the first
328 command obsolete;
329 - several internal commands improved/streamlined.
330
331 2004/01/20 v1.07
332 * New feature: support for color masking and color separation.
333 * New commands:
334 - \rmultiply to multiply a dimension register by a real number;
335 - \xcolorcmd to pass commands that are to be executed at the end
336 of the package.
337 * Changes:
338 - more consistent color handling: extended colors now always take
339 precedence over standard colors;
340 - several commands improved by using code from the LaTeX kernel.
341 * Documentation: some minor changes.
342 * Example files: additional `pstricks' examples (file xcolor2.tex).
343
344 2003/12/15 v1.06
345 * New feature: extended color expressions, allowing for cascaded mix
346 operations, e.g., \color{red!30!green!40!blue}.
347 * Documentation: new section on color expressions.
348 * Bugfix: color series stepping did not work correctly within
349 non-displaying commands like \extractcolorspec{foo!!+}
350 (this bug was introduced in v1.05).
351 * Renamed commands: \ukfileversion and similar internal constants
352 renamed to \XCfileversion etc.
353 * Removed commands: \ifXCpst and \ifXCtable made obsolete by a simple
354 trick.
355
356 2003/11/21 v1.05
357 * Bugfixes:
358 - package option `hideerrors' should now work as expected;
359 - usage of `.' in the first color expression in a document caused
360 an error due to incorrect initialisation.
361 * Code re-organisation: \extractcolorspec now uses \XC@splitcolor,
362 making \XC@extract obsolete.
363
364 2003/11/09 v1.04
365 * New feature: easy access to current color within color expressions.
366 * New option: `override' to replace \definecolor by \xdefinecolor.
367 * New command: \tracingcolors for logging color-specific information.
368
369 2003/09/21 v1.03
370 * Change: bypass strange behaviour of some drivers.
371 * New feature: driver-sharing with `hyperref'.
372
373 2003/09/19 v1.02
374 * Change: \extractcolorspec and \colorlet now also accept color series
375 as arguments.
376
377 2003/09/15 v1.01
378 * New feature: \definecolorseries and friends.
379 * Documentation: removed some `doc'-related side-effects.
380 * Code re-organisation: all calculation-related tools put to one place.
381 * Bugfixes:
382 - \@rdivide: added \relax to fix problem with negative numerators;
383 - \rowc@l@rs: replaced \@ifempty by \@ifxempty.
384
385 2003/09/09 v1.00
386 * First published release.