From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85833 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: setuphead for in-paragraph head ? Date: Thu, 9 Jan 2014 14:24:35 +0100 Message-ID: <76850319-0120-41E9-8A4E-46FE9A9CB48C@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1389273882 20499 80.91.229.3 (9 Jan 2014 13:24:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jan 2014 13:24:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 09 14:24:48 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 1W1FbL-0006Wv-Sg for gctc-ntg-context-518@m.gmane.org; Thu, 09 Jan 2014 14:24:47 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8CBF3101DE; Thu, 9 Jan 2014 14:24:47 +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 gRBD2HqWOX7T; Thu, 9 Jan 2014 14:24:42 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 6F1CA101E6; Thu, 9 Jan 2014 14:24:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E6439101E6 for ; Thu, 9 Jan 2014 14:24:41 +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 2aT9-WOf22cF for ; Thu, 9 Jan 2014 14:24:41 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id ECA7F101DE for ; Thu, 9 Jan 2014 14:24:40 +0100 (CET) Original-Received: from mail-bk0-x234.google.com (mail-bk0-x234.google.com [IPv6:2a00:1450:4008:c01::234]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s09DOdhT031489 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 9 Jan 2014 14:24:39 +0100 Original-Received: by mail-bk0-f52.google.com with SMTP id u14so1117470bkz.39 for ; Thu, 09 Jan 2014 05:24:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=sI48yzH4sNQRx9iTVtjnlwtKAcWXJJzfabjnVkcybXU=; b=Cdz0GMpb0hRvg1R7tKJsZv5+BxJPaJCGG0bsaEyHX79+ETIK0LLQWbawTtRbLjv3J8 /9w0B/kBsdu8oadaLUbPJitKILHlOquR7lTC4FE9+b9+3w4T/ysevfzCq3k9XJCQNB7+ gqAIlWsyzhvSAfmn8HiMyoLdfD4TRNocVcHKhkudO7bCZ8OghcelbZYvqyDVQo4KmKuq rBdGkQlZM5OpUFsPhtFuDVdCKCxzY3wU3og2mITwpFvEdhbH10RLQUsd/Un9Q7PaaaHB p5YYgXCcZA6mU4CS5KQSt0b4vKc/5KvPZ4glowEcM7OsUp3OH+8CbjgUzGp7ITfhezwf vGsA== X-Received: by 10.204.68.69 with SMTP id u5mr684922bki.150.1389273879735; Thu, 09 Jan 2014 05:24:39 -0800 (PST) Original-Received: from keima.localdomain (x2f24cd5.dyn.telefonica.de. [2.242.76.213]) by mx.google.com with ESMTPSA id d5sm4616861bkc.9.2014.01.09.05.24.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 Jan 2014 05:24:37 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1827) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::234; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07LbNoDjr - bd51c0e39b2f - 20140109 (trained as not-spam) 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:85833 Archived-At: Am 09.01.2014 um 14:23 schrieb Jean-Guillaume : > But this: > > \definehead > [Exercise] [subsection] > [after=] > \starttext > \startExercise [title=This is the exercise's title] > The exercise's content. > \stopExercise > \stoptext > > results to: > > 1 This is the exercise's title > The exercise's content. > > and 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.) > > I'm sorry it wasn't very clear. Now I understand that I misunderstood > \startExercise{...} for \startExercise[title=...] and that's why I was > confused about which newline I want to get rid of. \definehead [Exercise] [subsection] [alternative=text, distance=0.5em, insidesection=\ignorespaces] 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 ___________________________________________________________________________________