From: Xan <dxpublica@telefonica.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: ConTeXt T-shirts?
Date: Thu, 12 Mar 2009 18:01:08 +0100 [thread overview]
Message-ID: <49B93FD4.1000402@telefonica.net> (raw)
In-Reply-To: <FD367170-6B82-42B9-B6C6-6B51D62638F3@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1677 bytes --]
En/na Wolfgang Schuster ha escrit:
>
> Am 12.03.2009 um 17:33 schrieb Xan:
>
>>> * The blue traffic sign from the wiki.
>>> I have an mp file for that, which is attached.
>>
>> It does not work for me too. When I run texexec or mpost (following
>> the first page of metafun manual) I get the following error:
>
>
> I have the same problem with the minimals, I moved the code
> now in a ConTeXt file and this works for me:
>
> % 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]
>
> \usetypescript[helvetica]
> \setupbodyfont[helvetica,120pt]
>
> \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) ) ;
> label (textext("O"), (f*h,2*v*f) ) ;
> label (textext("N"), (2*f*h,v*f) ) ;
> label (textext("T"), (0,-v*f) ) ;
> label (textext("E"), (f*h,0) ) ;
> label (textext("X"), (f*h*2,-v*f)) ;
> label (textext("T"), (f*h,-2*v*f)) ;
> 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
>
> Wolfgang
Thanks, Wolfgang. Now it works, but whith tiny letters (see attachments)
Xan.
[-- Attachment #2: prova.pdf --]
[-- Type: application/pdf, Size: 17716 bytes --]
[-- Attachment #3: 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
___________________________________________________________________________________
next prev parent reply other threads:[~2009-03-12 17:01 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-09 20:06 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 ` Xan [this message]
2009-03-12 17:18 ` ConTeXt T-shirts? 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 ` Context logo (was ConTeXt T-shirts?) Xan
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=49B93FD4.1000402@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).