[pdftex] Re: pdftosrc
alou at mazars.es
alou at mazars.es
Fri Dec 15 17:05:10 CET 2000
Hi
>From Thanh (08/04/2000)
>Hi all,
>
>I wrote a small utility called pdftosrc based on xpdf codes to extract a
file
>included in a pdf file. The syntax for including file is the same as
suggested
>by Heiko. Thus one can say:
>
>\immediate\pdfobj
> stream attr {/Type /SourceFile /SourceName (\jobname.zip)}
> file{\jobname.zip}
>\pdfcatalog{/SourceObject \the\pdflastobj\space 0 R}
>
>to include \jobname.zip or whatever. I would prefer something like
>
>\immediate \write 18 {make mysources.tar.bz2}
>
>to get maximal compressness.
>
>
>To extract the file that has been included, one then says:
>
>pdftosrc file.pdf
>
>and that's it. The file is included/extracted in binary mode.
>
>I added this utility into pdftex sources (rather small, about 80 lines).
In
>case anyone wants to try it, I can upload the sources (or binaries for
>linux/djgpp).
>
>Thanh
Thierry Bouche <Thierry.Bouche at ujf-grenoble.fr> on 15/12/2000 15.15.54
To: pdftex at tug.org
cc: (bcc: Antonio Lou/BCN/Consult/GMTR)
Subject: pdftosrc
Could someone remind me what it is?
thanks,
Thierry Bouche. ----- thierry.bouche at ujf-grenoble.fr
http://www-fourier.ujf-grenoble.fr/~bouche/pdfTeX
More information about the pdftex
mailing list