Re: [NTG-pdftex] [pdftex] PTEX.FileName contains file system information
Stephan Hennig wrote:
But I'm concerned about pdfTeX unintentionally revealing:
(a) file naming conventions, (b) infrastructure information, (c) identity information.
i see not problem with adding a \ptexinfo=0|1 with 1 being the default (since we don't want to break downward compatibiity). We can put it on the wishlist 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 -----------------------------------------------------------------
Hans Hagen wrote:
Stephan Hennig wrote:
But I'm concerned about pdfTeX unintentionally revealing:
(a) file naming conventions, (b) infrastructure information, (c) identity information.
i see not problem with adding a
\ptexinfo=0|1
with 1 being the default (since we don't want to break downward compatibiity).
We can put it on the wishlist
Agreed, but a less cryptic name is needed. \pdfptexfilename ?
2007/8/5, Hans Hagen
i see not problem with adding a
\ptexinfo=0|1
with 1 being the default (since we don't want to break downward compatibiity).
How about a bitset? bit 0 PTEX.FileName 1 PTEX.InfoDict 2 PTEX.PageNumber with 7 (111) being the default. Best Martin
Martin Schröder wrote:
2007/8/5, Hans Hagen
: i see not problem with adding a
\ptexinfo=0|1
with 1 being the default (since we don't want to break downward compatibiity).
How about a bitset? bit 0 PTEX.FileName 1 PTEX.InfoDict 2 PTEX.PageNumber
with 7 (111) being the default.
sounds ok to me ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On Sun, Aug 05, 2007 at 04:48:43PM +0200, Martin Schröder wrote:
2007/8/5, Hans Hagen
: i see not problem with adding a
\ptexinfo=0|1
with 1 being the default (since we don't want to break downward compatibiity).
How about a bitset? bit 0 PTEX.FileName 1 PTEX.InfoDict 2 PTEX.PageNumber
with 7 (111) being the default.
A complete set to avoid further feature requests:
0 PTEX.Fullbanner
1 PTEX.FileName
2 PTEX.InfoDict
3 PTEX.PageNumber
Default: 15 (1111b).
As "less cryptic" name I would prefer \pdfptexinfo. ;-)
Yours sincerely
Heiko
On Sun, Aug 05, 2007 at 06:36:35PM +0200, Heiko Oberdiek wrote:
On Sun, Aug 05, 2007 at 04:48:43PM +0200, Martin Schröder wrote:
2007/8/5, Hans Hagen
: i see not problem with adding a
\ptexinfo=0|1
with 1 being the default (since we don't want to break downward compatibiity).
How about a bitset? bit 0 PTEX.FileName 1 PTEX.InfoDict 2 PTEX.PageNumber
with 7 (111) being the default.
A complete set to avoid further feature requests: 0 PTEX.Fullbanner 1 PTEX.FileName 2 PTEX.InfoDict 3 PTEX.PageNumber
Default: 15 (1111b).
As "less cryptic" name I would prefer \pdfptexinfo. ;-)
Or the reverse:
\pdfsupressptexinfo
Then bit 0 means that the PTEX entry is present.
The default would be 0 and future extensions would have
the same default behaviour as the older entries.
Yours sincerely
Heiko
Heiko Oberdiek wrote:
Or the reverse:
\pdfsupressptexinfo
Then bit 0 means that the PTEX entry is present. The default would be 0 and future extensions would have the same default behaviour as the older entries.
makes much sense 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 -----------------------------------------------------------------
2007/8/5, Heiko Oberdiek
\pdfsupressptexinfo
Then bit 0 means that the PTEX entry is present. The default would be 0 and future extensions would have the same default behaviour as the older entries.
Heiko, thanks very much for the patch, although I'd have preferred a patch against trunk; this will not go into 1.40, but 1.50. Best Martin
participants (4)
-
Hans Hagen
-
Heiko Oberdiek
-
Martin Schröder
-
Taco Hoekwater