From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85867 Path: news.gmane.org!not-for-mail From: Jean-Guillaume Newsgroups: gmane.comp.tex.context Subject: Re: ntg-context Digest, Vol 115, Issue 19 Date: Fri, 10 Jan 2014 12:40:49 +0100 Message-ID: References: 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 1389354056 13544 80.91.229.3 (10 Jan 2014 11:40:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Jan 2014 11:40:56 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 10 12:41: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 1W1aSU-0007gN-LB for gctc-ntg-context-518@m.gmane.org; Fri, 10 Jan 2014 12:41:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C4002101E9; Fri, 10 Jan 2014 12:40: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 z6I4dIvyVXtR; Fri, 10 Jan 2014 12:40:55 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 5587D101E2; Fri, 10 Jan 2014 12:40:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6CB9F101E2 for ; Fri, 10 Jan 2014 12:40: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 UwdlLtXRmU+o for ; Fri, 10 Jan 2014 12:40:52 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 979BD101DE for ; Fri, 10 Jan 2014 12:40:52 +0100 (CET) Original-Received: from mail-ob0-x236.google.com (mail-ob0-x236.google.com [IPv6:2607:f8b0:4003:c01::236]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s0ABeoMX014919 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Fri, 10 Jan 2014 12:40:51 +0100 Original-Received: by mail-ob0-f182.google.com with SMTP id wn1so2659831obc.41 for ; Fri, 10 Jan 2014 03:40:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=67+gwWsF75lfsqK3NASOXzYF0OEYLSd2R/SCr3hy9qw=; b=XBxDOEIhPIUPkZahYLiD8q4nclMnrkazsO6fkjlV+gD5ghIfNflvgYX14spxeGj7qa oXceh53wvz1FPxOy9qc9iy+hHgTzSpqlm4fTWhXe3FJHgblxvmWVpj91gBwLEMC/wsDM TevTpV2Njs9wpAmmg5BshVsEDhGfcTtbMibMyaKdZJfBzgrgJ5y4b9K3cBNCvnfjIXR0 XpSGdok+SlUKGEgRg1vl1evrpMqXmOMnYvnQTn/a+3mvlmnrwahL9wSLPFw5izMA2UM8 UD6G7Ibn1OsVEJJpbHL7i81XiMb9lZDtV9/LssnCTWsNhCGsTlY+aUhav3xpU54ZuYB0 XB8w== X-Received: by 10.182.144.136 with SMTP id sm8mr1771200obb.63.1389354049844; Fri, 10 Jan 2014 03:40:49 -0800 (PST) Original-Received: by 10.182.60.230 with HTTP; Fri, 10 Jan 2014 03:40:49 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4003:c01::236; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03LcbEPvq - bec9e21e350b - 20140110 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:85867 Archived-At: > Date: Thu, 9 Jan 2014 14:24:35 +0100 > From: Wolfgang Schuster > Subject: Re: [NTG-context] setuphead for in-paragraph head ? > Message-ID: <76850319-0120-41E9-8A4E-46FE9A9CB48C@gmail.com> >> But this: >> >> \definehead >> [Exercise] [subsection] >> [after=] >> \starttext >> \startExercise [title=This is the exercise's title] >> The exercise's content. >> \stopExercise >> \stoptext >> I would like it to be: >> >> 1 This is the exercise's title The exercise's content. >> >> (When I can typeset that, I will see about formatting the number and so on.) > \definehead > [Exercise] > [subsection] > [alternative=text, > distance=0.5em, > insidesection=\ignorespaces] This is just what I was looking for. Thanks you all for your replies. I will also check the other ones, with the questions/hints/answers system. 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 ___________________________________________________________________________________