diff options
author | Taco Hoekwater <taco@elvenkind.com> | 2011-06-01 08:54:21 +0000 |
---|---|---|
committer | Taco Hoekwater <taco@elvenkind.com> | 2011-06-01 08:54:21 +0000 |
commit | d7ccb42582f85acf30568913610ccf4d602023fb (patch) | |
tree | 7292e3545a420676878e7451b68892d360c62cb6 /Master/texmf-dist/tex/context/test | |
parent | 2d62a6fe9b80def59c392268022f1f9a2d6e358f (diff) |
commit context 2011.05.18
git-svn-id: svn://tug.org/texlive/trunk@22719 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/test')
-rw-r--r-- | Master/texmf-dist/tex/context/test/pdf-a1a-2005.mkiv | 43 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/test/pdf-a1b-2005.mkiv | 42 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/test/pdf-x-common.mkiv | 30 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/test/pdf-x1a-2001.mkiv | 9 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/test/pdf-x1a-2003.mkiv | 10 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/test/pdf-x3-2002.mkiv | 10 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/test/pdf-x3-2003.mkiv | 9 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/test/pdf-x4.mkiv | 11 | ||||
-rw-r--r-- | Master/texmf-dist/tex/context/test/pdf-x4p.mkiv | 10 |
9 files changed, 174 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/context/test/pdf-a1a-2005.mkiv b/Master/texmf-dist/tex/context/test/pdf-a1a-2005.mkiv new file mode 100644 index 00000000000..4600e7a096b --- /dev/null +++ b/Master/texmf-dist/tex/context/test/pdf-a1a-2005.mkiv @@ -0,0 +1,43 @@ +% PDF/A-1a:2005 + +\enabletrackers[structure.tags,backend.tags] + +\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 + level=0, + ] + +\setupstructure[state=start] + +\setupcolors[cmyk=no] +\definecolor[rgbblack][b=0.01] +\definecolor[transtest][r=1,g=1,t=.5] + + +\placebookmarks[chapter][all][force=yes] + + +\starttext + +\starttextcolor[rgbblack] + +\startchapter[title=aa,bookmark=bb,list=cc,marking=dd] + +Test it + +\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 diff --git a/Master/texmf-dist/tex/context/test/pdf-a1b-2005.mkiv b/Master/texmf-dist/tex/context/test/pdf-a1b-2005.mkiv new file mode 100644 index 00000000000..8a032395cae --- /dev/null +++ b/Master/texmf-dist/tex/context/test/pdf-a1b-2005.mkiv @@ -0,0 +1,42 @@ +% PDF/A-1b:2005 + +\enabletrackers[structure.tags,backend.tags] + +\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 + level=0, + ] + +\setupstructure[state=start] % needed even for 'b'-version + +\setupcolors[cmyk=no] +\definecolor[rgbblack][b=0.01] +\definecolor[transtest][r=1,g=1,t=.5] + + + +\starttext + +\starttextcolor[rgbblack] % forced /DeviceGray causes problems; we need a trigger + +Text is needed, otherwise tagging base entries are not applied. + +\stopchapter + +\stoptextcolor + +%\startTEXpage +\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 +%\stopTEXpage + + +\stoptext diff --git a/Master/texmf-dist/tex/context/test/pdf-x-common.mkiv b/Master/texmf-dist/tex/context/test/pdf-x-common.mkiv new file mode 100644 index 00000000000..463a60e71ff --- /dev/null +++ b/Master/texmf-dist/tex/context/test/pdf-x-common.mkiv @@ -0,0 +1,30 @@ +\showlayoutcomponents % \nopdfcompression + +\setupinteraction + [title=TITLE, + subtitle=SUBTITLE, + author=AUTHOR, + keyword={{KEYWORD1, KEYWORD2}, KEYWORD3}] + +\definecolor[cmykcyan][c=1] +\definecolor[cmykmagenta][m=1] +\definecolor[cmykyellow][y=1] +\definecolor[cmykblack][k=1] +\definecolor[transtest][y=1,a=1,t=.5] + +\starttext + +\startTEXpage + \blackrule[width=1cm,height=1cm,color=cmykcyan] + \blackrule[width=1cm,height=1cm,color=cmykmagenta] + \blackrule[width=1cm,height=1cm,color=cmykyellow] + \blackrule[width=1cm,height=1cm,color=cmykblack] + \blackrule[width=1cm,height=1cm,color=transtest]\hskip-.5cm + \blackrule[width=1cm,height=1cm,color=transtest] +\stopTEXpage + +\startTEXpage + \tt Some text. +\stopTEXpage + +\stoptext diff --git a/Master/texmf-dist/tex/context/test/pdf-x1a-2001.mkiv b/Master/texmf-dist/tex/context/test/pdf-x1a-2001.mkiv new file mode 100644 index 00000000000..a304c8963c3 --- /dev/null +++ b/Master/texmf-dist/tex/context/test/pdf-x1a-2001.mkiv @@ -0,0 +1,9 @@ +% PDF/X-1a:2001 + +\enabletrackers[backend.pdfx] + +\setupbackend + [format=PDF/X-1a:2001, + intent=ISOcoated_v2_eci.icc] + +\input pdf-x-common.mkiv diff --git a/Master/texmf-dist/tex/context/test/pdf-x1a-2003.mkiv b/Master/texmf-dist/tex/context/test/pdf-x1a-2003.mkiv new file mode 100644 index 00000000000..89a0f6066e8 --- /dev/null +++ b/Master/texmf-dist/tex/context/test/pdf-x1a-2003.mkiv @@ -0,0 +1,10 @@ +% PDF/X-1a:2003 + +\enabletrackers[backend.pdfx] + +\setupbackend + [format=PDF/X-1a:2003, + intent=ISOcoated_v2_eci.icc, + option=always] + +\input pdf-x-common.mkiv diff --git a/Master/texmf-dist/tex/context/test/pdf-x3-2002.mkiv b/Master/texmf-dist/tex/context/test/pdf-x3-2002.mkiv new file mode 100644 index 00000000000..1e2310135ec --- /dev/null +++ b/Master/texmf-dist/tex/context/test/pdf-x3-2002.mkiv @@ -0,0 +1,10 @@ +% PDF/X-3:2002 + +\enabletrackers[backend.pdfx] + +\setupbackend + [format=PDF/X-3:2002, + level=9, % maybe compresslevel + intent=ISOcoated_v2_eci.icc] + +\input pdf-x-common.mkiv diff --git a/Master/texmf-dist/tex/context/test/pdf-x3-2003.mkiv b/Master/texmf-dist/tex/context/test/pdf-x3-2003.mkiv new file mode 100644 index 00000000000..bedcde527b6 --- /dev/null +++ b/Master/texmf-dist/tex/context/test/pdf-x3-2003.mkiv @@ -0,0 +1,9 @@ +% PDF/X-3:2003 + +\enabletrackers[backend.pdfx] + +\setupbackend + [format=PDF/X-3:2003, + intent=ISOcoated_v2_eci.icc] + +\input pdf-x-common.mkiv diff --git a/Master/texmf-dist/tex/context/test/pdf-x4.mkiv b/Master/texmf-dist/tex/context/test/pdf-x4.mkiv new file mode 100644 index 00000000000..0566475b5af --- /dev/null +++ b/Master/texmf-dist/tex/context/test/pdf-x4.mkiv @@ -0,0 +1,11 @@ +% PDF/X-4 + +% \nopdfcompression + +\enabletrackers[backend.pdfx] + +\setupbackend + [format=PDF/X-4, + intent=ISOcoated_v2_eci.icc] + +\input pdf-x-common.mkiv diff --git a/Master/texmf-dist/tex/context/test/pdf-x4p.mkiv b/Master/texmf-dist/tex/context/test/pdf-x4p.mkiv new file mode 100644 index 00000000000..9ec8897f811 --- /dev/null +++ b/Master/texmf-dist/tex/context/test/pdf-x4p.mkiv @@ -0,0 +1,10 @@ +% PDF/X-4p + +\enabletrackers[backend.pdfx] + +\setupbackend + [format=PDF/X-4p, + intent=ISOcoated_v2_eci.icc, + profile=sRGB.icc] % test for default colorspace + +\input pdf-x-common.mkiv |