From b3ff88f03cb31f8e31ab553c6cbe87f7959d16cc Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 12 Dec 2008 17:18:25 +0000 Subject: pdfx update (11dec08) git-svn-id: svn://tug.org/texlive/trunk@11597 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/pdfx/README | 10 +- Master/texmf-dist/doc/latex/pdfx/manifest.txt | 3 + Master/texmf-dist/doc/latex/pdfx/pdfx.pdf | Bin 133809 -> 134656 bytes Master/texmf-dist/doc/latex/pdfx/small2e.xmpdata | 2 +- Master/texmf-dist/source/latex/pdfx/pdfx.dtx | 51 ++++---- .../tex/latex/pdfx/glyphtounicode-cmr.tex | 135 +++++++++++++++++++++ Master/texmf-dist/tex/latex/pdfx/pdfx.sty | 3 +- Master/tlpkg/bin/ctan2tds | 2 +- 8 files changed, 176 insertions(+), 30 deletions(-) create mode 100644 Master/texmf-dist/tex/latex/pdfx/glyphtounicode-cmr.tex diff --git a/Master/texmf-dist/doc/latex/pdfx/README b/Master/texmf-dist/doc/latex/pdfx/README index 6c6fc8ba7a2..7b5d6bc7a6a 100644 --- a/Master/texmf-dist/doc/latex/pdfx/README +++ b/Master/texmf-dist/doc/latex/pdfx/README @@ -5,8 +5,9 @@ PFD/A-1b compliant pdf documents with pdfTeX. Installation: -Create a directory $TEXMF/tex/latex/pdfx and copy pdfx.sty, *.xmp to -this directory. Update the file database of your TeX system. +Create a directory $TEXMF/tex/latex/pdfx and copy pdfx.sty, *.xmp, +glyphtounicode-cmr.tex to this directory. Update the file database +of your TeX system. Documentation: @@ -16,11 +17,12 @@ TeX/LaTeX on pdfx.ins to extract pdfx.sty from pdfx.dtx. If you documentation. A Makefile is provided in the src directory. Following steps will -create the documentation: +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 @@ -33,4 +35,4 @@ The package is released under LaTeX Project Public Licence. Authors: CV Radhakrishnan and -Han The Thanh \ No newline at end of file +Han The Thanh diff --git a/Master/texmf-dist/doc/latex/pdfx/manifest.txt b/Master/texmf-dist/doc/latex/pdfx/manifest.txt index d4529fc7cba..425fcf60821 100644 --- a/Master/texmf-dist/doc/latex/pdfx/manifest.txt +++ b/Master/texmf-dist/doc/latex/pdfx/manifest.txt @@ -22,6 +22,9 @@ README Readme file +glyphtounicode-cmr.tex + maps glyphnames in cmr font to Unicode + pdfa-1b.xmp xmp template for pdf/a-1b documents diff --git a/Master/texmf-dist/doc/latex/pdfx/pdfx.pdf b/Master/texmf-dist/doc/latex/pdfx/pdfx.pdf index 481b4506bd6..eefbb0ed5c9 100644 Binary files a/Master/texmf-dist/doc/latex/pdfx/pdfx.pdf and b/Master/texmf-dist/doc/latex/pdfx/pdfx.pdf differ diff --git a/Master/texmf-dist/doc/latex/pdfx/small2e.xmpdata b/Master/texmf-dist/doc/latex/pdfx/small2e.xmpdata index 9da9ecab417..7b1302ad998 100644 --- a/Master/texmf-dist/doc/latex/pdfx/small2e.xmpdata +++ b/Master/texmf-dist/doc/latex/pdfx/small2e.xmpdata @@ -1,4 +1,4 @@ -\Keywords{pdfTeXPDF/X-1aPDF/A-b} +\Keywords{pdfTeX\sep PDF/X-1a\sep PDF/A-b} \Title{Sample LaTeX input file} \Author{LaTeX project team} \Org{TeX Users Group} diff --git a/Master/texmf-dist/source/latex/pdfx/pdfx.dtx b/Master/texmf-dist/source/latex/pdfx/pdfx.dtx index e3285522299..4a7887dddf8 100644 --- a/Master/texmf-dist/source/latex/pdfx/pdfx.dtx +++ b/Master/texmf-dist/source/latex/pdfx/pdfx.dtx @@ -17,7 +17,7 @@ % % \fi % -% \CheckSum{374} +% \CheckSum{376} % \iffalse % %<*driver> @@ -69,11 +69,13 @@ % \DoNotIndex{\Tg,\thepage,\unskip,\write,\advance,\{,\}} % % \changes{v1.00}{2008/12/01}{Initial commit to the CVS.} +% \changes{v1.01}{2008/12/10}{glyphtounicode-cmr.tex included with the +% package.} % % \title{Generation of PDF/X-1a and PDF/A-1b compliant PDF's % with PDF\TeX{} --- \texttt{pdfx.sty}} -% \date{2008/12/01} -% \version{1.1} +% \date{2008/12/10} +% \version{1.2} % \keywords{\pdf, \pdfx, \pdfa, pdf\TeX, \LaTeX} % \author{C.\,V.\,Radhakrishnan {\upshape\small and} \thanh} % \contact{\texttt{[cvr,thanh]@river-valley.org}} @@ -98,15 +100,15 @@ % 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. \textsc{pdf/a} document is not permitted to be reliant +% 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 and more standards will be +% compliant documents using \pdftex. More standards will be % included in future. % % \section{Usage} @@ -122,7 +124,7 @@ % % \subsection{Data file for XMP metadata} % -% As you are aware, standards compliant \pdf documents need +% 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 @@ -130,16 +132,16 @@ % |\jobname.xmpdata|, a simple example of which will look like the % following: % \begin{verbatim} -% \Keywords{pdfTeXPDF/X-1aPDF/A-b} +% \Keywords{pdfTeX\sep PDF/X-1a\sep PDF/A-b} % \Title{Sample LaTeX input file} % \Author{LaTeX project team} % \Org{TeX Users Group} % \end{verbatim} -% You may note that the keywords are separated by \xml elements -% || instead of comma character. This is the correct -% format required by the \xmp metadata which is in \xml format. -% Similarly, several other kinds of data can be captured using the -% following commands: +% You may note that the keywords are separated by |\sep| which will +% expand to \xml elements || instead of comma +% character. This is the correct format required by the \xmp metadata +% which is in \xml format. Similarly, several other kinds of data can +% be captured using the following commands: % \begin{enumerate} % \item |\Subject| % \item |\Creator| @@ -166,7 +168,7 @@ % Development Center} for more exhaustive information about % Extensible Metadata Platform (\textsc{xmp}). An \textsc{xmp} % Toolkit \textsc{sdk} which supports \textsc{gnu}/Linux, Macintosh -% and Windows operating systems is also provided under \textsc{bsd} +% and Windows operating systems is also provided under modified \textsc{bsd} % licence. % % |pdfx| makes use of |xmpincl| package to include |xmp| data into the @@ -184,7 +186,7 @@ % \item |glyphtounicode.tex| maps glyph names to corresponding Unicode. % \item |glyphtounicode-cmr.tex| does the same for |cmr| fonts. % \end{enumerate} -% Necessary color profile files may be obtained from International +% Necessary color profile files may be obtained from the International % Color Consortium. Please take a look at % \url{http://www.color.org/iccprofile.xalter}. % @@ -199,11 +201,13 @@ % \item |pdfa-1b.xmp| --- specimen |xmp| template for \pdfa. % \item |small2e.xmpdata| --- specimen data file to provide values % relating to the document to generate metadata. +% \item |glyphtounicode-cmr.tex| --- glyph names in cmr font to +% corresponding Unicode. % \end{enumerate} % A directory named |pdfx| may be created under |$TEXMF/tex/latex| and -% all |*.sty| and |*.xmp| may be moved to the same. \TeX's file -% database may need to be updated by suitable command depending on -% your distribution and operating system. +% all |*.sty|, |*.xmp| and |glyphtounicode-cmr.tex| may be moved to +% the same. \TeX's file database should then be updated by a suitable +% command depending on your distribution and operating system. % % \subsection{Options} % @@ -226,7 +230,7 @@ % % \subsection{Miscellaneous information} % -% The package is released under \LaTeX{} Project Public Licence. Bug +% The package is released under the \LaTeX{} Project Public Licence. Bug % reports, suggestions, feature requests, etc., may be sent to the % authors at \href{mailto:cvr@river-valley.org}{\ttfamily % cvr@river-valley.org} and/or @@ -248,11 +252,11 @@ % \begin{macrocode} %<*package> % -% $Id: pdfx.dtx,v 1.1 2008/12/01 10:28:01 cvr Exp cvr $ +% $Id: pdfx.dtx,v 1.2 2008/12/10 13:51:10 cvr Exp cvr $ % \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{pdfx} - [2008/12/01 v1.1 PDF/X and PDF/A support (CVR/HTH)] + [2008/12/10 v1.2 PDF/X and PDF/A support (CVR/HTH)] \newif\ifpdfxonea \pdfxoneafalse \newif\ifpdfaoneb \pdfaonebfalse @@ -277,6 +281,7 @@ \def\hash{\expandafter\@gobble\string\#} \def\amp{\expandafter\@gobble\string\&} \def\xmpAmp{\amp\hash x0026;} +\def\sep{} \def\TextCopyright{\amp\hash x00A9;} \def\Title#1{\gdef\xmpTitle{#1}} \let\xmpTitle\@empty @@ -459,7 +464,7 @@ % Active content is not allowed in a \pdfx file. This means that % standard \pdf features like forms, signatures, comments and embedded % sounds and movies are not allowed in \pdfx. So |hyperref| is loaded -% in |draft| mode and |info| dictionary is defined with |\pdfinfo| +% in |draft| mode and an |info| dictionary is defined with |\pdfinfo| % command. % % \begin{macrocode} @@ -483,7 +488,7 @@ % will take care of the link annotations correctly. We have slightly % modified the |\pdfinfo| by including |/GTS_PDFA1Version| % |(PDA/A-1b:2005)|. Take a look at the modified |\PDF@FinishDoc| -% macro of |hyprref|. +% macro of |hyperref|. % % \begin{macrocode} \RequirePackage[pdftex,pdfa]{hyperref} diff --git a/Master/texmf-dist/tex/latex/pdfx/glyphtounicode-cmr.tex b/Master/texmf-dist/tex/latex/pdfx/glyphtounicode-cmr.tex new file mode 100644 index 00000000000..4c0a28507e0 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pdfx/glyphtounicode-cmr.tex @@ -0,0 +1,135 @@ +% +% Copyright (c) 2008, Han The Thanh +% +% This file 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. +% +% +\pdfglyphtounicode{angbracketleftBig}{ED01} +\pdfglyphtounicode{angbracketleftBigg}{ED03} +\pdfglyphtounicode{angbracketleftbig}{ED02} +\pdfglyphtounicode{angbracketleftbigg}{ED04} +\pdfglyphtounicode{angbracketrightBig}{ED06} +\pdfglyphtounicode{angbracketrightBigg}{ED08} +\pdfglyphtounicode{angbracketrightbig}{ED07} +\pdfglyphtounicode{angbracketrightbigg}{ED09} +\pdfglyphtounicode{arrowbt}{ED0A} +\pdfglyphtounicode{arrowdblbt}{ED0B} +\pdfglyphtounicode{arrowdbltp}{ED0E} +\pdfglyphtounicode{arrowhookleft}{21A9} +\pdfglyphtounicode{arrowhookright}{21AA} +\pdfglyphtounicode{arrowtp}{ED11} +\pdfglyphtounicode{arrowvertexdbl}{ED12} +\pdfglyphtounicode{backslashBig}{ED13} +\pdfglyphtounicode{backslashBigg}{ED15} +\pdfglyphtounicode{backslashbig}{ED14} +\pdfglyphtounicode{backslashbigg}{ED16} +\pdfglyphtounicode{bracehtipdownleft}{ED17} +\pdfglyphtounicode{bracehtipdownright}{ED18} +\pdfglyphtounicode{bracehtipupleft}{ED19} +\pdfglyphtounicode{bracehtipupright}{ED1A} +\pdfglyphtounicode{braceleftBig}{ED1B} +\pdfglyphtounicode{braceleftBigg}{ED1D} +\pdfglyphtounicode{braceleftbig}{ED1C} +\pdfglyphtounicode{braceleftbigg}{ED1E} +\pdfglyphtounicode{bracerightBig}{ED20} +\pdfglyphtounicode{bracerightBigg}{ED22} +\pdfglyphtounicode{bracerightbig}{ED21} +\pdfglyphtounicode{bracerightbigg}{ED23} +\pdfglyphtounicode{bracketleftBig}{ED24} +\pdfglyphtounicode{bracketleftBigg}{ED26} +\pdfglyphtounicode{bracketleftbig}{ED25} +\pdfglyphtounicode{bracketleftbigg}{ED27} +\pdfglyphtounicode{bracketrightBig}{ED28} +\pdfglyphtounicode{bracketrightBigg}{ED2A} +\pdfglyphtounicode{bracketrightbig}{ED29} +\pdfglyphtounicode{bracketrightbigg}{ED2B} +\pdfglyphtounicode{ceilingleftBig}{ED2C} +\pdfglyphtounicode{ceilingleftBigg}{ED2E} +\pdfglyphtounicode{ceilingleftbig}{ED2D} +\pdfglyphtounicode{ceilingleftbigg}{ED2F} +\pdfglyphtounicode{ceilingrightBig}{ED30} +\pdfglyphtounicode{ceilingrightBigg}{ED32} +\pdfglyphtounicode{ceilingrightbig}{ED31} +\pdfglyphtounicode{ceilingrightbigg}{ED33} +\pdfglyphtounicode{circledotdisplay}{ED34} +\pdfglyphtounicode{circledottext}{ED35} +\pdfglyphtounicode{circlemultiplydisplay}{ED36} +\pdfglyphtounicode{circlemultiplytext}{ED37} +\pdfglyphtounicode{circleplusdisplay}{ED38} +\pdfglyphtounicode{circleplustext}{ED39} +\pdfglyphtounicode{contintegraldisplay}{ED3B} +\pdfglyphtounicode{contintegraltext}{ED3C} +\pdfglyphtounicode{coproductdisplay}{ED3D} +\pdfglyphtounicode{coproducttext}{ED3E} +\pdfglyphtounicode{floorleftBig}{ED42} +\pdfglyphtounicode{floorleftBigg}{ED44} +\pdfglyphtounicode{floorleftbig}{ED43} +\pdfglyphtounicode{floorleftbigg}{ED45} +\pdfglyphtounicode{floorrightBig}{ED46} +\pdfglyphtounicode{floorrightBigg}{ED48} +\pdfglyphtounicode{floorrightbig}{ED47} +\pdfglyphtounicode{floorrightbigg}{ED49} +\pdfglyphtounicode{hatwide}{ED4A} +\pdfglyphtounicode{hatwider}{ED4B} +\pdfglyphtounicode{hatwidest}{ED4C} +\pdfglyphtounicode{integraldisplay}{ED4D} +\pdfglyphtounicode{integraltext}{ED4E} +\pdfglyphtounicode{intersectiondisplay}{ED4F} +\pdfglyphtounicode{intersectiontext}{ED50} +\pdfglyphtounicode{logicalanddisplay}{ED51} +\pdfglyphtounicode{logicalandtext}{ED52} +\pdfglyphtounicode{logicalordisplay}{ED53} +\pdfglyphtounicode{logicalortext}{ED54} +%\pdfglyphtounicode{mapsto}{ED55} +\pdfglyphtounicode{mapsto}{2192} +\pdfglyphtounicode{parenleftBig}{ED5A} +\pdfglyphtounicode{parenleftBigg}{ED5C} +\pdfglyphtounicode{parenleftbig}{ED5B} +\pdfglyphtounicode{parenleftbigg}{ED5D} +\pdfglyphtounicode{parenrightBig}{ED5E} +\pdfglyphtounicode{parenrightBigg}{ED60} +\pdfglyphtounicode{parenrightbig}{ED5F} +\pdfglyphtounicode{parenrightbigg}{ED61} +\pdfglyphtounicode{productdisplay}{ED63} +\pdfglyphtounicode{producttext}{ED64} +\pdfglyphtounicode{radicalBig}{ED65} +\pdfglyphtounicode{radicalBigg}{ED67} +\pdfglyphtounicode{radicalbig}{ED66} +\pdfglyphtounicode{radicalbigg}{ED68} +\pdfglyphtounicode{radicalbt}{ED69} +\pdfglyphtounicode{radicaltp}{ED6A} +\pdfglyphtounicode{radicalvertex}{ED6B} +\pdfglyphtounicode{slashBig}{ED6C} +\pdfglyphtounicode{slashBigg}{ED6E} +\pdfglyphtounicode{slashbig}{ED6D} +\pdfglyphtounicode{slashbigg}{ED6F} +\pdfglyphtounicode{summationdisplay}{ED70} +\pdfglyphtounicode{summationtext}{ED71} +\pdfglyphtounicode{suppress}{EB61} +\pdfglyphtounicode{tie}{2040} +\pdfglyphtounicode{tildewide}{EB68} +\pdfglyphtounicode{tildewider}{EB69} +\pdfglyphtounicode{tildewidest}{EB6A} +\pdfglyphtounicode{uniondisplay}{ED72} +\pdfglyphtounicode{unionmultidisplay}{ED73} +\pdfglyphtounicode{unionmultitext}{ED74} +\pdfglyphtounicode{unionsqdisplay}{ED75} +\pdfglyphtounicode{unionsqtext}{ED76} +\pdfglyphtounicode{uniontext}{ED77} +\pdfglyphtounicode{vextenddouble}{ED79} +\pdfglyphtounicode{vextendsingle}{ED7A} + +\endinput + +% +% +% End of file 'glyphtounicode-cmr.tex +% \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/pdfx/pdfx.sty b/Master/texmf-dist/tex/latex/pdfx/pdfx.sty index f10e9d98c93..35f1e6cf12e 100644 --- a/Master/texmf-dist/tex/latex/pdfx/pdfx.sty +++ b/Master/texmf-dist/tex/latex/pdfx/pdfx.sty @@ -21,7 +21,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{pdfx} - [2008/12/01 v1.1 PDF/X and PDF/A support (CVR/HTH)] + [2008/12/10 v1.2 PDF/X and PDF/A support (CVR/HTH)] \newif\ifpdfxonea \pdfxoneafalse \newif\ifpdfaoneb \pdfaonebfalse @@ -41,6 +41,7 @@ \def\hash{\expandafter\@gobble\string\#} \def\amp{\expandafter\@gobble\string\&} \def\xmpAmp{\amp\hash x0026;} +\def\sep{} \def\TextCopyright{\amp\hash x00A9;} \def\Title#1{\gdef\xmpTitle{#1}} \let\xmpTitle\@empty diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds index df28b789357..f7a1f1850f6 100755 --- a/Master/tlpkg/bin/ctan2tds +++ b/Master/tlpkg/bin/ctan2tds @@ -811,7 +811,7 @@ $standardtex='\.(cfg|sty|clo|ldf|cls|def|fd|cmap|4ht)$'; 'pdfcprot', '\.cpa|\.sty', 'pdfscreen', 'overlay.*pdf|but.*pdf|left.*pdf|right\.pdf|pdfscreen.sty', 'pdfslide', '\.jpg|\.sty|\.clo|\.cfg|meta.*\.pdf', - 'pdfx', '\.xmp$|pdfx\.sty', + 'pdfx', '\.xmp$|glyph.*tex|pdfx\.sty', 'petri-nets', 'pnets\.tex|pntext\.tex|\.sty|pndraw\.tex|pnversion\.tex|\.sty|pndraw\.tex', 'pictex', '\.sty|\.tex', 'pigpen', 'pigpen\.tex|' . $standardtex, -- cgit v1.2.3