diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/toptesi/toptesi-it-pdftex-def.ps')
-rw-r--r-- | Master/texmf-dist/doc/latex/toptesi/toptesi-it-pdftex-def.ps | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/toptesi/toptesi-it-pdftex-def.ps b/Master/texmf-dist/doc/latex/toptesi/toptesi-it-pdftex-def.ps new file mode 100644 index 00000000000..7a894f7a191 --- /dev/null +++ b/Master/texmf-dist/doc/latex/toptesi/toptesi-it-pdftex-def.ps @@ -0,0 +1,45 @@ +%! +% $Id: PDFA_def.ps 8284 2007-10-10 17:40:38Z giles $ +% This is a sample prefix file for creating a PDF/A document. +% Feel free to modify entries marked with "Customize". + +% This assumes an ICC profile to reside in the file (ISO Coated sb.icc), +% unless the user modifies the corresponding line below. + + +systemdict /ProcessColorModel known { + systemdict /ProcessColorModel get dup /DeviceGray ne exch /DeviceRGB ne and +} { + true +} ifelse +{ (ERROR: ProcessColorModel must be /DeviceGray or DeviceRGB.)= + /ProcessColorModel cvx /rangecheck signalerror +} if + + +% Define entries to the document Info dictionary : + +/ICCProfile (/Users/claudio/icc/ECI-RGB.V1.0.icc) def +%/ICCProfile (/System/Library/ColorSync/Profiles/Generic CMYK Profile.icc) def + +[ /Title (La classe TOPtesi) % Customize. +/Author (Claudio Beccari) % Customize. +/Subject (File PDF ottenuto con XeLaTeX) % Customize. + /DOCINFO pdfmark + +% Define an ICC profile : + +[/_objdef {icc_PDFA} /type /stream /OBJ pdfmark +[{icc_PDFA} <</N systemdict /ProcessColorModel get /DeviceGray eq {1} {4} ifelse >> /PUT pdfmark +[{icc_PDFA} ICCProfile (r) file /PUT pdfmark + +% Define the output intent dictionary : + +[/_objdef {OutputIntent_PDFA} /type /dict /OBJ pdfmark +[{OutputIntent_PDFA} << + /Type /OutputIntent % Must be so (the standard requires). + /S /GTS_PDFA1 % Must be so (the standard requires). + /DestOutputProfile {icc_PDFA} % Must be so (see above). + /OutputConditionIdentifier (CGATS TR001) % Customize +>> /PUT pdfmark +[{Catalog} <</OutputIntents [ {OutputIntent_PDFA} ]>> /PUT pdfmark |