[DVIPDFMx] pdf:fstream not working
Jin-Hwan CHO
chof at ktug.kr
Thu Apr 28 21:24:10 KST 2011
You were right, Alexander. The version 20100328 (and xdvipdfmx too)
had the problem.
I tried the following code with the recent version of dvipdfmx but
there were no error.
text
\special{pdf:fstream @obj1 (somefile.txt)}
\special{pdf:ann bbox 0 0 10 10 <<
/Subtype /FileAttachment /FS <<
/Type /Filespec /F (somefile.txt)
/EF << /F @obj1 >> >>
/Name /PushPin >>}
\bye
Let me know if I can give you any help for your package.
Thanks, ChoF.
P.S. Matthias, can you confirm my test?
2011/4/26 Alexander Grahn <A.Grahn at hzdr.de>:
> Hello,
>
> I'd like to use the pdf:fstream special of dvipdfmx (version
> dvipdfmx-20100328), but I can't get it working. I always get the error
>
> [1
> ** WARNING ** Could not open file: somefile.txt
> ** WARNING ** Interpreting special command fstream (pdf:) failed.
> ** WARNING ** >> at page="1" position="(112.681, 759.927)" (in PDF)
> ** WARNING ** >> xxx "pdf:fstream @obj1 (somefile.txt)"
> ]
> 1779 bytes written
>
> ** WARNING ** 1 memory objects still allocated
>
> when I try to process the dvi file generated from the minimal TeX file
>
> text
> \special{pdf:fstream @obj1 (somefile.txt)}
> \bye
>
> The non-empty file `somefile.txt' resides in the same directory as the TeX
> file and isn't opened by any another process. I am working under Linux.
> Is there something wrong with my pdf:fstream usage?
>
> Alexander
> _______________________________________________
> dvipdfmx mailing list
> dvipdfmx at ktug.or.kr
> http://project.ktug.or.kr/mailman/listinfo/dvipdfmx
>
More information about the dvipdfmx
mailing list