From 108b7f7f5503540c8843a3cb9d4dced1d9732d9d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 7 Sep 2008 22:49:20 +0000 Subject: attachfile 1.3a (15aug08) git-svn-id: svn://tug.org/texlive/trunk@10445 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/attachfile/README | 2 +- .../texmf-dist/doc/latex/attachfile/attachfile.bib | 31 ++++++++++ .../texmf-dist/doc/latex/attachfile/attachfile.pdf | Bin 292339 -> 261688 bytes .../source/latex/attachfile/attachfile.dtx | 68 +++++++++++++-------- .../source/latex/attachfile/attachfile.ins | 4 +- .../texmf-dist/tex/latex/attachfile/attachfile.sty | 18 +++--- Master/tlpkg/bin/ctan2tds | 1 + 7 files changed, 88 insertions(+), 36 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/attachfile/attachfile.bib diff --git a/Master/texmf-dist/doc/latex/attachfile/README b/Master/texmf-dist/doc/latex/attachfile/README index 6f3cf1226bd..f8133a251e4 100644 --- a/Master/texmf-dist/doc/latex/attachfile/README +++ b/Master/texmf-dist/doc/latex/attachfile/README @@ -21,7 +21,7 @@ appearance in the enclosing document. Copyright and license --------------------- -Copyright (C) 2007 Scott Pakin +Copyright (C) 2008 Scott Pakin This package may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c of this diff --git a/Master/texmf-dist/doc/latex/attachfile/attachfile.bib b/Master/texmf-dist/doc/latex/attachfile/attachfile.bib new file mode 100644 index 00000000000..6afbbe0be15 --- /dev/null +++ b/Master/texmf-dist/doc/latex/attachfile/attachfile.bib @@ -0,0 +1,31 @@ +@Book{PDFRef, + author = {{Adobe Systems Incorporated}}, + title = {{PDF} Reference Version~1.6}, + publisher = {Adobe Press}, + year = 2004, + key = {PDF}, + edition = {Fifth}, + month = dec # {~3,}, + note = {ISBN~\mbox{0321304748}. Available from \url{http://partners.adobe.com/public/developer/en/pdf/PDFReference16.pdf}} +} + +@Unpublished{MediaTypes, + author = {{Internet Assigned Numbers Authority}}, + title = {{MIME} Media Types}, + note = {Available from \url{http://www.iana.org/assignments/media-types/}}, + key = {IANA} +} + +@TechReport{Freed1996, + author = {N. Freed and N. Borenstein}, + title = {{M}ultipurpose {I}nternet {M}ail {E}xtensions {(MIME)} + Part Two: Media Types}, + institution = {Internet Engineering Task Force (IETF), + Network Working Group}, + year = 1996, + type = {Request for Comments (RFC)}, + number = 2046, + month = nov, + note = {Available from + \url{http://www.rfc-editor.org/rfc/rfc2046.txt}} +} diff --git a/Master/texmf-dist/doc/latex/attachfile/attachfile.pdf b/Master/texmf-dist/doc/latex/attachfile/attachfile.pdf index 06f78b4e1e5..46bd6cc0118 100644 Binary files a/Master/texmf-dist/doc/latex/attachfile/attachfile.pdf and b/Master/texmf-dist/doc/latex/attachfile/attachfile.pdf differ diff --git a/Master/texmf-dist/source/latex/attachfile/attachfile.dtx b/Master/texmf-dist/source/latex/attachfile/attachfile.dtx index adfcbfd844a..6a12f8fd749 100644 --- a/Master/texmf-dist/source/latex/attachfile/attachfile.dtx +++ b/Master/texmf-dist/source/latex/attachfile/attachfile.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2007 by Scott Pakin +% Copyright (C) 2008 by Scott Pakin % ------------------------------------------------------- % % This file may be distributed and/or modified under the conditions of @@ -22,7 +22,7 @@ %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesPackage{attachfile} %<*package> - [2007/01/15 v1.3 PDF 1.3+ file attachment] + [2008/08/15 v1.3a PDF 1.3+ file attachment] % % %<*driver> @@ -88,7 +88,7 @@ % pdftitle={The attachfile package}, % pdfauthor={Scott Pakin }, % pdfsubject={LaTeX file attachment package}, -% pdfkeywords={attachments,annotations,PDF,LaTeX,package,automatic,files} +% pdfkeywords={attachments; annotations; PDF; LaTeX; package; automatic; files} % } % % ^^A Help prevent weird line breaks in URLs @@ -770,42 +770,52 @@ % Note that there are a few caveats you should be aware of: % % \begin{enumerate} +% \item \pkgname{attachfile} requires \pdflatex{} version~0.14 or +% later. (Version~0.14 was released circa~1999 so it's unlikely that +% you're running an older version than that.) While there are many +% other ways to produce \acronym{PDF} files from \latex{} source, +% \pkgname{attachfile}~\fileversion{} supports only \pdflatex, and +% only versions~0.14+. +% % \item \pkgname{attachfile} will not run unless the following \latex\ % packages are installed: \pkgname{calc}, \pkgname{keyval}, -% \pkgname{color}, \pkgname{hyperref}, and \pkgname{ifpdf}. +% \pkgname{color}, \pkgname{hyperref}, and \pkgname{ifpdf}. (Most +% \tex\ distributions include all of these.) % % \item File attachments are a \acronym{PDF}~1.3 feature. They will -% not be visible in \acronym{PDF} viewers that do support +% not be visible in \acronym{PDF} viewers that don't support % \acronym{PDF}~1.3. (Version~4.0 of \adobeacrobat is the first % version of that program which does.) % % \item Even some viewers that purportedly support \acronym{PDF}~1.3 -% don't support file attachments. As far as I can tell, older versions -% of \adobeacrobatreader (the free, view-only version of \adobeacrobat) -% doesn't seem to support \emph{any} annotations except text -% annotations. +% don't support file attachments. As far as I can tell, very old +% versions of \adobeacrobatreader (the free, view-only version of +% \adobeacrobat) doesn't seem to support \emph{any} annotations except +% text annotations. % % \item Even some viewers that do support \acronym{PDF}~1.3 and file % attachments don't support them under all circumstances. For -% instance, the Windows\smallreg\ version of \adobeacrobat, when -% functioning as a Web-browser plug-in, gives an error +% instance, some Windows\smallreg\ versions of \adobeacrobat, when +% functioning as a Web-browser plug-in, give an error % message\footnote{``Launching embedded files from within a browser % environment is not allowed''.} when a file attachment icon is % activated. % % \item Even in circumstances where file attachments are supported, -% the support may be flawed. For example, the Windows\smallreg\ -% version of \adobeacrobat changes a custom icon to the default icon +% the support may be flawed. For example, some Windows\smallreg\ +% versions of \adobeacrobat change a custom icon to the default icon % when it's selected. -% \end{enumerate} % -% \noindent -% In addition, \pkgname{attachfile} requires \pdflatex{} version~0.14 or -% later. While there are many other ways to produce \acronym{PDF} files -% from \latex{} source, \pkgname{attachfile}~\fileversion{} supports -% only \pdflatex, and only versions~0.14+. -% -% \bigskip +% Also, while file-attachment icons with custom appearances printed +% fine in older versions of \adobeacrobat, \adobe introduced a bug +% circa \adobeacrobat~6.0 that prevents \pkgname{attachfile}'s icons +% from printing. Unfortunately, because \adobeacrobat lacks +% \pkgname{attachfile}'s ability to create custom appearances for +% file-attachment icons it's unlikely that this bug will ever get +% fixed. Nevertheless, please consider sending a bug report to \adobe +% to let them know that you'd like to be able to print file-attachment +% icons with custom appearances. +% \end{enumerate} % % Even given all of those caveats, file attachments can be a useful way % to pass additional information along with a \acronym{PDF} file. The @@ -894,12 +904,18 @@ % in Section~\ref{sec:dummy-commands}, we replace all of the core % \pkgname{attachfile} macros with dummy versions so \latex\ can at % least run to completion. +% \changes{v1.3a}{2008/08/15}{Corrected the formatting of the ``not +% \string\pdflatex'' warning message} % \begin{macrocode} -\RequirePackage{ifpdf} \ifpdf \else -\PackageWarningNoLine{attachfile}{% attachfile works _only_ with -pdfLaTeX and _only_ in\MessageBreak PDF-generating mode. For this -run, placeholders will\MessageBreak be substituted for all attachfile -commands.} \fi +\RequirePackage{ifpdf} +\ifpdf +\else + \PackageWarningNoLine{attachfile}{% + attachfile works _only_ with pdfLaTeX and _only_ in\MessageBreak + PDF-generating mode. For this run, placeholders will\MessageBreak + be substituted for all attachfile commands.% + } +\fi % \end{macrocode} % % diff --git a/Master/texmf-dist/source/latex/attachfile/attachfile.ins b/Master/texmf-dist/source/latex/attachfile/attachfile.ins index 10b0c6709c5..61b6bef9e98 100644 --- a/Master/texmf-dist/source/latex/attachfile/attachfile.ins +++ b/Master/texmf-dist/source/latex/attachfile/attachfile.ins @@ -3,7 +3,7 @@ %% driver files from the doc files in this package when run through %% LaTeX or TeX. %% -%% Copyright (C) 2007 Scott Pakin +%% Copyright (C) 2008 Scott Pakin %% ------------------------------------------------------- %% %% This package may be distributed and/or modified under the @@ -28,7 +28,7 @@ This is a generated file. -Copyright (C) 2007 Scott Pakin +Copyright (C) 2008 Scott Pakin ------------------------------------------------------- This package may be distributed and/or modified under the diff --git a/Master/texmf-dist/tex/latex/attachfile/attachfile.sty b/Master/texmf-dist/tex/latex/attachfile/attachfile.sty index cdeee8d0b07..fafb439e2b0 100644 --- a/Master/texmf-dist/tex/latex/attachfile/attachfile.sty +++ b/Master/texmf-dist/tex/latex/attachfile/attachfile.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2007 Scott Pakin +%% Copyright (C) 2008 Scott Pakin %% ------------------------------------------------------- %% %% This package may be distributed and/or modified under the @@ -23,12 +23,16 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{attachfile} - [2007/01/15 v1.3 PDF 1.3+ file attachment] -\RequirePackage{ifpdf} \ifpdf \else -\PackageWarningNoLine{attachfile}{% attachfile works _only_ with -pdfLaTeX and _only_ in\MessageBreak PDF-generating mode. For this -run, placeholders will\MessageBreak be substituted for all attachfile -commands.} \fi + [2008/08/15 v1.3a PDF 1.3+ file attachment] +\RequirePackage{ifpdf} +\ifpdf +\else + \PackageWarningNoLine{attachfile}{% + attachfile works _only_ with pdfLaTeX and _only_ in\MessageBreak + PDF-generating mode. For this run, placeholders will\MessageBreak + be substituted for all attachfile commands.% + } +\fi \RequirePackage{keyval} \RequirePackage{calc} \RequirePackage{color} diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds index 41ba9b8a102..fb04bd1a5f6 100755 --- a/Master/tlpkg/bin/ctan2tds +++ b/Master/tlpkg/bin/ctan2tds @@ -1102,6 +1102,7 @@ $standardbib='\.bib$'; # $ so we don't find README.bibtex in IEEEtran 'aguplus', 'NULL', 'amsrefs', 'ams.*bib', # not jr.bib 'apa', 'NULL', + 'attachfile', 'NULL', 'babelbib', 'NULL', 'classicthesis','NULL', 'dehyph-exptl','NULL', -- cgit v1.2.3