Bug#215248: Mail rejects (was: Re: Bug#215248: Man page for pdftosrc)

2005-08-16 Thread Hilmar Preusse
On 15.08.05 Olaf Weber ([EMAIL PROTECTED]) wrote:
 Hilmar Preusse writes:

Moin,

  Next try. Hopefully Olafs mail server won't reject it again.
 
 Hm, it's not clear to me why it got rejected (or where, for that
 matter).
 
Ich glaube es zu wissen. Der Server hat mir erzählt:

Folgende Adressen schlugen fehl:
The following address(es) failed:

  [EMAIL PROTECTED]
SMTP error from remote mailer after end of data:
host mx1.xs4all.nl [194.109.24.132]: 554 5.6.0 Rejected because
of violation of RFC2822 section 2.2

Nach einer genaueren Betrachtung stellte sich heraus, daß ich im
Header non-ASCII chars mitschicke, was nicht RfC konform ist. Das
habe ich leider bisher nicht bemerkt und Dein Server war auch der
Einzige, der das korrekterweise angemeckert hat.

Greets,
  Hilmar
-- 
sigmentation fault


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



Bug#215248: Man page for pdftosrc

2005-08-15 Thread Hilmar Preusse
On 02.08.05 Frank Küster ([EMAIL PROTECTED]) wrote:

Hi all,

 the pdftosrc program included in pdftex has no documentation so
 far.  A year ago, Hilmar Preusse has started to write one and asked
 on this list about comments on his draft, but unfortunately nobody
 stepped up to have a look at it.
 
 May I ask you again to review the attached draft man page?
 
The program is not contained any more in teTeX 3.0. The sources are
there and they are compiled, but they are not installed. Hence could
I just tag that bug as fixed-experimental ;-).
Thomas, Olaf is that intended as the main functionality of the
program should be implemented by pdftk (function unpack_files)?

Thanks,
  Hilmar
-- 
It's hard not to like a man of many qualities, even if most of them are bad.
  http://hilmarpreusse.forum-rheinland.de/


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



Bug#215248: Man page for pdftosrc

2005-08-15 Thread Hilmar Preusse
On 02.08.05 Frank Küster ([EMAIL PROTECTED]) wrote:

Hi all,

Next try. Hopefully Olafs mail server won't reject it again.

 the pdftosrc program included in pdftex has no documentation so
 far.  A year ago, Hilmar Preusse has started to write one and asked
 on this list about comments on his draft, but unfortunately nobody
 stepped up to have a look at it.
 
 May I ask you again to review the attached draft man page?
 
The program is not contained any more in teTeX 3.0. The sources are
there and they are compiled, but they are not installed. Hence could
I just tag that bug as fixed-experimental ;-).
Thomas, Olaf is that intended as the main functionality of the
program should be implemented by pdftk (function unpack_files)?

Thanks,
  Hilmar
-- 
It's hard not to like a man of many qualities, even if most of them are bad.
  http://hilmarpreusse.forum-rheinland.de/


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



Bug#215248: Man page for pdftosrc

2005-08-15 Thread Thomas Esser
 Thomas, Olaf is that intended as the main functionality of the
 program should be implemented by pdftk (function unpack_files)?

pdftosrc is a small program build on top of the xpdf libraries, so it
uses the same code for accessing pdf objects as pdftex. I'd say that
if the pdftex maintainers are willing to maintain pdftosrc, then the
program should be installed (not only build) and that something like
the manpage that you have submitted should be added.

Thomas


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



Bug#215248: Man page for pdftosrc

2005-08-15 Thread Olaf Weber
Hilmar Preusse writes:
 On 02.08.05 Frank Küster ([EMAIL PROTECTED]) wrote:
 Hi all,

 Next try. Hopefully Olafs mail server won't reject it again.

Hm, it's not clear to me why it got rejected (or where, for that
matter).

In this I agree with Thomas' position: the program belongs to the
pdftex team.  If they maintain it, let it be installed and have a
manual page like the one you provided.  If they don't, and no-one else
does, then program and manual page should vanish.  I'll cheerfully
help implement whatever decision is reached.

-- 
Olaf Weber

   (This space left blank for technical reasons.)




Bug#215248: Man page for pdftosrc

2005-08-02 Thread Frank Küster
Dear pdftex developers,

the pdftosrc program included in pdftex has no documentation so far.  A
year ago, Hilmar Preusse has started to write one and asked on this list
about comments on his draft, but unfortunately nobody stepped up to have
a look at it.

May I ask you again to review the attached draft man page?

Many thanks in advance, 
Frank


-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer

