[pdftex] Man page for pdftosrc

Tigran Aivazian tigran at aivazian.fsnet.co.uk
Wed Aug 3 22:53:37 CEST 2005


On Wed, 3 Aug 2005, Heiko Oberdiek wrote:
> Since AR 7/Linux and AR 6/Other, attachted files (see attachfile package)
> can be extracted by normal user without the need of special programs.
> Therefore I would consider pdftosrc obsolete for the purpose of
> attaching and extracing files.

Hi Heiko,

I was going to write the same as what you said above, but I wanted to add 
that attachfile.sty as shipped is broken and requires the small obvious 
fix below (to set /Subtype correctly as per PDF specs).

Kind regards
Tigran

--- /usr/local/TeX/texmf-dist/tex/latex/attachfile/attachfile.sty	2001-01-10 16:51:15.000000000 +0000
+++ myattachfile.sty	2004-12-05 07:21:06.000000000 +0000
@@ -245,7 +245,7 @@
  \def\atfi at mimetype{}
  \define at key{AtFi}{mimetype}{%
    \atfi at pdfstringdef\atfi at mimetype{#1}%
-  \edef\atfi at mimetype{/Subtype (\atfi at mimetype)}%
+  \edef\atfi at mimetype{/Subtype /\atfi at mimetype}%
  }
  \define at key{AtFi}{icon}{%
    \def\atfi at icon{/Name /#1}%



More information about the pdftex mailing list