ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Fidel Viegas" <fidel.viegas@gmail.com>
Subject: Image logo showing up with white background
Date: Sat, 6 Jan 2007 14:08:20 +0100	[thread overview]
Message-ID: <3d3c4b7e0701060508x2a989ff8n93e0ececc5c19aee@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1335 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 1801 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

             reply	other threads:[~2007-01-06 13:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-06 13:08 Fidel Viegas [this message]
2007-01-07 16:34 ` Taco Hoekwater

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3d3c4b7e0701060508x2a989ff8n93e0ececc5c19aee@mail.gmail.com \
    --to=fidel.viegas@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).