pdf-a2u.mkiv /size: 1178 b    last modification: 2020-07-01 14:35
1% PDF/A-2u
2
3\enabletrackers[backend.xmp]
4
5\setupbackend
6  [format=PDF/A-2u,
7   intent=sRGB IEC61966-2.1, % use <info> entry here; otherwise problems with predefined default profile
8   profile={sRGB.icc,default_gray.icc},
9   level=0]
10
11\setupinteraction[state=start]% needed for attachment
12%\setupattachment[method=hidden]
13
14\setupcolors[cmyk=no]
15\definecolor[rgbblack][b=0.01]
16\definecolor[transtest][r=1,g=1,t=.25]
17
18\placebookmarks[chapter][all][force=yes]
19
20
21
22\starttext
23
24\starttextcolor[rgbblack]
25
26\startchapter[title=aa,bookmark=bb,list=cc,marking=dd]
27
28Test for PDF/A-2u
29
30\stopchapter
31
32\stoptextcolor
33
34\hbox\bgroup
35    \blackrule[width=1cm,height=1cm,color=red]
36    \blackrule[width=1cm,height=1cm,color=green]
37    \blackrule[width=1cm,height=1cm,color=blue]
38    \blackrule[width=1cm,height=1cm,color=rgbblack]
39    \blackrule[width=1cm,height=1cm,color=transtest]\hskip-.5cm
40    \blackrule[width=1cm,height=1cm,color=transtest]
41\egroup
42
43
44% inclusion of PDF/A is allowed; TODO: test if ANY version (even newer) is allowed
45\attachment[file={attachment_pdf-a1a-2005.pdf}, type={application/pdf}]
46%\attachment[file={attachment_pdf-a1b-2005.pdf}, type={application/pdf}]
47
48\stoptext
49