[pdftex] simple pdftype program?

Hans Hagen pragma at wxs.nl
Fri Jun 25 18:09:01 CEST 2004


Tigran Aivazian wrote:

>On Fri, 25 Jun 2004, ivo welch wrote:
>  
>
>>One could go even further.  There could be a selectable option to embed 
>>a workable tex source into the .pdf file itself as (gzipped) comments, 
>>so that an informed "de-pdflatex" can reproduce a texable file again.  
>>Disk space is cheap these days.  This should not be the standard, but I 
>>personally would make it my standard.   Of course, this comment applies 
>>triple to WYSIAYG programs that produce .pdf.  (MS office, Openoffice, 
>>etc.).
>>
>>    
>>
>
>this feature is already supported by the PDF 1.4 Specification. I think 
>there was a FILE type object (or something like that) when I looked at it 
>last time, so it should be doable with \pdfobject directly. I.e. you can 
>"attach" a file to the PDF document (and that is probably how it is 
>presented in Adobe GUI --- "attach" function)
>  
>
For some time ConTeXt provides: 

\setupinteraction[state=start] 

\useattachment[whatever][test.tex]

\starttext \attachment[whatever] \stoptext

(some more fancy things are possible with regards to visualization, but i must remark that acrobat has some bugs in that area) 

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the pdftex mailing list