# Re: [NTG-context] Include PDF Fails

On 1/13/2014 1:13 PM, Peter Rolf wrote:
Hi,

Am 13.01.2014 06:37, schrieb Thangalin:
Hi,

I am trying to include a single test page in my document. The
following code fails to set the PDF as the background layer for the
cover page. I've tried several variations
(http://wiki.contextgarden.net/Including_pages_from_PDF_documents),
but nothing works. It seems to be a problem with this specific PDF
being included.

The code:

-- 8< --

\def\PictureFrontCover{http://www.education.gov.yk.ca/pdf/pdf-test.pdf}
^^^^

Mh, is there a resolver for http-adresses in ConTeXt? I guess if you use
a local file path, things should work as expected (not tested).

sure there is ... already for many years

(as luigi mentioned, the pdf is bugged so it depends on how good a pdf handler can recover)

Hans

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