From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36965 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: Thu, 11 Oct 2007 09:43:49 +0200 Message-ID: <115224fb0710110043q697406c7q901196b2333fc363@mail.gmail.com> References: <6faad9f00710100308v15d230baj9bfc9eb07fa9142@mail.gmail.com> <115224fb0710100602k1f41f95cpa970ef8b5cc9bc58@mail.gmail.com> <6faad9f00710101233p4042dd52n4a00f60f4751237@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 1192088804 20337 80.91.229.12 (11 Oct 2007 07:46:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Oct 2007 07:46:44 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 11 09:46:41 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 1Ifskh-0006Fi-U5 for gctc-ntg-context-518@m.gmane.org; Thu, 11 Oct 2007 09:46:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BCC771FB37; Thu, 11 Oct 2007 09:46:33 +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 12495-01; Thu, 11 Oct 2007 09:46:32 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1C6981FC06; Thu, 11 Oct 2007 09:44:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 380921FC01 for ; Thu, 11 Oct 2007 09:44:03 +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 12114-08 for ; Thu, 11 Oct 2007 09:43:53 +0200 (CEST) Original-Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.233]) by ronja.ntg.nl (Postfix) with ESMTP id 983301FC14 for ; Thu, 11 Oct 2007 09:43:51 +0200 (CEST) Original-Received: by wx-out-0506.google.com with SMTP id i27so480045wxd for ; Thu, 11 Oct 2007 00:43:49 -0700 (PDT) Original-Received: by 10.90.73.7 with SMTP id v7mr2465740aga.1192088629423; Thu, 11 Oct 2007 00:43:49 -0700 (PDT) Original-Received: by 10.90.70.1 with HTTP; Thu, 11 Oct 2007 00:43:49 -0700 (PDT) In-Reply-To: <6faad9f00710101233p4042dd52n4a00f60f4751237@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:36965 Archived-At: 2007/10/10, Mojca Miklavec : > 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. This was in my case also a one page document but I created over hundret full page graphics (needed for fieldstacks) and it is a real problem in this case, the other problem for this solution was, I had to pass dozen graphic position to Metapost and it was easier to do the whole work within TeX and use Metapost only to create the needed graphics one and reuse them. > 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.) I don't use gnuplot and I think a lua driven Tikz should solve this in the future, calculate the graphs with lua definition and draw the graphics with TeX macros. > > 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 :) Sorry, my fault. What I meant was the difference between draw point and drawpoint point where the first should be replaced in this situation with the later, fullcircle produce nice circles and Donald Knuth took care about this. 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 ___________________________________________________________________________________