![](https://secure.gravatar.com/avatar/62c54476729274ddfefd6b1f53e311dc.jpg?s=120&d=mm&r=g)
Hi, when I include a PDF file, a field is inserted into the resulting PDF which includes the full path of the file name: /PTEX.FileName (/some/secret/path/I'd/rather/not/reveal.pdf) Is there a way to suppress this? Patrick
![](https://secure.gravatar.com/avatar/cca4713c8f621dc430abb0d2ede0900f.jpg?s=120&d=mm&r=g)
On Fri, Jun 10, 2011 at 01:29:34PM +0200, Patrick Gundlach wrote:
when I include a PDF file, a field is inserted into the resulting PDF which includes the full path of the file name:
/PTEX.FileName (/some/secret/path/I'd/rather/not/reveal.pdf)
Is there a way to suppress this?
No, neither in pdfTeX nor in LuaTeX. Yours sincerely Heiko Oberdiek
![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Fri, Jun 10, 2011 at 01:29:34PM +0200, Patrick Gundlach wrote:
when I include a PDF file, a field is inserted into the resulting PDF which includes the full path of the file name:
/PTEX.FileName (/some/secret/path/I'd/rather/not/reveal.pdf)
Is there a way to suppress this?
No, neither in pdfTeX nor in LuaTeX.
On Fri, Jun 10, 2011 at 2:00 PM, Heiko Oberdiek
![](https://secure.gravatar.com/avatar/62c54476729274ddfefd6b1f53e311dc.jpg?s=120&d=mm&r=g)
Am 10.06.2011 um 14:15 schrieb luigi scarso:
On Fri, Jun 10, 2011 at 01:29:34PM +0200, Patrick Gundlach wrote:
when I include a PDF file, a field is inserted into the resulting PDF which includes the full path of the file name:
/PTEX.FileName (/some/secret/path/I'd/rather/not/reveal.pdf)
Is there a way to suppress this?
No, neither in pdfTeX nor in LuaTeX.
On Fri, Jun 10, 2011 at 2:00 PM, Heiko Oberdiek
wrote: perhaps with qpdf ?
Not an option for me. I'd rather file a tracker item :-) Patrick
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 10-6-2011 2:34, Patrick Gundlach wrote:
Am 10.06.2011 um 14:15 schrieb luigi scarso:
On Fri, Jun 10, 2011 at 01:29:34PM +0200, Patrick Gundlach wrote:
when I include a PDF file, a field is inserted into the resulting PDF which includes the full path of the file name:
/PTEX.FileName (/some/secret/path/I'd/rather/not/reveal.pdf)
Is there a way to suppress this?
No, neither in pdfTeX nor in LuaTeX.
On Fri, Jun 10, 2011 at 2:00 PM, Heiko Oberdiek
wrote: perhaps with qpdf ? Not an option for me. I'd rather file a tracker item :-)
actually, the path is not there if you don't specify it ... so as a temp hack instead if specifying the path as part of the image name, you can add the image path to the texinputs variable Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Fri, Jun 10, 2011 at 3:01 PM, Hans Hagen
On 10-6-2011 2:34, Patrick Gundlach wrote:
Am 10.06.2011 um 14:15 schrieb luigi scarso:
On Fri, Jun 10, 2011 at 2:00 PM, Heiko Oberdiek
wrote: On Fri, Jun 10, 2011 at 01:29:34PM +0200, Patrick Gundlach wrote:
when I include a PDF file, a field is inserted into the resulting PDF which includes the full path of the file name:
/PTEX.FileName (/some/secret/path/I'd/rather/not/reveal.pdf)
Is there a way to suppress this?
No, neither in pdfTeX nor in LuaTeX.
perhaps with qpdf ?
Not an option for me. I'd rather file a tracker item :-)
actually, the path is not there if you don't specify it ... so as a temp hack instead if specifying the path as part of the image name, you can add the image path to the texinputs variable
Hans
And this is a quick hack with qpdf # qpdf --qdf test.pdf test.qdf; perl -i -p -e 's{PTEX\.FileName .+}{PTEX.FileName (--)}' test.qdf # fix-qdf test.qdf >test-1.qdf # qpdf --stream-data=compress test-1.qdf test-1.pdf -- luigi
participants (4)
-
Hans Hagen
-
Heiko Oberdiek
-
luigi scarso
-
Patrick Gundlach