From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85909 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: Include PDF Fails Date: Mon, 13 Jan 2014 13:13:58 +0100 Message-ID: <52D3D886.1090107@gmx.net> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1389615239 359 80.91.229.3 (13 Jan 2014 12:13:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jan 2014 12:13:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 13 13:14:07 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W2gP9-0002Ci-MQ for gctc-ntg-context-518@m.gmane.org; Mon, 13 Jan 2014 13:14:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CAC97101EF; Mon, 13 Jan 2014 13:14:06 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2OSoRBjHLPFg; Mon, 13 Jan 2014 13:14:03 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 66B35101E2; Mon, 13 Jan 2014 13:14:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9C6B7101E2 for ; Mon, 13 Jan 2014 13:14:02 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id JVsNUR3nQZZC for ; Mon, 13 Jan 2014 13:14:01 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 4392B101DE for ; Mon, 13 Jan 2014 13:14:01 +0100 (CET) Original-Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s0DCE0Qe001111 for ; Mon, 13 Jan 2014 13:14:00 +0100 Original-Received: from [192.168.178.3] ([37.24.146.147]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MCggg-1WAy8w0lxS-009SUh for ; Mon, 13 Jan 2014 13:14:00 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: X-Enigmail-Version: 1.6 X-Provags-ID: V03:K0:5WuER6SkpLiaq+7sEn/Yj2LA8XSVdoh4qrak4OGkhN93W2vzN3c uhG7R9W6xd0pDhItmyUJ2Ry5uleYE1hhIZj6Ie7ySwqtxl9VqB2W/4/XHyQkigrRMH3n/iG 4dkV/B8nri0IjHrIhQt/TGLxtn2nt58TgB5CTZIb/L4kOTI4qanbuEYI9rUmlRNeAEhnvUs yftaMHYDNhbSkxW2YZtpQ== X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.17.20; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NLdoe04M - 60ee35d25270 - 20140113 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85909 Archived-At: 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). Peter > > \definelayer[page:CoverPicture][ > x=0mm,y=0mm,width=\paperwidth,height=\paperheight, > ] > > % Set the layer content to be an image that is scaled to fit the page. > \setlayer[page:CoverPicture]{% > \externalfigure[\PictureFrontCover][ > width=\paperwidth,height=\paperheight, > ] > } > > \starttext > \startfrontmatter > \setupbackgrounds[page][background=page:CoverPicture] > \startstandardmakeup > \stopstandardmakeup > \setupbackgrounds[page][background=] > \stopfrontmatter > > \startbodymatter > Hello world! > \stopbodymatter > \stoptext > > -- 8< -- > > Thoughts? > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ > ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________