From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36957 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: need help with creating a grid with context Date: Wed, 10 Oct 2007 21:33:25 +0200 Message-ID: <6faad9f00710101233p4042dd52n4a00f60f4751237@mail.gmail.com> References: <6faad9f00710100308v15d230baj9bfc9eb07fa9142@mail.gmail.com> <115224fb0710100602k1f41f95cpa970ef8b5cc9bc58@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 1192044847 2938 80.91.229.12 (10 Oct 2007 19:34:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Oct 2007 19:34:07 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 10 21:34:04 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 1IfhJf-0000wr-8N for gctc-ntg-context-518@m.gmane.org; Wed, 10 Oct 2007 21:33:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EBCB61FC66; Wed, 10 Oct 2007 21:33:52 +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 25357-06-4; Wed, 10 Oct 2007 21:33:41 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5441E1FC43; Wed, 10 Oct 2007 21:33:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8FB3C1FC43 for ; Wed, 10 Oct 2007 21:33:36 +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 25357-06-3 for ; Wed, 10 Oct 2007 21:33:28 +0200 (CEST) Original-Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.239]) by ronja.ntg.nl (Postfix) with ESMTP id 59B631FA9E for ; Wed, 10 Oct 2007 21:33:26 +0200 (CEST) Original-Received: by wr-out-0506.google.com with SMTP id c38so183232wra for ; Wed, 10 Oct 2007 12:33:26 -0700 (PDT) Original-Received: by 10.142.111.14 with SMTP id j14mr377931wfc.1192044805316; Wed, 10 Oct 2007 12:33:25 -0700 (PDT) Original-Received: by 10.142.87.14 with HTTP; Wed, 10 Oct 2007 12:33:25 -0700 (PDT) In-Reply-To: <115224fb0710100602k1f41f95cpa970ef8b5cc9bc58@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:36957 Archived-At: On 10/10/07, Wolfgang Schuster wrote: > 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. OK, that's a good point, and I fully agree with it. It's only that I would probably use something like that for really simple, short, one-page documents, where I would be concerned about the speed I need to come to a solution, not with the speed of document processing - half a second more or less. With the route tex -> .plt file -> gnuplot -> tex (metafun) -> metapost (-> mpto or \sometxt) -> pdf, which I frequently use, the situation is much much worse, but it's still acceptable. ConTeXt became at least 10 times faster during the last three or four years. (Or at least that's my impression.) > You should also replace the fullcircle with drawdot in your example, drawdot > renders better on screen and looks better. Thanks. I always use fill fullcircle for some reason. Perhaps I should changle my habit :) Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________