From 3c75840c1a14960dc7e45c10220b9763bbe01167 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 13 May 2015 21:34:47 +0000 Subject: pdfx (13may15) git-svn-id: svn://tug.org/texlive/trunk@37386 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/pdfx/README | 40 + Master/texmf-dist/source/latex/pdfx/manifest.txt | 93 ++ Master/texmf-dist/source/latex/pdfx/pdfx.dtx | 1559 ++++++++++++++++------ Master/texmf-dist/source/latex/pdfx/pdfx.ins | 7 +- Master/texmf-dist/source/latex/pdfx/rvdtx.sty | 5 - 5 files changed, 1307 insertions(+), 397 deletions(-) create mode 100644 Master/texmf-dist/source/latex/pdfx/README create mode 100644 Master/texmf-dist/source/latex/pdfx/manifest.txt (limited to 'Master/texmf-dist/source') diff --git a/Master/texmf-dist/source/latex/pdfx/README b/Master/texmf-dist/source/latex/pdfx/README new file mode 100644 index 00000000000..ae89c524149 --- /dev/null +++ b/Master/texmf-dist/source/latex/pdfx/README @@ -0,0 +1,40 @@ +Readme for pdfx package (pdfx.sty) + +pdfx.sty is a LaTeX package which helps to create PDF/X and +PFD/A compliant PDF documents with pdfTeX. + +Installation: + +Create a directory $TEXMF/tex/latex/pdfx and copy pdfx.sty, *.xmp, +*.icc, 8bit.def, and glyphtounicode-cmr.tex to this directory. Update +the file database of your TeX system. + +Documentation: + +Composite documentation and code is available in src/pdfx.dtx. Run +TeX/LaTeX on pdfx.ins to extract pdfx.sty from pdfx.dtx. If you +[pdf]LaTeX pdfx.dtx, you will get pdfx.pdf which is the human readable +documentation. + +A Makefile is provided in the src directory. Following steps will +create the documentation GNU/Linux or similar operating system: + + make pdf + make out + make index + make changes + make pdf + +'make out' is for manipulating the bookmarks file to create QUICK +LINKS in the pdf document. + +Licence: + +The package is released under LaTeX Project Public Licence. + +Authors: + +CV Radhakrishnan +Han The Thanh +Ross Moore +Peter Selinger diff --git a/Master/texmf-dist/source/latex/pdfx/manifest.txt b/Master/texmf-dist/source/latex/pdfx/manifest.txt new file mode 100644 index 00000000000..e18735a1928 --- /dev/null +++ b/Master/texmf-dist/source/latex/pdfx/manifest.txt @@ -0,0 +1,93 @@ +% \iffalse meta-comment +% +% Copyright 2008 CV Radhakrishnan and Han The Thanh +% Copyright 2015 Ross Moore and Peter Selinger +% +% This file is part of the 'pdfx' package. +% ---------------------------------------- +% +% It may be distributed and/or modified under the conditions of the +% LaTeX Project Public License, either version 1.2 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.2 +% or later is part of all distributions of LaTeX version 1999/12/01 or +% later. +% +% The color profile sRGB_IEC61966-2-1_black_scaled.icc is +% Copyright 2009 International Color Consortium. +% It is distributed under the terms given in the file `ICC_LICENSE.txt'. +% +% The list of all files belonging to the LaTeX package, 'pdfx.sty' is +% given in the file `manifest.txt'. +% +% \fi +% +% CONTENTS + +README + Readme file + +pdfx.sty + the main package + +glyphtounicode-cmr.tex + maps glyphnames in cmr font to Unicode + +pdfa.xmp + XMP template for PDF/A documents + +pdfe.xmp + XMP template for PDF/E documents + +pdfvt.xmp + XMP template for PDF/VT documents + +pdfx.xmp + XMP template for PDF/X documents + +8bit.def + custom input encoding + +coated_FOGRA39L_argl.icc + CMYK color profile + +sRGB_IEC61966-2-1_black_scaled.icc + RGB color profile + +ICC_LICENSE.txt + the license for the color profiles + +pdfx.pdf + documentation in PDF format + +sample.tex + example TeX document + +sample.xmpdata + example metadata file + +small2e-pdfx.tex + example TeX document + +small2e-pdfx.xmpdata + example metadata file + +small2e-pdfx.pdf + example pdf document + +manifest.txt + file list + +Directory: src + +Makefile + make file for compiling documentation + +pdfx.dtx + main package with driver + +pdfx.ins + main installer batch file + +rvdtx.sty + extra package needed to compile documentation diff --git a/Master/texmf-dist/source/latex/pdfx/pdfx.dtx b/Master/texmf-dist/source/latex/pdfx/pdfx.dtx index a888096aa3c..debb49866a1 100644 --- a/Master/texmf-dist/source/latex/pdfx/pdfx.dtx +++ b/Master/texmf-dist/source/latex/pdfx/pdfx.dtx @@ -2,8 +2,10 @@ % % File: pdfx.dtx % -% Copyright (c) 2008, CV Radhakrishnan , -% Han The Thanh +% Copyright (c) 2015, CV Radhakrishnan , +% Han The Thanh , +% Ross Moore , +% Peter Selinger % % This file may be distributed and/or modified under the conditions % of the LaTeX Project Public License, either version 1.2 of this @@ -17,7 +19,7 @@ % % \fi % -% \CheckSum{376} +% \CheckSum{1844} % \iffalse % %<*driver> @@ -27,7 +29,7 @@ \CodelineIndex \RecordChanges \begin{document} - \DocInput{pdfx.dtx} + \DocInput{\jobname.dtx} \PrintChanges \PrintIndex \end{document} @@ -67,19 +69,36 @@ % \DoNotIndex{\meaning,\newcounter,\next,\or,\par,\renewcommand} % \DoNotIndex{\renewcommand,\renewenvironment,\stepcounter} % \DoNotIndex{\Tg,\thepage,\unskip,\write,\advance,\{,\}} +% \DoNotIndex{\@ifpackageloaded,\@pdfcreationdate,\@pdfcreator} +% \DoNotIndex{\@pdfmoddate,\AtBeginDocument,\catcode,\DeclareOption} +% \DoNotIndex{\endinput,\endlinechar,\errmessage,\everyeof,\futurelet} +% \DoNotIndex{\Hy@DisableOption,\Hy@UseMaketitleInfos,\hypersetup} +% \DoNotIndex{\inputencoding,\InputIfFileExists,\NeedsTeXFormat} +% \DoNotIndex{\newif,\noexpand,\obeyspaces,\PackageError,\PDF@FinishDoc} +% \DoNotIndex{\pdfcatalog,\pdfcreationdate,\pdfgeninterwordspace} +% \DoNotIndex{\pdfinterwordspace,\pdfinterwordspaceoff,\pdfgentounicode} +% \DoNotIndex{\pdfinfo,\pdfinterwordspaceon,\pdflastobj,\pdfmapline} +% \DoNotIndex{\pdfmdfivesum,\pdfminorversion,\pdfobj,\pdfobjcompresslevel} +% \DoNotIndex{\pdfpageattr,\pdfresetpageorigin,\pdfstringdef} +% \DoNotIndex{\pdftexbanner,\ProcessOptions,\ProvidesPackage,\RequirePackage} +% \DoNotIndex{\scantokens,\typeout} % % \changes{v1.00}{2008/12/01}{Initial commit to the CVS.} % \changes{v1.01}{2008/12/10}{glyphtounicode-cmr.tex included with the % package.} % \changes{v1.3}{2008/12/01}{Fix copyright in xmp files.} +% \changes{v1.5.4}{2015/02/28}{Fixed timezone bug; Unicode support; more +% PDF variants; added color profiles.} % -% \title{Generation of PDF/X-1a and PDF/A-1b compliant PDF's +% \title{Generation of PDF/X and PDF/A compliant PDF's % with PDF\TeX{} --- \texttt{pdfx.sty}} -% \date{2008/12/10} -% \version{1.3} -% \keywords{\pdf, \pdfx, \pdfa, pdf\TeX, \LaTeX} -% \author{C.\,V.\,Radhakrishnan {\upshape\small and} \thanh} -% \contact{\texttt{[cvr,thanh]@river-valley.org}} +% \date{2015/02/28} +% \version{1.5.4} +% \keywords{PDF, PDF/A, PDF/X, pdf\TeX, \LaTeX} +% \author{C.\,V.\,Radhakrishnan, \thanh, Ross~Moore {\upshape\small +% and} Peter Selinger} +% \contact{\texttt{[cvr,thanh]@river-valley.org}, +% \texttt{ross.moore@mq.edu.au}, \texttt{selinger@mathstat.dal.ca}} % % \maketitle % @@ -87,440 +106,1200 @@ % % \section{Introduction} % -% \textsc{pdf/x} and \textsc{pdf/a} are umbrella terms used to denote -% several \textsc{iso} standards that define different subsets of the -% \pdf standard. The objective of \textsc{pdf/x} is to facilitate -% graphics exchange between document creator and printer and -% therefore, has all requirements related to printing. For instance, -% in \pdfx, all fonts need to be embedded and all images need to be -% \textsc{cmyk} or spot colors. \textsc{pdf/x-2} and \textsc{pdf/x-3} -% accept calibrated \textsc{rgb} and \textsc{cielab} colors along with -% all other specifications of \pdfx. -% -% \textsc{pdf/a} defines a profile for archiving \pdf documents which -% ensures the documents can be reproduced the exact same way in years -% to come, a key element to achieve this is that the \textsc{pdf/a} -% documents shall be 100\% self contained. All the information needed -% to display the document in the same manner every time is embedded -% in the file. A \textsc{pdf/a} document is not permitted to be reliant -% on information from external sources. Other restrictions include -% avoidance of audio/video content, JavaScript and encryption. -% Mandatory inclusion of fonts, color profile and standards based -% metadata are absolutely essential for \textsc{pdf/a}. -% -% This package currently supports generation of \pdfx and \pdfa -% compliant documents using \pdftex. More standards will be -% included in future. +% PDF/X and PDF/A are umbrella terms used to denote several ISO +% standards that define different subsets of the PDF standard. The +% objective of PDF/X is to facilitate graphics exchange between +% document creator and printer and therefore, has all requirements +% related to printing. For instance, in PDF/X, all fonts need to be +% embedded and all images need to be CMYK or spot colors. PDF/X-2 and +% PDF/X-3 accept calibrated RGB and CIELAB colors along with all other +% specifications of PDF/X. +% +% PDF/A defines a profile for archiving PDF documents, which ensures +% the documents can be reproduced the exact same way in years to +% come. A key element to achieving this is that PDF/A documents shall +% be 100\% self contained. All the information needed to display the +% document in the same manner every time is embedded in the file. A +% PDF/A document is not permitted to be reliant on information from +% external sources. Other restrictions include avoidance of +% audio/video content, JavaScript and encryption. Mandatory inclusion +% of fonts, color profile and standards based metadata are absolutely +% essential for PDF/A. +% +% This package currently supports generation of PDF/X and PDF/A +% compliant documents using \pdftex. Support for additional standards +% is also included; see the complete list in +% Section~\ref{ssec-options} below. % % \section{Usage} % -% The file, namely |pdfx.dtx| is a composite document of -% program code and documentation in \LaTeX{} format in the -% tradition of \emph{literate programming}. You -% can extract the program code alone by stripping off the -% documentation part by running \LaTeX{} or \TeX{} over the installer -% namely, |pdfx.ins| which is also provided with this file. To -% get the documentation which you are reading now, you need to run -% (\pdf)\LaTeX{} over the file, |pdfx.dtx|. -% -% \subsection{Data file for XMP metadata} -% -% As mentioned above, standards compliant \pdf documents need -% \textsc{xmp} metadata to be included. In order to create -% \textsc{xmp} in the prescribed \xml format, a simple data file -% holding the meta information of the document needs to be created -% either through a program or by hand. For our purposes, we name it as -% |\jobname.xmpdata|, a simple example of which will look like the -% following: +% \subsection{Options}\label{ssec-options} +% +% The package can be loaded with the command: +% \begin{decl} +% \defmacro{usepackage}|[