From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85905 Path: news.gmane.org!not-for-mail From: Thangalin Newsgroups: gmane.comp.tex.context Subject: Include PDF Fails Date: Sun, 12 Jan 2014 21:37:17 -0800 Message-ID: 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 1389601421 4532 80.91.229.3 (13 Jan 2014 08:23:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jan 2014 08:23:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 13 09:23:50 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 1W2coG-0001It-0Q for gctc-ntg-context-518@m.gmane.org; Mon, 13 Jan 2014 09:23:48 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BF6A4101FE; Mon, 13 Jan 2014 09:23:46 +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 K84nMsHGVtQi; Mon, 13 Jan 2014 09:23:45 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id DC30E101E9; Mon, 13 Jan 2014 09:23:43 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 96E20101E2 for ; Mon, 13 Jan 2014 06:37:24 +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 rDmDyNq3xvek for ; Mon, 13 Jan 2014 06:37:19 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id BBA5D101DE for ; Mon, 13 Jan 2014 06:37:19 +0100 (CET) Original-Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::22b]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s0D5bHVi007781 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 13 Jan 2014 06:37:18 +0100 Original-Received: by mail-ie0-f171.google.com with SMTP id to1so3413820ieb.16 for ; Sun, 12 Jan 2014 21:37:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=AMWJRiaCzqtxmDG9732ylV6F6iPPRYt9RwTD8JWh2Co=; b=AGlkKUf7tBZuOP5i5BvM+HhucRiEGWDxiLjZc3GS1Pwzlh/IFV7NClEftDyLdELCat 8QY0vlGxL7+UVEpCEKULF89SdKCl7iTupVJ30tyRSpTtuP3qTL6FkGJlk46fax0qTZK6 N+B+DKnOo1VkMk2TgegXP33A94s5syEJCq1/mQuPBop+XtpeU3lliNI9QmwLtxMvhaPs EDVXxYH+QWsrV6ZNrdXcS4tbRUn2uWStN41mveGAurC4L1PqfPmLI/fGDhYL9wr+n9MG LdQ95bRavKA/jwavyzIaS/0F6zidyMdAt5IlXC2TB9hsGidNKWd/fnSFCnxDWWzKAHTG ZDQA== X-Received: by 10.50.16.243 with SMTP id j19mr17099571igd.4.1389591437096; Sun, 12 Jan 2014 21:37:17 -0800 (PST) Original-Received: by 10.42.84.195 with HTTP; Sun, 12 Jan 2014 21:37:17 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4001:c03::22b; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WLdhBiyy - a946a10a6d48 - 20140113 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-Mailman-Approved-At: Mon, 13 Jan 2014 09:23:42 +0100 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:85905 Archived-At: 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} \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 ___________________________________________________________________________________