From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85830 Path: news.gmane.org!not-for-mail From: Jean-Guillaume Newsgroups: gmane.comp.tex.context Subject: Re: setuphead for in-paragraph head ? Date: Thu, 9 Jan 2014 13:44:27 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1389271467 23499 80.91.229.3 (9 Jan 2014 12:44:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jan 2014 12:44:27 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 09 13:44:33 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 1W1EyP-0006TA-FD for gctc-ntg-context-518@m.gmane.org; Thu, 09 Jan 2014 13:44:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DF67A101EA; Thu, 9 Jan 2014 13:44:32 +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 3U72W1uYD2eS; Thu, 9 Jan 2014 13:44:31 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7F6AA101E2; Thu, 9 Jan 2014 13:44:31 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9748B101E2 for ; Thu, 9 Jan 2014 13:44:30 +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 sSienc1nEh-K for ; Thu, 9 Jan 2014 13:44:29 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id A6E09101DE for ; Thu, 9 Jan 2014 13:44:29 +0100 (CET) Original-Received: from mail-oa0-x22d.google.com (mail-oa0-x22d.google.com [IPv6:2607:f8b0:4003:c02::22d]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s09Cu1hg002702 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 9 Jan 2014 13:56:02 +0100 Original-Received: by mail-oa0-f45.google.com with SMTP id j17so633299oag.32 for ; Thu, 09 Jan 2014 04:44:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=FsIAsZBkhlv5OUxtk2uKiE3HotjI1ancp53R/4JqyBg=; b=sjs0Qm/oq1I2UqtFY9kdMdAY6x/Ig0V0mds5w9XmUxB7x/x0ZUEzWKEPFxTwlFoiGY opPFPOP8gt625WDAXJE0g2g0MFkqc8HdL8qVyR/JoZtr2F9KdxW6sQfW0QTFAY2hvj8b acw+P9o/rrhyQP/CIhVsio/fG5bg8fl1wgX5gRtYorZ4bWBz28Tek04uC0RRogf6Ke+J 8DWNYGUxtBZ20Junbw6ek3t60C/IIg518tMsia7BPc7oHyh47IJ5z0D0sE7wMr4VFCmw 1N1k7TZ625UrseszQJaMm6K/m7mlzZ2ShrIJiyqMVy3ZaacAPtjfiG4jgbdaFP3vOgJ0 UjbQ== X-Received: by 10.182.247.68 with SMTP id yc4mr960000obc.67.1389271467562; Thu, 09 Jan 2014 04:44:27 -0800 (PST) Original-Received: by 10.182.60.230 with HTTP; Thu, 9 Jan 2014 04:44:27 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4003:c02::22d; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01LbMU2uw - 6ab793de99d7 - 20140109 X-Scanned-By: CanIt (www . roaringpenguin . com) 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:85830 Archived-At: Thanks for your reply, Marco. Here is a full example: \starttext \definehead[Exercise][subsection] \setuphead [Exercise] [after=] \startExercise[]{(this is the exercise's title)} The exercise's content. \stopExercise \stoptext After contexting it, it looks like: 1 (this is the exercise's title) The exercise's content. Actually, I would like to have the head's number and the head's title on the same line. That is, whith no new line. Jean-Guillaume ___________________________________________________________________________________ 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 ___________________________________________________________________________________