From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36935 Path: news.gmane.org!not-for-mail From: MASON Peter J Newsgroups: gmane.comp.tex.context Subject: need help with creating a grid with context Date: Wed, 10 Oct 2007 09:42:13 +1000 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1040768688==" X-Trace: sea.gmane.org 1191973402 3814 80.91.229.12 (9 Oct 2007 23:43:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Oct 2007 23:43:22 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 10 01:43:17 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 1IfOjL-0007Ym-Sq for gctc-ntg-context-518@m.gmane.org; Wed, 10 Oct 2007 01:43:15 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7BAAF1FBB5; Wed, 10 Oct 2007 01:43:08 +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 22832-07-8; Wed, 10 Oct 2007 01:42:57 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 499B21FB1B; Wed, 10 Oct 2007 01:42:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 354D81FB1B for ; Wed, 10 Oct 2007 01:42:41 +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 22700-10-7 for ; Wed, 10 Oct 2007 01:42:22 +0200 (CEST) Original-Received: from mx1.rta.nsw.gov.au (mx1.rta.nsw.gov.au [163.189.22.21]) by ronja.ntg.nl (Postfix) with ESMTP id 8A4331FA2D for ; Wed, 10 Oct 2007 01:42:21 +0200 (CEST) Original-Received: from mailscanc (unknown [192.168.20.9]) by mx1.rta.nsw.gov.au (Postfix) with ESMTP id 8B1412CBD for ; Wed, 10 Oct 2007 09:42:13 +1000 (EST) Original-Received: from coresj20.rta.nsw.gov.au (Not Verified[163.189.27.2]) by mailscanc with MailMarshal (v6, 2, 1, 3252) id ; Wed, 10 Oct 2007 09:42:13 +1000 Original-Received: from coresj20.rta.nsw.gov.au (coresj20.rta.nsw.gov.au [163.189.27.2]) by coresj20.rta.nsw.gov.au (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with SMTP id <0JPO00D6I4I1FDQ0@coresj20.rta.nsw.gov.au> for ntg-context@ntg.nl; Wed, 10 Oct 2007 09:42:13 +1000 (EST) Original-Received: from coresj20.rta.nsw.gov.au ([163.189.27.2]) by coresj20.rta.nsw.gov.au (SMSSMTP 4.1.11.41) with SMTP id M2007101009421332020 for ; Wed, 10 Oct 2007 09:42:13 +1000 Original-Received: from COREX302.corp.rta.nsw.gov.au ([163.189.2.26]) by coresj20.rta.nsw.gov.au (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JPO00IGY4ID84C0@coresj20.rta.nsw.gov.au> for ntg-context@ntg.nl; Wed, 10 Oct 2007 09:42:13 +1000 (EST) Original-Received: from centx302.corp.rta.nsw.gov.au ([163.189.111.17]) by COREX302.corp.rta.nsw.gov.au with Microsoft SMTPSVC(6.0.3790.1830); Wed, 10 Oct 2007 09:42:13 +1000 X-MIMEOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message Thread-topic: need help with creating a grid with context Thread-index: AcgKzgQfWEx5IavkTGe4M6FrUeCyXA== X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 09 Oct 2007 23:42:13.0469 (UTC) FILETIME=[0479C8D0:01C80ACE] 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:36935 Archived-At: This is a multi-part message in MIME format. --===============1040768688== Content-type: multipart/alternative; boundary="Boundary_(ID_GYzdBkN6nU8qs3/cQgiNhQ)" Content-class: urn:content-classes:message This is a multi-part message in MIME format. --Boundary_(ID_GYzdBkN6nU8qs3/cQgiNhQ) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT I'm trying to layout a grid of bullets. The results isn't the expected one. Perhaps someone could offer help here? Thanks. Here's the sort of thing I'm doing .... \setuplayout[leftmargin=0pt, leftmargindistance=0pt, backspace=0pt, rightmargin=0pt, rightmargindistance=0pt, cutspace=0pt, width=middle, topspace=0pt, header=0pt, headerdistance=0pt, footer=0pt, footerdistance=0pt, bottomspace=0pt, height=middle] %\showlayout \starttext \setuppositioning[unit=cm] \startpositioning \newcount\Row \Row = 0 \loop { \newcount\Col \Col = 0 \loop \position(\Col, \Row) {$\bullet$} \ifnum\Col < 14 \advance\Col by 1 \repeat } \ifnum\Row < 36 \advance\Row by 1 \repeat \stoppositioning \stoptext IMPORTANT NOTICE: This e-mail and any attachment to it are intended only to be read or used by the named addressee. It is confidential and may contain legally privileged information. No confidentiality or privilege is waived or lost by any mistaken transmission to you. The RTA is not responsible for any unauthorised alterations to this e-mail or attachment to it. Views expressed in this message are those of the individual sender, and are not necessarily the views of the RTA. If you receive this e-mail in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. --Boundary_(ID_GYzdBkN6nU8qs3/cQgiNhQ) Content-type: text/html; charset=iso-8859-1 Content-transfer-encoding: 7BIT need help with creating a grid with context

I'm trying to layout a grid of bullets. The results isn't the expected one. Perhaps someone could offer help here? Thanks.

Here's the sort of thing I'm doing ....

\setuplayout[leftmargin=0pt, leftmargindistance=0pt, backspace=0pt, rightmargin=0pt, rightmargindistance=0pt, cutspace=0pt, width=middle, topspace=0pt, header=0pt, headerdistance=0pt, footer=0pt, footerdistance=0pt, bottomspace=0pt, height=middle]

%\showlayout

\starttext
\setuppositioning[unit=cm]
\startpositioning
        \newcount\Row

        \Row    = 0
        \loop
                {
                        \newcount\Col

                        \Col = 0
                        \loop
                                \position(\Col, \Row) {$\bullet$}
                                \ifnum\Col < 14
                                        \advance\Col by 1
                        \repeat
                }
                \ifnum\Row < 36
                        \advance\Row by 1
        \repeat
\stoppositioning
\stoptext

 

Before printing, please consider the environment.

IMPORTANT NOTICE: This e-mail and any attachment to it are intended only to be read or used by the named addressee. It is confidential and may contain legally privileged information. No confidentiality or privilege is waived or lost by any mistaken transmission to you. The RTA is not responsible for any unauthorised alterations to this e-mail or attachment to it. Views expressed in this message are those of the individual sender, and are not necessarily the views of the RTA. If you receive this e-mail in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient.

 

--Boundary_(ID_GYzdBkN6nU8qs3/cQgiNhQ)-- --===============1040768688== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1040768688==--