From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65962 Path: news.gmane.org!not-for-mail From: Andreas Harder Newsgroups: gmane.comp.tex.context Subject: gridsnapping question Date: Fri, 11 Feb 2011 14:52:43 +0100 Message-ID: <4B16D264-81EB-4C15-A0E7-F87E7D2A818D@rz-online.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1297432402 3019 80.91.229.12 (11 Feb 2011 13:53:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Feb 2011 13:53:22 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 11 14:53:18 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PntQy-0000I6-9q for gctc-ntg-context-518@m.gmane.org; Fri, 11 Feb 2011 14:53:16 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 806C0CAA9A; Fri, 11 Feb 2011 14:53:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id GeuUmDC7nAlH; Fri, 11 Feb 2011 14:52:59 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9FEADCAA8A; Fri, 11 Feb 2011 14:52:59 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 73550CAA8A for ; Fri, 11 Feb 2011 14:52:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yB176TKEayeV for ; Fri, 11 Feb 2011 14:52:44 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id D84FDCAA7C for ; Fri, 11 Feb 2011 14:52:44 +0100 (CET) Original-Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p1BDqiEh019658 for ; Fri, 11 Feb 2011 14:52:44 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 187387801584 for ; Fri, 11 Feb 2011 14:52:44 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02596-02 for ; Fri, 11 Feb 2011 14:52:43 +0100 (CET) X-CHKRCPT: Envelopesender noch andreas.harder@rz-online.de Original-Received: from [192.168.1.112] (88-134-86-12-dynip.superkabel.de [88.134.86.12]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTP id 88A09780155B for ; Fri, 11 Feb 2011 14:52:43 +0100 (CET) X-Mailer: Apple Mail (2.1082) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-Bayes-Prob: 0.9751 (Score 4.7, tokens from: @@RPTN) X-CanIt-Geo: ip=141.26.64.15; country=DE; region=08; city=Koblenz; latitude=50.3500; longitude=7.6000; http://maps.google.com/maps?q=50.3500,7.6000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08E6BQIji - beec89c781f1 - 20110211 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:65962 Archived-At: Hello, I've another grid question: What is the goal of all the grid options? It seems that neither the head nor the following text is aligned to the grid. I've adapted the grid-001-example. \setuppapersize[A5][A5] \setuplayout[grid=tolerant] \setupbodyfont[palatino] \def\ChapterTest#1% {\setuphead[chapter][grid={#1}] \startchapter[title={Test: #1}] test \par test \par test \stopchapter \startchapter[title={Test: #1\\test\\test}] test \par test \par test \stopchapter} \definegridsnapping[whatever][strut,offset:-2pt] \definegridsnapping[chapter] [mindepth,maxheight,local] \starttext \showgrid % \showbaselinecorrection \title{Test: no grid option} test \par test \par test \processcommalist [strut, {local,strut}, {strut,top:3}, normal, bottom, both, broad, fit, first, last, high, low, line, halfline, max, min, none, whatever, chapter] \ChapterTest \stoptext Greeting Andreas ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________