Bug#215248: [pdftex] Man page for pdftosrc

2005-08-15 Thread Hilmar Preusse
On 04.08.05 Heiko Oberdiek ([EMAIL PROTECTED]) wrote:
 On Wed, Aug 03, 2005 at 10:02:31PM +0200, Reinhard Kotucha wrote:

Hi all,

[man page of pdftosrc]
 
  there are many reasons not to regard pdftosrc as obsolete.
  
  Adobe does not support all platforms, so there are many people
  who have to use xpdf instead.
 
 The attachted files can also be extracted by other tools such
 as pdftk (operation unpack_files).
 
Hmm:

[EMAIL PROTECTED]:~/t2$ more plain.tex
\pdfcompresslevel=0
\immediate\pdfobj
  stream attr {/Type /SourceFile /SourceName
  (TeX_sources)} file{\jobname.tex}
\pdfcatalog{/SourceObject \the\pdflastobj\space 0 R}
a
\bye
[EMAIL PROTECTED]:~/t2$ pdftex plain.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
snip
[EMAIL PROTECTED]:~/t2$ ./pdftosrc plain.pdf
pdftosrc version 3.00
Source file extracted to TeX_sources
[EMAIL PROTECTED]:~/t2$ diff TeX_sources plain.tex
[EMAIL PROTECTED]:~/t2$ pdftk plain.pdf unpack_files output t1/
[EMAIL PROTECTED]:~/t2$ ls -l t1/
total 0
[EMAIL PROTECTED]:~$ pdftk --version

pdftk 1.12 a Handy Tool for Manipulating PDF Documents
snip
[EMAIL PROTECTED]:~$

What am I missing?
I'm writing to you privately cause my posts to [pdftex] do not appear
on the list.

Regards,
  Hilmar
-- 
Work is the crab grass in the lawn of life.
-- Schulz
  http://hilmarpreusse.forum-rheinland.de/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#215248: [pdftex] Man page for pdftosrc

2005-08-15 Thread Heiko Oberdiek
On Mon, Aug 15, 2005 at 10:31:35AM +0200, Hilmar Preusse wrote:

 On 04.08.05 Heiko Oberdiek ([EMAIL PROTECTED]) wrote:
  On Wed, Aug 03, 2005 at 10:02:31PM +0200, Reinhard Kotucha wrote:
 
 Hi all,
 
 [man page of pdftosrc]
  
   there are many reasons not to regard pdftosrc as obsolete.
   
   Adobe does not support all platforms, so there are many people
   who have to use xpdf instead.
  
  The attachted files can also be extracted by other tools such
  as pdftk (operation unpack_files).
  
 Hmm:
 
 [EMAIL PROTECTED]:~/t2$ more plain.tex
 \pdfcompresslevel=0
 \immediate\pdfobj
   stream attr {/Type /SourceFile /SourceName
   (TeX_sources)} file{\jobname.tex}
 \pdfcatalog{/SourceObject \the\pdflastobj\space 0 R}
 a
 \bye
 [EMAIL PROTECTED]:~/t2$ pdftex plain.tex
 This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
 snip
 [EMAIL PROTECTED]:~/t2$ ./pdftosrc plain.pdf
 pdftosrc version 3.00
 Source file extracted to TeX_sources
 [EMAIL PROTECTED]:~/t2$ diff TeX_sources plain.tex
 [EMAIL PROTECTED]:~/t2$ pdftk plain.pdf unpack_files output t1/
 [EMAIL PROTECTED]:~/t2$ ls -l t1/
 total 0
 [EMAIL PROTECTED]:~$ pdftk --version
 
 pdftk 1.12 a Handy Tool for Manipulating PDF Documents
 snip
 [EMAIL PROTECTED]:~$
 
 What am I missing?

A lot, use attachfile.sty or look into the PDF specification
for attaching files. Your example will not even work with AR.

Yours sincerely
  Heiko [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]