From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36950 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: need help with creating a grid with context Date: Wed, 10 Oct 2007 15:02:07 +0200 Message-ID: <115224fb0710100602k1f41f95cpa970ef8b5cc9bc58@mail.gmail.com> References: <6faad9f00710100308v15d230baj9bfc9eb07fa9142@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: sea.gmane.org 1192021382 8762 80.91.229.12 (10 Oct 2007 13:03:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Oct 2007 13:03:02 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 10 15:03:00 2007 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 1IfbCz-0001zM-7V for gctc-ntg-context-518@m.gmane.org; Wed, 10 Oct 2007 15:02:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A515F1FC01; Wed, 10 Oct 2007 15:02:35 +0200 (CEST) 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 14557-03-16; Wed, 10 Oct 2007 15:02:25 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8DC2E1FB51; Wed, 10 Oct 2007 15:02:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6643C1FADC for ; Wed, 10 Oct 2007 15:02:16 +0200 (CEST) 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 14557-03-15 for ; Wed, 10 Oct 2007 15:02:12 +0200 (CEST) Original-Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.231]) by ronja.ntg.nl (Postfix) with ESMTP id DBBF61FA87 for ; Wed, 10 Oct 2007 15:02:11 +0200 (CEST) Original-Received: by wr-out-0506.google.com with SMTP id c38so92089wra for ; Wed, 10 Oct 2007 06:02:08 -0700 (PDT) Original-Received: by 10.90.29.18 with SMTP id c18mr1128373agc.1192021327777; Wed, 10 Oct 2007 06:02:07 -0700 (PDT) Original-Received: by 10.90.70.1 with HTTP; Wed, 10 Oct 2007 06:02:07 -0700 (PDT) In-Reply-To: <6faad9f00710100308v15d230baj9bfc9eb07fa9142@mail.gmail.com> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:36950 Archived-At: 2007/10/10, Mojca Miklavec : > On 10/10/07, MASON Peter J wrote: > > > Hope to create a regular (1cm spacing) grid on page, of bullets. Ultimately > > over the whole page. > > Why not using MetaPost? > > \starttext > \startMPcode % or \startMPpage > for i=0 upto 10: > for j=0 upto 20: > fill fullcircle scaled 1mm shifted ((i,j) scaled 1cm); > endfor; > endfor; > \stopMPcode > \stoptext > > Mojca Because TeX is faster in this situation and it takes more time to write the Metapost code in external file, process this file, convert it into a PDF file and include it into the document etc. I know what I say because this was one of the reasons why the sgf module place the field within TeX and not with Metapost, a matter of speed and you can reuse the objects. You should also replace the fullcircle with drawdot in your example, drawdot renders better on screen and looks better. Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________