ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: need help with creating a grid with context
Date: Wed, 10 Oct 2007 15:02:07 +0200	[thread overview]
Message-ID: <115224fb0710100602k1f41f95cpa970ef8b5cc9bc58@mail.gmail.com> (raw)
In-Reply-To: <6faad9f00710100308v15d230baj9bfc9eb07fa9142@mail.gmail.com>

2007/10/10, Mojca Miklavec <mojca.miklavec.lists@gmail.com>:
> 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
___________________________________________________________________________________


  reply	other threads:[~2007-10-10 13:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-10  1:06 MASON Peter J
2007-10-10 10:08 ` Mojca Miklavec
2007-10-10 13:02   ` Wolfgang Schuster [this message]
2007-10-10 19:33     ` Mojca Miklavec
2007-10-11  7:43       ` Wolfgang Schuster
  -- strict thread matches above, loose matches on Subject: below --
2007-10-10 23:33 MASON Peter J
2007-10-09 23:42 MASON Peter J
2007-10-10  8:54 ` Peter Rolf
2007-10-11  7:27   ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=115224fb0710100602k1f41f95cpa970ef8b5cc9bc58@mail.gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).