From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67179 Path: news.gmane.org!not-for-mail From: Bart Wise Newsgroups: gmane.comp.tex.context Subject: Re: Defining new head & grid problem Date: Sat, 19 Mar 2011 07:03:45 -0600 Message-ID: References: <938FF804-72B8-4C8A-9E44-AFCF680CBE77@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1128478948==" X-Trace: dough.gmane.org 1300539860 28104 80.91.229.12 (19 Mar 2011 13:04:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Mar 2011 13:04:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 19 14:04:16 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 1Q0vpG-0004R2-0z for gctc-ntg-context-518@m.gmane.org; Sat, 19 Mar 2011 14:04:14 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 55ED2CAA6F; Sat, 19 Mar 2011 14:04:07 +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 gtz5zAj2FOs6; Sat, 19 Mar 2011 14:04:04 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AF999CAAF9; Sat, 19 Mar 2011 14:04:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C05ECCAAF9 for ; Sat, 19 Mar 2011 14:04:02 +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 xIu5CGj4Erxo for ; Sat, 19 Mar 2011 14:04:00 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 60E7BCAA6F for ; Sat, 19 Mar 2011 14:04:00 +0100 (CET) Original-Received: from mail-yx0-f169.google.com (mail-yx0-f169.google.com [209.85.213.169]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2JD3l5i018454 for ; Sat, 19 Mar 2011 14:03:48 +0100 Original-Received: by yxt33 with SMTP id 33so2487864yxt.14 for ; Sat, 19 Mar 2011 06:03:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=hdPxIso5RuiO7GRmxYjjTNKwOYD0zyR0M6hGrK27fhw=; b=TPD8bKm9ewARjdE3mqas7PrukfTXTv8XQXJWNFi9bjVvYq7UWkRUTVHqVI4UIfERvi 5f5irQZqQly6zOEDhFilSGLdqGgsAv/ePpmCBRq8U6dwhlLb4PP287cgRhZuOpayNmxe J1gvN8UlNC8axVssFh2T1/meJmkKQRRTYK6SY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=E9pfK70ySri2A5NK4IKSCCGpvzIldPYUBtcpEY/K9YRJw8FjQhAfmAdPYo6diiUp2+ Jqs/zMCeSfCtrDl/lHRef7Ze9DV/oLTSc12eiwCjrdF83GZvPOTc92DTVUgLTN06kvUm uD7cfOBL2M8Yj9k3w6yA8JjR446s9wocO54DI= Original-Received: by 10.150.169.20 with SMTP id r20mr2170632ybe.311.1300539825858; Sat, 19 Mar 2011 06:03:45 -0700 (PDT) Original-Received: by 10.147.35.9 with HTTP; Sat, 19 Mar 2011 06:03:45 -0700 (PDT) In-Reply-To: <938FF804-72B8-4C8A-9E44-AFCF680CBE77@gmail.com> X-Google-Sender-Auth: xZj5jOilGwTQkgjsXrandiwHauA X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.213.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05El13LWP - 2a745a4c7b52 - 20110319 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:67179 Archived-At: --===============1128478948== Content-Type: multipart/alternative; boundary=000e0cd4cc1e562f85049ed58612 --000e0cd4cc1e562f85049ed58612 Content-Type: text/plain; charset=ISO-8859-1 Wolfgang, Works great. Thanks! Bart On Sat, Mar 19, 2011 at 6:54 AM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote: > > Am 19.03.2011 um 12:57 schrieb Bart Wise: > > > The code below prints out the word "Text:" in bold and then follows with > the text. However, if I turn the grid on (as is coded below), the first > line of the paragraph is printed, followed by a blank line, followed by the > remaining text. The blank line after the first line should not be there. > If I don't use the grid, I don't get the extra blank line. > > > > Is something broken (I'm using the latest beta), or am I doing something > wrong? > > \setuplayout[grid=yes] > > \definehead[paragraph][subsubsubject] > > \setuphead > [paragraph] > [strut=no, > textcommand=\groupedcommand{}{:}, > alternative=text, > style=bold] > > \starttext > \paragraph{Text} \input knuth > \stoptext > > 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 : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > --000e0cd4cc1e562f85049ed58612 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Wolfgang,

Works great. =A0Thanks!

Bart

On Sat, Mar 19, 2011 at 6:54 AM, = Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:

Am 19.03.2011 um 12:57 schrieb Bart Wise:

> The code below prints out the word "Text:" in bold and then = follows with the text. =A0However, if I turn the grid on (as is coded below= ), the first line of the paragraph is printed, followed by a blank line, fo= llowed by the remaining text. =A0The blank line after the first line should= not be there. =A0If I don't use the grid, I don't get the extra bl= ank line.
>
> Is something broken (I'm using the latest beta), or am I doing som= ething wrong?

\setuplayout[grid=3Dyes]

\definehead[paragraph][subsubsubject]

\setuphead
=A0[paragraph]
=A0[strut=3Dno,
=A0 textcommand=3D\groupedcommand{}{:},
=A0 alternative=3Dtext,
=A0 style=3Dbold]

\starttext
\paragraph{Text} \input knuth
\stoptext

Wolfgang


___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________

--000e0cd4cc1e562f85049ed58612-- --===============1128478948== 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1128478948==--