From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89209 Path: news.gmane.org!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Create an item marker with a counter with Metapost Date: Mon, 10 Nov 2014 19:18:20 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0650509491==" X-Trace: ger.gmane.org 1415643547 21914 80.91.229.3 (10 Nov 2014 18:19:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Nov 2014 18:19:07 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 10 19:19:03 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XntYI-00024s-Nn for gctc-ntg-context-518@m.gmane.org; Mon, 10 Nov 2014 19:18:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2D26C10221 for ; Mon, 10 Nov 2014 19:18:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LGytIBKk9xEl for ; Mon, 10 Nov 2014 19:18:56 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 5239310230 for ; Mon, 10 Nov 2014 19:18:28 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 05F15101E7 for ; Mon, 10 Nov 2014 19:18:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id FYVQjhSP0u93 for ; Mon, 10 Nov 2014 19:18:22 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id BB91F101E4 for ; Mon, 10 Nov 2014 19:18:22 +0100 (CET) Original-Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id sAAIIKiE025021 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 10 Nov 2014 19:18:22 +0100 Original-Received: by mail-ig0-f181.google.com with SMTP id l13so10408686iga.8 for ; Mon, 10 Nov 2014 10:18:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=PeEjnlZ8giC2TRbE3POCCjLmfCe4QpukPSgJIcqQFvM=; b=0b4TdErlJJapEGKKI3WsR68epv4n07pnTjCiz93d7LR3RIrGtL7GT3N7BiQlQUY6MQ lVZNOgGH3IkEOINwZB8fvQoRTDnO10xr3Ke/JflxLqwaiR+ZHubBO+UH4ht3Tp4ij79N AeHfsFj8+Wfh9DplL5F9GG5/jV+nghMiUrOuhrh1EddAv4FyFthYIxe4Ld2XGm/oscRn 9fjBrG2nRULqW/NZZqBy5D1tZhhN3UUrGg0avU9knuN2LH3NYxenIBwpbMC3GwYSyqet fJPghB8+yVH9Wg59Yf1BW8lzqvVC4Cz3GqmPIBdVaSLrvUOh78j2dFZLHE/aFqp8FxmX 7+mA== X-Received: by 10.43.181.69 with SMTP id ph5mr3542273icc.83.1415643500433; Mon, 10 Nov 2014 10:18:20 -0800 (PST) Original-Received: by 10.50.3.69 with HTTP; Mon, 10 Nov 2014 10:18:20 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4001:c05::235; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03NdSilOo - b6afc4349637 - 20141110 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:89209 Archived-At: --===============0650509491== Content-Type: multipart/alternative; boundary=001a11c3b40cf8d84e0507852f3e --001a11c3b40cf8d84e0507852f3e Content-Type: text/plain; charset=UTF-8 Hi, With the book Metafun I created a marker with metapost. How to add a counter ? Best regards, Fabrice \startuseMPgraphic{itemize:fuzzy} numeric u; u:=0.5cm; save p; path p; p := fullcircle xyscaled (u,u) randomized 2pt; pickup pencircle scaled 1pt; fill p withcolor green; draw p withcolor blue; \stopuseMPgraphic \definesymbol[itemize:fuzzy][\useMPgraphic{itemize:fuzzy}] \setupitemize[1][symbol=itemize:fuzzy] \starttext \startitemize \item \input knuth \item \input knuth \stopitemize \stoptext --001a11c3b40cf8d84e0507852f3e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
<= span class=3D"">Hi,
With the book Metafun I crea= ted a marker with metapost. How to add a counter ?
Best reg= ards,
Fabrice

\startuseMPgraphic{itemize:fuzzy}
numer= ic u;
u:=3D0.5cm;
save p; path p;
p :=3D fullcircle xyscaled (u,u)= randomized 2pt;
pickup pencircle scaled 1pt;
fill p withcolor green;=
draw p withcolor blue;
\stopuseMPgraphic
\definesymbol[itemize:fu= zzy][\useMPgraphic{itemize:fuzzy}]
\setupitemize[1][symbol=3Ditemize:fuz= zy]
\starttext
\startitemize
\item \input knuth
\item \input kn= uth
\stopitemize
\stoptext
--001a11c3b40cf8d84e0507852f3e-- --===============0650509491== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0650509491==--