summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/test/mkiv/pdf-a1a-2005.mkiv
blob: ec767bf829c3cde8cf1ee3dbffa96508a408a04d (plain)
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
% PDF/A-1a:2005

\enabletrackers[structure.tags,backend.tags,backend.xmp]

\setupbackend
  [format=PDF/A-1a:2005,
   intent=sRGB IEC61966-2.1, % use <info> entry here; otherwise problems with predefined default profile
   profile=sRGB.icc, % use <filename> here
 % profile={sRGB.icc,default_gray.icc}]
   level=0]

\setuptagging[state=start]

\setupcolors[cmyk=no]
\definecolor[rgbblack][b=0.01]
\definecolor[transtest][r=1,g=1,t=0.25]% transparency is not allowed

\placebookmarks[chapter][all][force=yes]



\starttext

\starttextcolor[rgbblack]

\startchapter[title=aa,bookmark=bb,list=cc,marking=dd]

Test for PDF/A-1a:2005

\stopchapter

\stoptextcolor

\hbox\bgroup
    \blackrule[width=1cm,height=1cm,color=red]
    \blackrule[width=1cm,height=1cm,color=green]
    \blackrule[width=1cm,height=1cm,color=blue]
    \blackrule[width=1cm,height=1cm,color=rgbblack]
    \blackrule[width=1cm,height=1cm,color=transtest]\hskip-.5cm
    \blackrule[width=1cm,height=1cm,color=transtest]
\egroup

\stoptext