Debian Codegraph @

texmf-dist/doc/latex/pdfx/small2e-pdfx.tex

raw
1 % This is a small sample LaTeX input file (Version of 10 April 1994)
2 %
3 % Use this file as a model for making your own LaTeX input file.
4 % Everything to the right of a % is a remark to you and is ignored by LaTeX.
5
6 % The Local Guide tells how to run LaTeX.
7
8 % WARNING! Do not type any of the following 10 characters except as directed:
9 % & $ # % _ { } ^ ~ \
10 %
11 %%
12 %% default option for pdfx.sty if not specified on the command-line.
13 \providecommand{\pdfxopt}{a-1b}
14 %%
15 %% Use {filecontents} for the .xmpdata file before input encoding is specified.
16 %%
17 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
18 \begin{filecontents*}{\jobname.xmpdata}
19 % a macro definition, used below
20 \pdfxEnableCommands{% simple macro definitions can be provided everything expands to characters
21 \def\RossPete{Ross \& Pete}
22 }
23 \Title{Sample LaTeX input file}% *not* set by LaTeX's \title
24 \Author{LaTeX project team\sep River Valley Technologies\sep \RossPete}% *not* set by LaTeX's \author
25 \Subject{Metadata for PDF/X, PDF/A and PDF/E conforming documents}
26 \Keywords{pdfTeX\sep PDF/X-1a\sep PDF/A-1b\sep PDF/E-1}
27 \Org{TeX Users Group}
28 \CreatorTool{pdfTeX + pdfx.sty with options \pdfxopt}
29 \Copyright{\Thanh, \CVR, \RossPete}
30 \WebStatement{http://www.tug.org/}% should be URL to copyright statement on the web
31 \Volume{latest in 2015}
32 \Issue{???}
33 \CoverDisplayDate{Special Issue, 2016}
34 \CoverDate{2016-01-01}% must be in format YYYY-MM-DD or YYYY-MM
35 \Doi{0.0.0.0}%
36 \Lastpage{10}
37 \Firstpage{1}%
38 %\PublicationType{journal}% automatically set by \Journaltitle{?}
39 \Journaltitle{TUGboat}%
40 \Journalnumber{0896-3207}% ISSN
41 %
42 % some more macro definitions, used above
43 \pdfxEnableCommands{\def\Thanh{H\`an Th\'{\^e} Thanh}\def\CVR{CV Radhakrishnan}}
44 %
45 % setting the color profile, these reproduce the defaults; use your own, if required
46 %
47 % RGB is used with PDF/A (4 parameters):
48 \setRGBcolorprofile{sRGB_IEC61966-2-1_black_scaled.icc}{sRGB_IEC61966-2-1_black_scaled}{sRGB IEC61966 v2.1 with black scaling}{http://www.color.org}
49 %
50 % For Adobe Color Profiles, set the directory for your system
51 %
52 % e.g. on Mac OS X
53 % What is it under Windows ?
54 %
55 \gdef\ColorProfileDir{/Library/Application Support/Adobe/Color/Profiles/Recommended/}
56 %
57 % For available profiles, see file AdobeColorProfiles.tex
58 % For PDF/X-4p or PDF/X-5pg see file AdobeExternalProfiles.tex
59 %
60 % Now you can use the macros defined in those files:
61 \FOGRAXXXIX
62 %
63 % or CMYK is used with PDF/X (4 parameters)
64 % \setCMYKcolorprofile{\ColorProfileDir coated_FOGRA39L_argl.icc}{Coated FOGRA39}{FOGRA39 (ISO Coated v2 300\%\space (ECI))}{http://www.color.org}
65 \end{filecontents*}
66 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
67 \documentclass{article} % Your input file must contain a \documentclass line and a package+option:
68 \usepackage[\pdfxopt]{pdfx}
69 %\usepackage[x-1]{pdfx}% for PDF/X-1a:2001
70 %\usepackage[x-1a]{pdfx}% for PDF/X-1a:2003
71 %\usepackage[x-3]{pdfx}% for PDF/X-3:2002
72 %\usepackage[x-302]{pdfx}% for PDF/X-3:2002
73 %\usepackage[x-303]{pdfx}% for PDF/X-3:2003
74 %\usepackage[x-4]{pdfx}% for PDF/X-4
75 %\usepackage[x-5g]{pdfx}% for PDF/X-5g
76 %\usepackage[e-1]{pdfx}% for PDF/E-1
77 %\usepackage[a-1b]{pdfx}% for PDF/A-1b
78 %\usepackage[a-2b]{pdfx}% for PDF/A-2b
79 %\usepackage[a-2u]{pdfx}% for PDF/A-2u
80 %\usepackage[a-3b]{pdfx}% for PDF/A-3b
81 %\usepackage[a-3u]{pdfx}% for PDF/A-3u
82 %% PDF/A-1a, -2a, -3a requires fully tagged PDFs
83 %\usepackage[a-1a]{pdfx}% for PDF/A-1a
84 %\usepackage[a-2a]{pdfx}% for PDF/A-2a
85 %\usepackage[a-3a]{pdfx}% for PDF/A-3a
86 %% These later versions are not fully implemented yet.
87 %\usepackage[x-4p]{pdfx}
88 %\usepackage[x-5n]{pdfx}
89 %\usepackage[x-5pg]{pdfx}
90 %% PDF/VT requires special document structure, using DParts
91 %\usepackage[vt-1]{pdfx}
92 %\usepackage[vt-2]{pdfx}
93 %\usepackage[vt-2s]{pdfx}
94 %\usepackage[x-2]{pdfx}% obsolete/withdrawn
95 %%% or one of these, or similar: in a later version
96 %%\usepackage[a-3b,e-1,x-4]{pdfxmult}
97 %%\usepackage[a-3b,e-1,x-3,vt-1]{pdfxmult}
98 %%\usepackage[none]{pdfxmult}
99
100 %\usepackage[utf8]{inputenc}
101 %\usepackage[infoshow]{tracefnt}
102 %\usepackage[T1]{fontenc}
103 %\usepackage[hyperref,cmyk]{xcolor}
104 %\hypersetup{xurlbordercolor=black,xlinkbordercolor=black,linkbordercolor=xlinkbordercolor}
105
106 \begin{document} % plus the \end{document} command at the end.
107
108 \section{Simple Text}\label{sec1}% % This command makes a section title.
109 %
110 Words are separated by one or more spaces. Paragraphs are separated by
111 one or more blank lines. The output is not affected by adding extra
112 spaces or extra blank lines to the input file.
113
114 Double quotes are typed like this: ``quoted text''.
115 Single quotes are typed like this: `single-quoted text'.
116
117 Long dashes are typed as three dash characters---like this.
118
119 Emphasized text is typed like this: \emph{this is emphasized}.
120 Bold text is typed like this: \textbf{this is bold}.
121
122 \subsection{A Warning or Two} % This command makes a subsection title.
123
124 If you get too much space after a mid-sentence period---abbreviations
125 like etc.\ are the common culprits)---then type a backslash followed by
126 a space after the period, as in this sentence.
127
128 Remember, don't type the 10 special characters (such as dollar sign and
129 backslash) except as directed! The following seven are printed by
130 typing a backslash in front of them: \$ \& \# \% \_ \{ and \}.
131 The manual tells how to make other symbols.
132
133 \bigskip\vfil
134 \rightline{\footnotesize Jump back to Section~}%\tracingall\ref{sec1}.}
135
136 \end{document} % The input file ends with this command.