pdf-a2a.mkiv /size: 1234 b    last modification: 2020-07-01 14:35
1% PDF/A-2a
2
3\enabletrackers[structure.tags,backend.tags,backend.xmp]
4
5\setupbackend
6  [format=PDF/A-2a,
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\setuptagging[state=start]
12
13\setupinteraction[state=start]% needed for attachment
14%\setupattachment[method=hidden]
15
16\setupcolors[cmyk=no]
17\definecolor[rgbblack][b=0.01]
18\definecolor[transtest][r=1,g=1,t=.25]
19
20\placebookmarks[chapter][all][force=yes]
21
22
23
24\starttext
25
26\starttextcolor[rgbblack]
27
28\startchapter[title=aa,bookmark=bb,list=cc,marking=dd]
29
30Test for PDF/A-2a
31
32\stopchapter
33
34\stoptextcolor
35
36\hbox\bgroup
37    \blackrule[width=1cm,height=1cm,color=red]
38    \blackrule[width=1cm,height=1cm,color=green]
39    \blackrule[width=1cm,height=1cm,color=blue]
40    \blackrule[width=1cm,height=1cm,color=rgbblack]
41    \blackrule[width=1cm,height=1cm,color=transtest]\hskip-.5cm
42    \blackrule[width=1cm,height=1cm,color=transtest]
43\egroup
44
45
46% inclusion of PDF/A is allowed; TODO: test if ANY version (even newer) is allowed
47%\attachment[file={attachment_pdf-a1a-2005.pdf}, type={application/pdf}]
48\attachment[file={attachment_pdf-a1b-2005.pdf}, type={application/pdf}]
49
50\stoptext
51