[tex-live] TL2010 dvipdfmx pdf:fstream broken?
Akira Kakuto
kakuto at fuk.kindai.ac.jp
Mon Sep 27 06:55:00 CEST 2010
Hi,
> Looking into attaching files to XeTeX documents
> (・la attachfile(2).sty), I tried out the following recipe
> given by Jin-Hwan Cho
> (http://www.tug.org/TUGboat/tb30-1/tb94cho.pdf):
Try the following (I don't know why):
\begin{filecontents*}{example.txt}
this is a text file to be embedded
\end{filecontents*}
\documentclass{article}
\begin{document}
test
\special{pdf:fstream @myfile (./example.txt)}%
\special{pdf:ann bbox 0 0 10 10 <<
/Subtype /FileAttachment /FS <<
/Type /Filespec /F (./example.txt)
/EF << /F @myfile >> >>
/Name /PushPin >>}
\end{document}
Best,
Akira
More information about the tex-live
mailing list