From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85825 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Re: setuphead for in-paragraph head ? Date: Thu, 9 Jan 2014 12:27:48 +0100 Message-ID: <20140109112748.GA13355@homerow> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2140670887==" X-Trace: ger.gmane.org 1389266877 1416 80.91.229.3 (9 Jan 2014 11:27:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jan 2014 11:27:57 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 09 12:28:04 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W1DmM-0005ns-Ub for gctc-ntg-context-518@m.gmane.org; Thu, 09 Jan 2014 12:28:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 129D3101E9; Thu, 9 Jan 2014 12:28:00 +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 54hP+ipZgqiQ; Thu, 9 Jan 2014 12:27:58 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 17A8E101E2; Thu, 9 Jan 2014 12:27:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F27A4101E2 for ; Thu, 9 Jan 2014 12:27:56 +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 vPcB+2cjeKbm for ; Thu, 9 Jan 2014 12:27:55 +0100 (CET) Original-Received: from filter2-utr.mf.surf.net (filter2-utr.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 157E8101DE for ; Thu, 9 Jan 2014 12:27:54 +0100 (CET) Original-Received: from forward10l.mail.yandex.net (forward10l.mail.yandex.net [84.201.143.143]) by filter2-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s09BYINd015525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 9 Jan 2014 12:34:19 +0100 Original-Received: from smtp7.mail.yandex.net (smtp7.mail.yandex.net [77.88.61.55]) by forward10l.mail.yandex.net (Yandex) with ESMTP id B13D4BA0F3A for ; Thu, 9 Jan 2014 15:27:52 +0400 (MSK) Original-Received: from smtp7.mail.yandex.net (localhost [127.0.0.1]) by smtp7.mail.yandex.net (Yandex) with ESMTP id 6C5011580EA4 for ; Thu, 9 Jan 2014 15:27:50 +0400 (MSK) Original-Received: from xdsl-92-252-70-7.dip.osnanet.de (xdsl-92-252-70-7.dip.osnanet.de [92.252.70.7]) by smtp7.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 6JIUWJU0BR-Rn0KwDwm; Thu, 9 Jan 2014 15:27:49 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: cc85d892-4c94-40a0-a874-817a428db102 Mail-Followup-To: ntg-context@ntg.nl In-Reply-To: X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xB8CFCB65D4F08C27 User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.9963 (Score 4.7, tokens from: @@RPTN) X-CanIt-Geo: ip=84.201.143.143; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04LbLyjEk - f7214313d203 - 20140109 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85825 Archived-At: --===============2140670887== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2014=E2=80=9301=E2=80=9309 Jean-Guillaume wrote: > In the subsection head, I would like to suppress the newline between the > number and the text, That's controlled by the =E2=80=9Cafter=E2=80=9D key. \setuphead [Exercise] [after=3D] > My purpose is to define something like: >=20 > \definehead[Exercise][subsection] > \setuphead > [Exercise] > [alternative=3DMine?, > ..., > numberstyle=3Dbold] Please provide full working examples next time. That makes it easier for us and it's more likely you'll get a response. > So I can typeset a list of exercises in a compact way. I could use > enumerations but I don't think I should. That depends on your document. You can use sections, enumerations or Wolfgang's annotation module. Marco --oyUTqETQ0mS9luUI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJSzoexAAoJEPGqVaNSn0iKGJcH/0lLtghhhAzg1tkWFF4ZVi/W EsvTJ79MNFVbiORoiWIuv8f/peh8wxYHBrxcCXPbSMiRHU2yjXd0tE+GODoVbmxl qvyHwVk1jqm/Z7VFT2ZhNjiUnCC00ey960ScOEj9JP5t/5PGLJzKHMvRaI7EdiN3 VuQ5Ead1qwMLsG13aAT/RsNorniLK5Pmtq8t1S1D+DvjoKGLjXtBZKFk00ucqEtb r7FPFOnaIaLqwlag7TNVaxDYGf4/ThsGAEZDH/vNjbpAxDUh6fJAVS6iUN6FHWP6 k1HmhqWbNxJa5YzUwhhok9PNyrId7CzbtBcgHxjVK1RV1Kagf4HhivntvQ1H0GU= =HzPx -----END PGP SIGNATURE----- --oyUTqETQ0mS9luUI-- --===============2140670887== 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 ___________________________________________________________________________________ --===============2140670887==--