From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32577 Path: news.gmane.org!not-for-mail From: "Fidel Viegas" Newsgroups: gmane.comp.tex.context Subject: Image logo showing up with white background Date: Sat, 6 Jan 2007 14:08:20 +0100 Message-ID: <3d3c4b7e0701060508x2a989ff8n93e0ececc5c19aee@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1253455834==" X-Trace: sea.gmane.org 1168088936 5665 80.91.229.12 (6 Jan 2007 13:08:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 6 Jan 2007 13:08:56 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 06 14:08:44 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1H3BHv-0007M9-6B for gctc-ntg-context-518@m.gmane.org; Sat, 06 Jan 2007 14:08:43 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 855A720136; Sat, 6 Jan 2007 14:05:39 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02578-01-2; Sat, 6 Jan 2007 14:05:33 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 298C1200A9; Sat, 6 Jan 2007 14:05:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DACF3200A9 for ; Sat, 6 Jan 2007 14:05:31 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02578-01 for ; Sat, 6 Jan 2007 14:05:22 +0100 (CET) Original-Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by ronja.ntg.nl (Postfix) with ESMTP id 00927200A7 for ; Sat, 6 Jan 2007 14:05:19 +0100 (CET) Original-Received: by py-out-1112.google.com with SMTP id a73so3143946pye for ; Sat, 06 Jan 2007 05:08:21 -0800 (PST) Original-Received: by 10.35.27.2 with SMTP id e2mr45378301pyj.1168088900970; Sat, 06 Jan 2007 05:08:20 -0800 (PST) Original-Received: by 10.35.118.19 with HTTP; Sat, 6 Jan 2007 05:08:20 -0800 (PST) Original-To: "context list" X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:32577 Archived-At: --===============1253455834== Content-Type: multipart/alternative; boundary="----=_Part_35122_13702276.1168088900884" ------=_Part_35122_13702276.1168088900884 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello folks, I am using an image to embed the logo at the top of the document. The background of my document is gray, and when I render the document, the logo shows up with a white background, over the gray background. Something similar to the \frame command. My logo image was converted from PSD (Photoshop PSD) to PDF, and I have preserved the tranparent background so that I could layer it over a background and it picks the background color instead of the white background. How do I embed my image in the document so that the background stays the background color of the document? What am I doing wrong? \def\FuxionLogo% {\externalfigure[FT_LogoV2][height=1.5\headerheight]} \definelogo [fuxion logo] [top] [middle] [command=\FuxionLogo,state=start] \setuppapersize[A4][A4] \setuppagenumbering [location={bottom,middle}] \setupcolors [state=start] \definehead[title][title] \setuphead [title] [textstyle=cap, before=\hairline, after=\hairline] \setupinterlinespace [big] \setuplayout [width=middle, height=middle] \starttext \setupbackgrounds [page] [background=color, backgroundcolor=gray] Another question I have is regarding the positioning of the logo. The logo is really close to the top. I want it to have a space at the top. How do I achieve this? Thanks in advance, Fidel. ------=_Part_35122_13702276.1168088900884 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello folks,

I am using an image to embed the logo at the top of the document. The background of my document is gray, and when I render the document, the logo shows up with a white background, over the gray background. Something similar to the \frame command. My logo image was converted from PSD (Photoshop PSD) to PDF, and I have preserved the tranparent background so that I could layer it over a background and it picks the background color instead of the white background.
How do I embed my image in the document so that the background stays the background color of the document? What am I doing wrong?

\def\FuxionLogo%
  {\externalfigure[FT_LogoV2][height=1.5\headerheight]}

\definelogo
  [fuxion logo] [top] [middle]
  [command=\FuxionLogo,state=start]                       

\setuppapersize[A4][A4]

\setuppagenumbering
  [location={bottom,middle}]
   
\setupcolors
  [state=start]

\definehead[title][title]
\setuphead
  [title]
  [textstyle=cap,
   before=\hairline,
   after=\hairline]

\setupinterlinespace
  [big]

\setuplayout
  [width=middle,
   height=middle]
          
\starttext

\setupbackgrounds
  [page]
  [background=color,
   backgroundcolor=gray]


Another question I have is regarding the positioning of the logo. The logo is really close to the top. I want it to have a space at the top. How do I achieve  this?

Thanks in advance,

Fidel.
------=_Part_35122_13702276.1168088900884-- --===============1253455834== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============1253455834==--