From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58258 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: Grid typesetting, colums and vertical spacing Date: Tue, 20 Apr 2010 15:54:25 +0200 Message-ID: <4BCDB211.6070006@gmx.net> References: 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: dough.gmane.org 1271771717 21978 80.91.229.12 (20 Apr 2010 13:55:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Apr 2010 13:55:17 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 20 15:55:15 2010 connect(): No such file or directory 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 1O4Dv0-00009X-Kf for gctc-ntg-context-518@m.gmane.org; Tue, 20 Apr 2010 15:55:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 02723C9CE9; Tue, 20 Apr 2010 15:55:14 +0200 (CEST) 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 Z7zsXwN9-2ls; Tue, 20 Apr 2010 15:54:59 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ABEB5C9CEC; Tue, 20 Apr 2010 15:54:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4ADCCC9CEC for ; Tue, 20 Apr 2010 15:54:44 +0200 (CEST) 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 44cs4CebJnF5 for ; Tue, 20 Apr 2010 15:54:28 +0200 (CEST) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by balder.ntg.nl (Postfix) with SMTP id 109A0C9CE9 for ; Tue, 20 Apr 2010 15:54:27 +0200 (CEST) Original-Received: (qmail invoked by alias); 20 Apr 2010 13:54:26 -0000 Original-Received: from ip-109-91-201-21.unitymediagroup.de (EHLO [192.168.178.3]) [109.91.201.21] by mail.gmx.net (mp006) with SMTP; 20 Apr 2010 15:54:26 +0200 X-Authenticated: #24293357 X-Provags-ID: V01U2FsdGVkX18C8S5smUYCQe6bFW8eR0h6URCGoxpUNhMGUeCQju osgHLGXgA2pPFK User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 In-Reply-To: X-Enigmail-Version: 1.0.1 X-Y-GMX-Trusted: 0 X-FuHaFi: 0.56999999999999995 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:58258 Archived-At: Hello Jan, Am 20.04.2010 14:11, schrieb Jan Pohanka: > > Hello, > > I'm trying to typeset on the grid, but I also need to reduce vertical > spacing around headings. Unfortunately when i specify the 'before/after' > setting for head, grid typesetting fails. > Is there any option to make \blank more flexible? > (I'm using MKII) > see http://www.pragma-ade.com/general/manuals/details.pdf and (maybe outdated example) http://archive.contextgarden.net/message/20051226.174723.f5c32d5c.en.html Best wishes, Peter > example: > > > \setupoutput[pdftex] > > \setuppapersize[A4,landscape][A4,landscape] > \setuplayout[backspace=0.5cm,topspace=0.5cm,top=0cm,footer=0.5cm, > width=middle,height=middle,margin=0cm,header=0cm] > > \setupbodyfont[10pt] > > \mainlanguage[cz] > \enableregime[utf8] > > \setuppagenumbering[location=] > > \setuphead[section][style={\bf}] > \setuphead[section][before={\blank[halfline,flexible]}] % not working well > % \setuphead[section][after={\blank[halfline,flexible]}] % not working well > > > \starttext > > \setuplayout[grid=yes] \showgrid > \definecolumnset[my][n=4,distance=1.2em,balance=yes] % balance not work > > \startcolumnset[my] > > \section{Pokus} > \input knuth > \input knuth > \subsection{Pokus 2} > \input knuth > \input knuth > \input knuth > \subsection{Pokus 3} > \input knuth > > \stopcolumnset > > \stoptext > > > greetings > Jan > > ___________________________________________________________________________________ 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 ___________________________________________________________________________________