-
Notifications
You must be signed in to change notification settings - Fork 178
/
m3color003.uptex.tlg
510 lines (510 loc) · 17.5 KB
/
m3color003.uptex.tlg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
This is a generated file for the LaTeX (2e + expl3) validation system.
Don't change this file in any respect.
Author: Joseph Wright
============================================================
TEST 1: Multiple models: selecting
============================================================
> \box...=
\hbox(6.94444+0.0)x22.50005
.\special{color push gray 0.1}
.\special{ps:SDict begin /color.sc {} def end}
.\OT1/cmr/m/n/10 H
.\OT1/cmr/m/n/10 e
.\OT1/cmr/m/n/10 l
.\OT1/cmr/m/n/10 l
.\OT1/cmr/m/n/10 o
.\special{color pop}
! OK.
<argument> \l_tmpa_box
l. ... }
> \box...=
\hbox(6.94444+0.0)x22.50005
.\special{color push rgb 0.1 0.1 0.2}
.\special{ps:SDict begin /color.sc {} def end}
.\OT1/cmr/m/n/10 H
.\OT1/cmr/m/n/10 e
.\OT1/cmr/m/n/10 l
.\OT1/cmr/m/n/10 l
.\OT1/cmr/m/n/10 o
.\special{color pop}
! OK.
<argument> \l_tmpa_box
l. ... }
> \box...=
\hbox(6.94444+0.0)x22.50005
.\special{color push rgb 0.1 0.2 0.3}
.\special{ps:SDict begin /color.sc {} def end}
.\OT1/cmr/m/n/10 H
.\OT1/cmr/m/n/10 e
.\OT1/cmr/m/n/10 l
.\OT1/cmr/m/n/10 l
.\OT1/cmr/m/n/10 o
.\special{color pop}
! OK.
<argument> \l_tmpa_box
l. ... }
> \box...=
\hbox(6.94444+0.0)x22.50005
.\special{color push cmyk 0.1 0.2 0.3 0.4}
.\special{ps:SDict begin /color.sc {} def end}
.\OT1/cmr/m/n/10 H
.\OT1/cmr/m/n/10 e
.\OT1/cmr/m/n/10 l
.\OT1/cmr/m/n/10 l
.\OT1/cmr/m/n/10 o
.\special{color pop}
! OK.
<argument> \l_tmpa_box
l. ... }
> \box...=
\hbox(6.94444+0.0)x22.50005
.\special{color push gray 0.181}
.\special{ps:SDict begin /color.sc {} def end}
.\OT1/cmr/m/n/10 H
.\OT1/cmr/m/n/10 e
.\OT1/cmr/m/n/10 l
.\OT1/cmr/m/n/10 l
.\OT1/cmr/m/n/10 o
.\special{color pop}
! OK.
<argument> \l_tmpa_box
l. ... }
============================================================
============================================================
TEST 2: Multiple models: named
============================================================
Defining \l__color_named_foo1_tl on line ...
Defining \l__color_named_foo1_prop on line ...
Defining \l__color_named_test_tl on line ...
Defining \l__color_named_test_prop on line ...
The color test has the properties:
> model => cmyk
> cmyk => 0.55 0.1 0.15 0.2.
<recently read> }
l. ... }
The color test has the properties:
> model => rgb
> rgb => 0.05 0.05 0.6.
<recently read> }
l. ... }
============================================================
============================================================
TEST 3: Multiple models: xcolor data
============================================================
Defining \l__color_named_foo2_tl on line ...
Defining \l__color_named_foo2_prop on line ...
The color foo2 has the properties:
> model => rgb
> rgb => 0.1 0.1 0.2.
<recently read> }
l. ... }
============================================================
============================================================
TEST 4: Mixing multiple models
============================================================
Defining \l__color_named_myexpr1_tl on line ...
Defining \l__color_named_myexpr1_prop on line ...
The color myexpr1 has the properties:
> model => rgb
> rgb => 1 0 1
> cmyk => 1 0 0 1.
<recently read> }
l. ... }
Defining \l__color_named_myexpr2_tl on line ...
Defining \l__color_named_myexpr2_prop on line ...
The color myexpr2 has the properties:
> model => cmyk
> cmyk => 1 0 0 1
> rgb => 1 0 1.
<recently read> }
l. ... }
Defining \l__color_named_myC_tl on line ...
Defining \l__color_named_myC_prop on line ...
The color myC has the properties:
> model => rgb
> rgb => 0.79 0.79 0.79
> cmyk => 0.09 0.09 0.09 0.09.
<recently read> }
l. ... }
Defining \l__color_named_myD_tl on line ...
Defining \l__color_named_myD_prop on line ...
The color myD has the properties:
> model => cmyk
> cmyk => 0.09 0.09 0.09 0.09
> rgb => 0.79 0.79 0.79.
<recently read> }
l. ... }
============================================================
============================================================
TEST 5: Exporting multiple models
============================================================
> \l_tmpa_tl={rgb}{0.3 0.3 0.3}.
<recently read> }
l. ... }
> \l_tmpa_tl={cmyk}{1.0 0.0 0.0 0.0}.
<recently read> }
l. ... }
> \l_tmpa_tl=4C4C4C.
<recently read> }
l. ... }
> \l_tmpa_tl=4C4C4C.
<recently read> }
l. ... }
> \l_tmpa_tl=1.0 0.0 0.0 0.0.
<recently read> }
l. ... }
> \l_tmpa_tl=1.0 0.0 0.0 0.0.
<recently read> }
l. ... }
> \l_tmpa_tl=0.3 0.3 0.3.
<recently read> }
l. ... }
> \l_tmpa_tl=0.3 0.3 0.3.
<recently read> }
l. ... }
============================================================
============================================================
TEST 6: Showing multiple models
============================================================
The color foo1 has the properties:
> model => cmyk
> cmyk => 0.1 0.2 0.3 0.4
> rgb => 0.1 0.1 0.2.
<recently read> }
l. ... }
============================================================
============================================================
TEST 7: Multiple models with model fixed
============================================================
Defining \l__color_named_mixA_tl on line ...
Defining \l__color_named_mixA_prop on line ...
The color mixA has the properties:
> model => rgb
> rgb => 1 0 0
> cmyk => 1 0 0 0.
<recently read> }
l. ... }
The color mixA has the properties:
> model => rgb
> rgb => 1 0 0
> cmyk => 1 0 0 0.
<recently read> }
l. ... }
The color mixA has the properties:
> model => rgb
> rgb => 1 0 0
> cmyk => 1 0 0 0.
<recently read> }
l. ... }
============================================================
============================================================
TEST 8: Creating new models
============================================================
Defining \c__color_fallback_BarToneCMYK_tl on line ...
Defining \__color_backend_fill_BarToneCMYK:n on line ...
Defining \__color_backend_stroke_BarToneCMYK:n on line ...
Defining \__color_backend_select_BarToneCMYK:n on line ...
Defining \__color_model_BarToneCMYK_white: on line ...
Defining \__color_parse_mix_BarToneCMYK:nw on line ...
Defining \__color_parse_model_BarToneCMYK:w on line ...
Defining \__color_convert_BarToneCMYK_cmyk:w on line ...
Defining \__color_convert_BarToneCMYK_rgb:w on line ...
Defining \__color_convert_BarToneCMYK_gray:w on line ...
Defining \l__color_named_fooCMYK_tl on line ...
Defining \l__color_named_fooCMYK_prop on line ...
The color fooCMYK has the properties:
> model => BarToneCMYK
> BarToneCMYK => 0.5.
<recently read> }
l. ... }
Defining \c__color_fallback_BarToneRGB_tl on line ...
Defining \__color_backend_fill_BarToneRGB:n on line ...
Defining \__color_backend_stroke_BarToneRGB:n on line ...
Defining \__color_backend_select_BarToneRGB:n on line ...
Defining \__color_model_BarToneRGB_white: on line ...
Defining \__color_parse_mix_BarToneRGB:nw on line ...
Defining \__color_parse_model_BarToneRGB:w on line ...
Defining \__color_convert_BarToneRGB_rgb:w on line ...
Defining \__color_convert_BarToneRGB_cmyk:w on line ...
Defining \__color_convert_BarToneRGB_gray:w on line ...
Defining \l__color_named_fooRGB_tl on line ...
Defining \l__color_named_fooRGB_prop on line ...
The color fooRGB has the properties:
> model => BarToneRGB
> BarToneRGB => 0.5.
<recently read> }
l. ... }
Defining \c__color_fallback_BarToneGray_tl on line ...
Defining \__color_backend_fill_BarToneGray:n on line ...
Defining \__color_backend_stroke_BarToneGray:n on line ...
Defining \__color_backend_select_BarToneGray:n on line ...
Defining \__color_model_BarToneGray_white: on line ...
Defining \__color_parse_mix_BarToneGray:nw on line ...
Defining \__color_parse_model_BarToneGray:w on line ...
Defining \__color_convert_BarToneGray_cmyk:w on line ...
Defining \__color_convert_BarToneGray_gray:w on line ...
Defining \__color_convert_BarToneGray_rgb:w on line ...
Defining \l__color_named_fooGray_tl on line ...
Defining \l__color_named_fooGray_prop on line ...
The color fooGray has the properties:
> model => BarToneGray
> BarToneGray => 0.5.
<recently read> }
l. ... }
Defining \c__color_fallback_BarToneCIELAB_tl on line ...
Defining \__color_backend_fill_BarToneCIELAB:n on line ...
Defining \__color_backend_stroke_BarToneCIELAB:n on line ...
Defining \__color_backend_select_BarToneCIELAB:n on line ...
Defining \__color_model_BarToneCIELAB_white: on line ...
Defining \__color_parse_mix_BarToneCIELAB:nw on line ...
Defining \__color_parse_model_BarToneCIELAB:w on line ...
Defining \__color_convert_BarToneCIELAB_cmyk:w on line ...
Defining \__color_convert_BarToneCIELAB_rgb:w on line ...
Defining \__color_convert_BarToneCIELAB_gray:w on line ...
The color BarToneCIELAB is undefined.
> .
<recently read> }
l. ... }
============================================================
============================================================
TEST 9: Creating new models: errors
============================================================
! LaTeX3 Error: Color model 'BarToneCMYK' already defined.
For immediate help type H <return>.
...
l. ... }
LaTeX was asked to define a new color model called 'BarToneCMYK', but this
color model already exists.
! LaTeX3 Error: Unknown color model type 'nope'.
For immediate help type H <return>.
...
l. ... }
LaTeX has been asked to create a new color model called 'nope', but this type
of model was never set up.
! LaTeX3 Error: Separation color space 'foo2' require a formal name.
For immediate help type H <return>.
...
l. ... }
LaTeX has been asked to create a separation color space, but no
name = <formal name>
key was given with the correct information.
! LaTeX3 Error: Separation color space 'foo2' require an alternative model.
For immediate help type H <return>.
...
l. ... }
LaTeX has been asked to create a separation color space, but no
alternative-model = <model>
key was given with the correct information.
! LaTeX3 Error: Missing/extra '=' in 'alternative-model' (in '..._keyval:Nn')
Type <return> to continue.
...
l. ... }
LaTeX does not know anything more about this error, sorry.
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX3 Error: Separation color space 'foo3' require an alternative model.
For immediate help type H <return>.
...
l. ... }
LaTeX has been asked to create a separation color space, but no
alternative-model = <model>
key was given with the correct information.
! LaTeX3 Error: Separation color space 'foo' require an valid alternative
(LaTeX3) space.
For immediate help type H <return>.
...
l. ... }
LaTeX has been asked to create a separation color space, but the model given
as
alternative-model = <model>
is unknown.
! LaTeX3 Error: Separation color space 'foo5' require values for the
(LaTeX3) alternative space.
For immediate help type H <return>.
...
l. ... }
LaTeX has been asked to create a separation color space, but no
alternative-values = <model>
key was given with the correct information.
! LaTeX3 Error: Separation color space 'foo5' require values for the
(LaTeX3) alternative space.
For immediate help type H <return>.
...
l. ... }
LaTeX has been asked to create a separation color space, but no
alternative-values = <model>
key was given with the correct information.
============================================================
============================================================
TEST 10: Converting new models
============================================================
> \l_tmpa_tl=BFB2A6.
<recently read> }
l. ... }
> \l_tmpa_tl=0.05 0.1 0.15 0.2.
<recently read> }
l. ... }
> \l_tmpa_tl=EFECE9.
<recently read> }
l. ... }
============================================================
============================================================
TEST 11: Mixing separations
============================================================
Defining \l__color_named_foo_tl on line ...
Defining \l__color_named_foo_prop on line ...
The color foo has the properties:
> model => BarToneCMYK
> BarToneCMYK => 0.35.
<recently read> }
l. ... }
The color foo has the properties:
> model => BarToneCMYK
> BarToneCMYK => 0.55.
<recently read> }
l. ... }
The color foo has the properties:
> model => BarToneCMYK
> BarToneCMYK => 0.35.
<recently read> }
l. ... }
The color foo has the properties:
> model => BarToneCIELAB
> BarToneCIELAB => 0.55.
<recently read> }
l. ... }
============================================================
============================================================
TEST 12: Mixing separation: failures
============================================================
The color foo has the properties:
> model => BarToneCMYK
> BarToneCMYK => 1.
<recently read> }
l. ... }
The color foo has the properties:
> model => BarToneCMYK
> BarToneCMYK => 1.
<recently read> }
l. ... }
The color foo has the properties:
> model => BarToneCMYK
> BarToneCMYK => 1.
<recently read> }
l. ... }
The color foo has the properties:
> model => BarToneCIELAB
> BarToneCIELAB => 1.
<recently read> }
l. ... }
The color foo has the properties:
> model => BarToneCIELAB
> BarToneCIELAB => 1.
<recently read> }
l. ... }
The color foo has the properties:
> model => BarToneCIELAB
> BarToneCIELAB => 1.
<recently read> }
l. ... }
============================================================
============================================================
TEST 13: DeviceN spaces
============================================================
Defining \c__color_fallback_TwoUp_tl on line ...
Defining \__color_backend_fill_TwoUp:n on line ...
Defining \__color_backend_stroke_TwoUp:n on line ...
Defining \__color_backend_select_TwoUp:n on line ...
Defining \__color_model_TwoUp_white: on line ...
Defining \__color_parse_model_TwoUp:w on line ...
Defining \__color_parse_mix_TwoUp:nw on line ...
Defining \__color_convert_TwoUp_gray:w on line ...
Defining \__color_convert_TwoUp_rgb:w on line ...
Defining \__color_convert_TwoUp_cmyk:w on line ...
Defining \l__color_named_twoup_tl on line ...
Defining \l__color_named_twoup_prop on line ...
The color foo has the properties:
> model => TwoUp
> TwoUp => 0.75 0.25.
<recently read> }
l. ... }
The color foo has the properties:
> model => TwoUp
> TwoUp => 0.375 0.125.
<recently read> }
l. ... }
Defining \c__color_fallback_AllIn_tl on line ...
Defining \__color_backend_fill_AllIn:n on line ...
Defining \__color_backend_stroke_AllIn:n on line ...
Defining \__color_backend_select_AllIn:n on line ...
Defining \__color_model_AllIn_white: on line ...
Defining \__color_parse_model_AllIn:w on line ...
Defining \__color_parse_mix_AllIn:nw on line ...
Defining \__color_convert_AllIn_gray:w on line ...
Defining \__color_convert_AllIn_rgb:w on line ...
Defining \__color_convert_AllIn_cmyk:w on line ...
Defining \l__color_named_allin_tl on line ...
Defining \l__color_named_allin_prop on line ...
The color foo has the properties:
> model => AllIn
> AllIn => 0.75 0.25 0.0 0.0 0.0.
<recently read> }
l. ... }
The color foo has the properties:
> model => AllIn
> AllIn => 0.375 0.125 0 0 0.
<recently read> }
l. ... }
============================================================
============================================================
TEST 14: DeviceN errors
============================================================
! LaTeX3 Error: DeviceN color spaces require a single alternative space.
For immediate help type H <return>.
...
l. ... }
LaTeX has been asked to create a DeviceN color space 'TwoUpMixed', but the
constituent colors do not have a common alternative color.
============================================================
============================================================
TEST 15: ICCBased spaces
============================================================
Defining \c__color_fallback_ICC_tl on line ...
Defining \__color_backend_fill_ICC:n on line ...
Defining \__color_backend_stroke_ICC:n on line ...
Defining \__color_backend_select_ICC:n on line ...
Defining \__color_model_ICC_white: on line ...
Defining \__color_parse_model_ICC:w on line ...
Defining \__color_parse_mix_ICC:nw on line ...
Defining \l__color_named_ICC3_tl on line ...
Defining \l__color_named_ICC3_prop on line ...
The color foo has the properties:
> model => ICC
> ICC => 0.75 0.25 0.125.
<recently read> }
l. ... }
The color foo has the properties:
> model => ICC
> ICC => 0.375 0.125 0.0625.
<recently read> }
l. ... }
============================================================
============================================================
TEST 16: ICCBased errors
============================================================
! LaTeX3 Error: ICCBased color space 'ICCmixed' require an file.
For immediate help type H <return>.
...
l. ... }
LaTeX has been asked to create an ICCBased color space, but no
file = <name>
key was given with the correct information. LaTeX will ignore this request.
! LaTeX3 Error: ICCBased color space 'ICCmixed' require a number of
(LaTeX3) components.
For immediate help type H <return>.
...
l. ... }
LaTeX has been asked to create an ICCBased color space, but no
compontents = <number>
key was given with the correct information. LaTeX will ignore this request.
============================================================