From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46313 Path: news.gmane.org!not-for-mail From: "Diego Depaoli" Newsgroups: gmane.comp.tex.context Subject: Broken output with xetex Date: Sun, 14 Dec 2008 03:21:04 +0100 Message-ID: <83e5fb980812131821y1c039064rb269892ccf40693b@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1229221370 3033 80.91.229.12 (14 Dec 2008 02:22:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Dec 2008 02:22:50 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 14 03:23:53 2008 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 1LBge5-0005iQ-58 for gctc-ntg-context-518@m.gmane.org; Sun, 14 Dec 2008 03:23:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 476AF1FB89; Sun, 14 Dec 2008 03:22: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 09258-05-3; Sun, 14 Dec 2008 03:21:42 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4E4621FB5A; Sun, 14 Dec 2008 03:21:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E77281FB5A for ; Sun, 14 Dec 2008 03:21:40 +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 08814-03-5 for ; Sun, 14 Dec 2008 03:21:05 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by ronja.ntg.nl (Postfix) with ESMTP id 357DF1FB49 for ; Sun, 14 Dec 2008 03:21:04 +0100 (CET) Original-Received: by fg-out-1718.google.com with SMTP id l26so993852fgb.8 for ; Sat, 13 Dec 2008 18:21:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=Uqc6YGiA0ySQ+Va7YXqvk2DRk+vQdHAidpcFE3zXiPE=; b=Z+2wcR++Vot1UHWkPZMmaSoHv0Jt1flz7oUy2dwBkm2RCaA8993TUhH2o9P+Lgkocl ZJOdTKsBfL60+OaHodYT+G2tN4WdzudbFwgwr0ZqCPE1GI1/5DzVQS7PpyOf5Up2C5pL viK9ijZOMwCq+ls4XiEjtEU1ojGZMiyUEydQU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=Av3G62EDMzxsb72XjRO2gZco4NHipeC0HFQfErxIO63+7GeCN1tb0jU3BHOUcZC4j9 +8U4hm3uSAhv/H/fhBsLuSo9LooeF30i52Qyb3WLB0LB0fCaxUU7EaS72PytKKjra/HO lENxMnOhu+IqxVIbzmB3Dgn9Gng27oZtjdFjA= Original-Received: by 10.86.4.2 with SMTP id 2mr2917345fgd.4.1229221264638; Sat, 13 Dec 2008 18:21:04 -0800 (PST) Original-Received: by 10.86.76.2 with HTTP; Sat, 13 Dec 2008 18:21:04 -0800 (PST) Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:46313 Archived-At: What goes wrong with this code using xetex engine? No issues with pdftex and luatex. \setupcolors[state=start] \definecolor[a][yellow] \definecolor[b][s=.4] \definecolor[c][darkyellow] \definecolor[d][green] \definecolor[e][s=.4] \definecolor[f][darkgreen] \defineoverlay[my shade][\uniqueMPgraphic{MyShade}] \defineoverlay[circular shade][\uniqueMPgraphic{CircularShade}] \defineoverlay[linear shade] [\uniqueMPgraphic{LinearShade}] \startuniqueMPgraphic{LinearShade} path p ; p := unitsquare xscaled \overlaywidth yscaled \overlayheight ; linear_shade(p,0,\MPcolor{a},\MPcolor{b}); \stopuniqueMPgraphic \startuniqueMPgraphic{CircularShade} path p ; p := unitsquare xscaled \overlaywidth yscaled \overlayheight ; circular_shade(p,2,\MPcolor{a},\MPcolor{b}) ; \stopuniqueMPgraphic \startuniqueMPgraphic{MyShade} path p ; p := unitsquare xscaled \overlaywidth yscaled \overlayheight ; circular_shade(p,3,\MPcolor{f},\MPcolor{e}) ; \stopuniqueMPgraphic \starttext \framed[background=circular shade] {frame 1} \framed[background=linear shade] {frame 2} \framed[background=my shade] {frame 3} \stoptext Cheers -- Diego Depaoli ___________________________________________________________________________________ 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 ___________________________________________________________________________________