From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67175 Path: news.gmane.org!not-for-mail From: Bart Wise Newsgroups: gmane.comp.tex.context Subject: Defining new head & grid problem Date: Sat, 19 Mar 2011 05:57:42 -0600 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2116245994==" X-Trace: dough.gmane.org 1300535891 9487 80.91.229.12 (19 Mar 2011 11:58:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Mar 2011 11:58:11 +0000 (UTC) To: Context Mailing List Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 19 12:58:04 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 1Q0un9-0005ZI-SH for gctc-ntg-context-518@m.gmane.org; Sat, 19 Mar 2011 12:57:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BEDB5CAB38; Sat, 19 Mar 2011 12:57:53 +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 qaU37QG-89XX; Sat, 19 Mar 2011 12:57:50 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C77B0CAB0C; Sat, 19 Mar 2011 12:57:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B0D4CCAB0C for ; Sat, 19 Mar 2011 12:57:49 +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 Zc8hnjFf3Rlx for ; Sat, 19 Mar 2011 12:57:38 +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 A5E6ECAB06 for ; Sat, 19 Mar 2011 12:57:38 +0100 (CET) Original-Received: from mail-gw0-f41.google.com (mail-gw0-f41.google.com [74.125.83.41]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2JBvgdq023646 for ; Sat, 19 Mar 2011 12:57:43 +0100 Original-Received: by gwaa12 with SMTP id a12so2471220gwa.14 for ; Sat, 19 Mar 2011 04:57:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:date:x-google-sender-auth :message-id:subject:from:to:content-type; bh=MkQcWGI8JSDAmqq6BTqleFXs5IRtcOdY3KLjVWFk+ew=; b=KgWzFlv5yHQcG/QTDG19sur7MV2ZkDIGpRHhRghtZjxtDZ/d/1ykoqCtf8EKLhLZIr 5ctfhrZp9VqmLrjBF3USIWC8UMENddkzlIPhclWFBKo94EW7+rUZ2zRFekSE37n6ZhTC 9YXI3JM0OIgK7IdXFmKfCLAUlfTgm+T2GeCnU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=VKkM7PElk4cyMOTV3G1fHDfavstUF5WZF08IwfygfErLLd1MCVAMAs90Kd7kxk1AqY HSGzJ5kpkozl1NHXzqu48Wi6xQXA9OV7ipFqsIi9CNnurQAL5cPjmJDsIjZx5fSof5Lb 5SpU32y4Ug3m4WOxfFw8SROrLdLQk9D0ML+t0= Original-Received: by 10.150.73.20 with SMTP id v20mr2112262yba.368.1300535862285; Sat, 19 Mar 2011 04:57:42 -0700 (PDT) Original-Received: by 10.147.35.9 with HTTP; Sat, 19 Mar 2011 04:57:42 -0700 (PDT) X-Google-Sender-Auth: UeT_AIw-k3FgcGVs1Z0Sn3NgrFg X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.41; 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: 05EkXVHR1 - 3257390b0f9d - 20110319 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 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:67175 Archived-At: --===============2116245994== Content-Type: multipart/alternative; boundary=00151748dcc016d63f049ed49a19 --00151748dcc016d63f049ed49a19 Content-Type: text/plain; charset=ISO-8859-1 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? Thanks, Bart \setuplayout[grid=yes] \definehead[paragraph][subsubsubject] \setuphead[paragraph][ alternative=text, style=bold] \starttext \paragraph{Text: } \input knuth \stoptext --00151748dcc016d63f049ed49a19 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable The code below prints out the word "Text:" in bold and then follo= ws with the text. =A0However, if I turn the grid on (as is coded below), th= e first line of the paragraph is printed, followed by a blank line, followe= d 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 blank l= ine.

Is something broken (I'm using the latest beta), or am I= doing something wrong?

Thanks,
Bart


\setuplayout[grid=3Dyes]

\definehead[paragraph][subsubsubject]
\setuphead[p= aragraph][
=A0=A0 =A0alternative=3Dtext,
=A0=A0 =A0styl= e=3Dbold]

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

--00151748dcc016d63f049ed49a19-- --===============2116245994== 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 ___________________________________________________________________________________ --===============2116245994==--