summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/hyperxmp/hyperxmp-stds.tex
blob: 2b77c2703d63110d17c44953be82d63e7fd81cfb (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
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
%%
%% This is file `hyperxmp-stds.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% hyperxmp.dtx  (with options: `doc-helper')
%% 
%% This is a generated file.
%% 
%% Copyright (C) 2011-2023 by Scott Pakin <scott+hyxmp@pakin.org>
%% 
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.3c of this license
%% or (at your option) any later version.  The latest version of this
%% license is in:
%% 
%%    http://www.latex-project.org/lppl.txt
%% 
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2008/05/04 or later.
%% 
\let\next=\endinput
\IfFileExists{FOGRA29L_uncoated.icc}
             {\let\next=\relax}
             {}
\next
\let\next=\endinput
\ifPDFTeX
  \let\next=\relax
\else
  \ifLuaTeX
    \usepackage{luatex85}
    \let\next=\relax
  \fi
\fi
\next
\def\wantpdfstandards{}
\typeout{Generating PDF/A-1b compliant hyperxmp documentation.}
\AtBeginDocument{%
  \hypersetup{%
    pdfapart=1,
    pdfaconformance=b
  }%
}
\pdfobjcompresslevel=0
\immediate\pdfobj stream attr {/N 4} file {FOGRA29L_uncoated.icc}
\edef\iccobj{\the\pdflastobj}
\pdfcatalog{%
  /OutputIntents [
    <<
      /Type /OutputIntent
      /S /GTS_PDFA1
      /DestOutputProfile \iccobj\space 0 R
      /OutputConditionIdentifier (Uncoated FOGRA29)
      /Info (FOGRA29L)
    >>
    <<
      /Type /OutputIntent
      /S /GTS_PDFX
      /DestOutputProfile \iccobj\space 0 R
      /OutputConditionIdentifier (Uncoated FOGRA29)
      /Info (FOGRA29L)
    >>
  ]
}
\makeatletter
\AtBeginDocument{%
  \let\HyColor@HyperrefBorderColor\HyColor@XZeroOneThreeFour
}
\makeatother
\AtBeginDocument{%
  \hypersetup{%
    citebordercolor=green,
    linkbordercolor=red,
    urlbordercolor=cyan
  }%
}
\makeatletter
\@tempdima=0.996264\paperwidth
\edef\boxwd{\strip@pt\@tempdima}
\@tempdima=0.996264\paperheight
\edef\boxht{\strip@pt\@tempdima}
\makeatother
\edef\next{%
  \protect\pdfpageattr{
    /BleedBox [0.0 0.0 \boxwd\space \boxht]
    /TrimBox [0.0 0.0 \boxwd\space \boxht]
    /StructParents 0
    /Tabs /S
  }%
}
\next
\endinput
%%
%% End of file `hyperxmp-stds.tex'.