.\ Hey, Emacs!  This is an -*- nroff -*- source file.
.\ 
.\ Copyright (C) 2004 Hilmar Preusse [EMAIL PROTECTED]
.\ 
.\ This is free software; you can redistribute it and/or modify it under
.\ the terms of the GNU General Public License as published by the Free
.\ Software Foundation; either version 2, or (at your option) any later
.\ version.
.\ 
.\ This is distributed in the hope that it will be useful, but WITHOUT
.\ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
.\ FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
.\ for more details.
.\ 
.\ You should have received a copy of the GNU General Public License with
.\ your Debian GNU/Linux system, in /usr/share/common-licenses/GPL, or with
.\ the dpkg source package as the file COPYING.  If not, write to the Free
.\ Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.\ 
.\
.\ =
.\ HELP I found no convenient way to include the TeX source code
.\ verbatim. If there is a better way to do that, feel free to improve!
.\ =
.\
.\
.TH PDFTOSRC 1 July 2004 Debian/GNU Linux 
.SH NAME
pdftosrc \- extracts stream objects from pdf\-Files.
.SH SYNOPSIS
\fBpdftosrc\fR \fIPDF\-file\fR [stream\-object\-number]
.SH DESCRIPTION
A pdf\-file simply consists of a set of different kind of objects,
which are linked to each other and refer to each other. One special
kind of object are stream objects. \fBpdftosrc\fR is written to extract
single stream objects out of a pdf file.
.br 
The idea behind that program is that one can include the TeX-source code
(or parts of it) into the pdf file as stream object.
pdfTeX provides the low level command \fB\\pdfobj\fR to put objects
into a pdf-file. Further there exist \fB\\pdflastobj\fR to return the
number of the object created.
.P
A simple example could look like:
.P
 \\documentclass{minimal}
 \\usepackage{times}

 \\begingroup\\pdfcompresslevel=0
 \\immediate\\pdfobj 
 stream attr {/Type /SourceFile /SourceName 
 (The TeX sources)}
 file{\\jobname.tex}
 \\pdfcatalog{/SourceObject \\the\\pdflastobj\\space 0 R}
 \\endgroup

 \\begin{document}
 test
 \\end{document}
.P
Call \fBpdftosrc\fR \fIPDF\-file\fR 1 to extract the first stream
object, which contains the complete TeX-Code of the compiled pdf.
.br
\\pdfcompresslevel=0 were used to make sure the included streams will
not be compressed (and hence will be unreadable by human) when written
into the pdf\-file. \fBpdftosrc\fR will automatically
uncompress compressed streams, when they are extracted, so this is only
necessary if anybody wants to view at the pdf\-file using a text editor.
.br
\\usepackage{times} were used to get a font, which comes with Acrobat\*R
(and Ghostscript) and to not clutter up the pdf\-file by too much binary
stuff, because no fonts have to be included.
.br 
A more complete example can be found in the section \fBEXAMPLE\fR.
.SH SEE ALSO
.BR pdftex (1),
.BR pdflatex (1),
The pdfTeX user manual,
PDF specification by Adobe.
.SH EXAMPLE
The example was contributed by C. V. Radhakrishnan and later simplified.
Thanks! Stream 1 is the complete source code. Stream 2-4 are the 3
equations of the document.
.P
 \\documentclass[a4paper]{article}

 \\begingroup\\pdfcompresslevel=0
  \\immediate\\pdfobj
  stream attr {/Type /SourceFile /SourceName
  (The TeX sources)}
  file{\jobname.tex}
  \\pdfcatalog{/SourceObject \\the\\pdflastobj\\space 0 R}
 \\endgroup

 \\begin{document}

 \\pdfcompresslevel=9
 \\makeatletter

 \\def\\keepsrc{%
  \\begingroup\\pdfcompresslevel=0
   \\immediate\\pdfobj
   stream attr {/Type /SourceFile /SourceName
   (The TeX sources)}
   file{tmp.tex}
   \\pdfcatalog{/SourceObject \\the\\pdflastobj\\space 0 R}
  \\endgroup
 }
 \\newwrite\\srcout

 \\long\\def\\srceqn#1{\\def\\next{#1}
  \\immediate\\openout\\srcout=src.tex
  \\immediate\\write\\srcout
   [EMAIL PROTECTED]
  \\immediate\\closeout\\srcout
  \\keepsrc
 #1}

 \\makeatother

 \\srceqn{\\[
 a+b=c
 \\]}

 \\srceqn{\\[
 c-a=b
 \\]}

 \\srceqn{\\[
 c-b=a
 \\]}

\\end{document}
.SH AUTHOR
This manual page was written by Hilmar Preusse [EMAIL PROTECTED].de, for
the Debian GNU/Linux system\.  It may be used by other distributions
without contacting the author\.  Any mistakes or omissions in the
manual page are my fault; inquiries about or corrections to this
manual page should be directed to me (and not to the primary author)\.
.SH THANKS TO
C. V. Radhakrishnan (for the example code),
Frank 

Bug#215248: Man page for pdftosrc

2005-08-02 Thread Hilmar Preusse
On 02.08.05 Frank Küster ([EMAIL PROTECTED]) wrote:

Hi all,

 the pdftosrc program included in pdftex has no documentation so
 far.  A year ago, Hilmar Preusse has started to write one and asked
 on this list about comments on his draft, but unfortunately nobody
 stepped up to have a look at it.
 
Not true. It had a private discussion with Reinhard Kotucha, but I
never published the results. I'll try to have to put more power into
that ASAP.

H.
-- 
I dote on his very absence.
-- William Shakespeare, The Merchant of Venice
  http://hilmarpreusse.forum-rheinland.de/


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



Bug#215248: Man page for pdftosrc

2005-08-02 Thread Frank Küster
Hilmar Preusse [EMAIL PROTECTED] wrote:

 Not true. It had a private discussion with Reinhard Kotucha, but I
 never published the results. I'll try to have to put more power into
 that ASAP.

Hurry up, and be sure to be finished before, eh, before etch is frozen...

Regards, Frank
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer