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
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
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
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
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 -----------------------------------------------------------------
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