-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpdfa3b.tex
80 lines (60 loc) · 2.06 KB
/
pdfa3b.tex
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
\documentclass{article}
\usepackage[pdfa]{hyperref}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[a-3b]{pdfx}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.xmpdata}
\Keywords{pdfTeX;PDF/X-1a;PDF/A-b}
\Title{Sample LaTeX input file}
\Author{LaTeX project team}
\Org{TeX Users Group} % Publisher
\Doi{123456789}
\Subject{My subject}
\end{filecontents*}
\usepackage{embedfile}
\embedfile[
id={foo},
mimetype={text/html},
desc={An attached file}
]{foo.html}
%%%% WHAT HAVE I TO PUT HERE??? %%%%
% \pdfcatalog{%
% /AF % ???
% }
\begin{document}
Minimal example of a PDF/A-3b with attachments created with LaTeX (pdflatex).
Known problem: \textbf{How to add the /AF entry at pdfcatalog?}
Adobe Preflight information:
\begin{itemize}
\item Embedded file does not have AF entry
\item Embedded file has no AFRelationship entry
\item Embedded file present but no UF key
\end{itemize}
May help:
\url{http://tex.stackexchange.com/questions/82796/hyperref-natbib-and-pdf-a-compliance}
Outras anotações
% ============================================================
% Configuracao para PDF/A-3
% ============================================================
%
% -> Se necessário, usar o script fontmap.pl
% para gerar os arquivos de mapeamento de fontes.
% Mas apenas se for preciso incorporar todas as fontes ao documento.
% Observar que o primeiro grupo de fontes gerados (que possuem apenas 3
% colunas) devem ser removidos. Executar como:
%
% perl fontmap.pl jobname.log >fullembed.map
%
% -> É necessário adicionar a opção pdfa ao carregar o hyperref
% (\documentclass[pdfa]{abntex2}) para que os links (\ref{}) sejam
% anotados corretamente.
%
% -> Informações:
% http://tex.stackexchange.com/questions/82796/hyperref-natbib-and-pdf-a-compliance
% https://github.com/bencomp/pdfx-ext/blob/master/sRGBIEC1966-2.1.icm
% http://support.river-valley.com/wiki/index.php?title=Generating_PDF/A_compliant_PDFs_from_pdftex
%
% ============================================================
\end{document}