ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Xan <dxpublica@telefonica.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Context logo (was ConTeXt T-shirts?)
Date: Sat, 14 Mar 2009 16:45:26 +0100	[thread overview]
Message-ID: <49BBD116.1020309@telefonica.net> (raw)
In-Reply-To: <BBDFEDF9-9349-4F5C-80BA-782883A9C14F@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 560 bytes --]

En/na Wolfgang Schuster ha escrit:
>
> Am 14.03.2009 um 14:50 schrieb Xan:
>
>> How can I get the background were transaparent? (not white)
>
> What do you mean, the background is already transparent.
>
> Wolfgang
>
> __
Wolfgang, when I run texexec prova.tex I obtain prova.pdf and 
prova-mpgraph.1 Both files have background white and not transparent 
background. I don't know how explain it.

Perhaps this 
[http://www.mediacollege.com/adobe/photoshop/transparent/background.html] 
could help you (?).

How do you mean that it's already transparent?

Xan.


[-- Attachment #2: prova.pdf --]
[-- Type: application/pdf, Size: 5268 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: prova.tex --]
[-- Type: text/x-tex; name="prova.tex", Size: 1267 bytes --]

% logo.mp: creates a blue traffic sign-style context logo
% Copyright 2008 Taco Hoekwater
% You are free to use this code any way you can

\setupcolors[state=start,textcolor=white]

\startMPenvironment[global]
\usetypescript[postscript][ec]
\setupbodyfont[postscript,ss,144pt]
\stopMPenvironment 

\starttext

\startMPpage[offset=0pt]
color darkblue,textcolor;
darkblue := (0.0625,0,.412); % 0f006b =
textcolor := (1,1,1);
def rect (expr xl,yl,r) =
  pickup pencircle scaled 1;
  draw (xl-.5r,yl-.5r) -- (xl+.5r,yl-.5r)--
       (xl+.5r,yl+.5r) -- (xl-.5r,yl+.5r) -- cycle
            withcolor textcolor;
enddef;

f:= 14;
h:=8;
v:=4;

fill fullcircle scaled 408 shifted (112,0)
    withcolor darkblue;
label (textext("C"), (0,v*f)     ) withcolor textcolor ;
label (textext("O"), (f*h,2*v*f) ) withcolor textcolor ;
label (textext("N"), (2*f*h,v*f) ) withcolor textcolor ;
label (textext("T"), (0,-v*f)    ) withcolor textcolor ;
label (textext("E"), (f*h,0)     ) withcolor textcolor ;
label (textext("X"), (f*h*2,-v*f)) withcolor textcolor ;
label (textext("T"), (f*h,-2*v*f)) withcolor textcolor ;
r := h*f;

rect (0,v*f,r);
rect (f*h,2*v*f,r);
rect (2*f*h,v*f,r);
rect (0,-v*f,r);
rect (f*h,0,r);
rect (f*h*2,-v*f,r);
rect (f*h,-2*v*f,r);
\stopMPpage

\stoptext 

[-- Attachment #4: prova-mpgraph.1 --]
[-- Type: application/postscript, Size: 1919 bytes --]

[-- Attachment #5: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2009-03-14 15:45 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-09 20:06 ConTeXt T-shirts? Xan
2009-03-10 18:03 ` Mojca Miklavec
2009-03-11 17:48   ` Xan
2009-03-12  8:57     ` Taco Hoekwater
2009-03-12 16:33       ` Xan
2009-03-12 16:55         ` Wolfgang Schuster
2009-03-12 16:59           ` Taco Hoekwater
2009-03-12 17:05             ` Xan
2009-03-12 17:40               ` Taco Hoekwater
2009-03-13  8:24                 ` Hans Hagen
2009-03-13  8:23               ` Hans Hagen
2009-03-13 13:30                 ` Xan
2009-03-13 13:35                   ` Cow fonts (was: ConTeXt T-shirts?) Wolfgang Schuster
2009-03-12 17:01           ` ConTeXt T-shirts? Xan
2009-03-12 17:18             ` Wolfgang Schuster
2009-03-12 19:03               ` Xan
2009-03-12 19:13               ` Xan
2009-03-12 19:56               ` Aditya Mahajan
2009-03-12 20:08                 ` Wolfgang Schuster
2009-03-13 13:18                   ` Xan
2009-03-13 13:26                     ` Wolfgang Schuster
2009-03-14 13:50                     ` Xan
2009-03-14 15:00                       ` Wolfgang Schuster
2009-03-14 15:45                         ` Xan [this message]
2009-03-14 15:59                           ` Context logo Wolfgang Schuster
2009-03-14 16:15                             ` Xan
2009-03-14 16:48                               ` Wolfgang Schuster
2009-03-14 19:22                                 ` Xan
2009-03-14 19:34                                   ` Wolfgang Schuster
2009-03-14 20:52                                     ` Xan
2009-03-14 21:31                                       ` Aditya Mahajan
2009-03-15  9:47                                         ` Xan
2009-03-15  8:39                                       ` Mojca Miklavec
2009-03-15  9:53                                         ` Xan
2009-03-15  9:58                                           ` Taco Hoekwater
2009-03-15 10:02                                             ` Xan
2009-03-13 10:33     ` ConTeXt T-shirts? Mojca Miklavec

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=49BBD116.1020309@telefonica.net \
    --to=dxpublica@telefonica.net \
    --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).