From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86462 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Too much space between the text and the beginning of the paragraph with the command \defineenumeration Date: Tue, 25 Feb 2014 23:54:17 +0100 Message-ID: <3C481872-52DA-471E-A079-97ED8EEA4115@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: multipart/mixed; boundary="===============1000282990==" X-Trace: ger.gmane.org 1393368866 26470 80.91.229.3 (25 Feb 2014 22:54:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Feb 2014 22:54:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 25 23:54:36 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 1WIQtW-0005mD-6Q for gctc-ntg-context-518@m.gmane.org; Tue, 25 Feb 2014 23:54:34 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8137C101F0; Tue, 25 Feb 2014 23:54:33 +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 7mM62+zKP4QT; Tue, 25 Feb 2014 23:54:32 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 0797B101F1; Tue, 25 Feb 2014 23:54:32 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AC067101F1 for ; Tue, 25 Feb 2014 23:54:29 +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 NflttSlH1n+A for ; Tue, 25 Feb 2014 23:54:28 +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 86047101F0 for ; Tue, 25 Feb 2014 23:54:18 +0100 (CET) Original-Received: from mail-ee0-x22b.google.com (mail-ee0-x22b.google.com [IPv6:2a00:1450:4013:c00::22b]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s1PMsIAw028685 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 25 Feb 2014 23:54:18 +0100 Original-Received: by mail-ee0-f43.google.com with SMTP id e51so34725eek.30 for ; Tue, 25 Feb 2014 14:54:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=87n5JKJb/jtt/f4lJE9IkKp/aIh9PeeSxKt2lQzbc0Q=; b=CG5v717VTwPWhtMRCbmeQxzT1gb4f14lkdrlYXEIlqYCysPbGy7J7bQgklk63+JBdn ckWOPywOK1ERv0wY2980qxrqgrwfwtbEzY5UVyft5IUonIJfp40XFchtAiDA+6P7k7Q+ f+d/wV1TGS0YcRTnsVyByvUusAj1Pu2yrz5ujbQs40ibTov+JpZ5jw/oFbsot/d16SzJ VoofP56EhrU8x5ClPRdxOF7ahRUupHBnyobeb77qJe8BgIOTmVFngJYBEnEX6zeuJBnY E7MF9JjxsiXfWNdIIJNjt5Dyjh4rEmAQjVGs8N+SKcHEZEl5QXoAT8RVRJVHLVATUs2w Bbhg== X-Received: by 10.15.41.140 with SMTP id s12mr2778441eev.4.1393368858051; Tue, 25 Feb 2014 14:54:18 -0800 (PST) Original-Received: from keima.localdomain (x2f2231d.dyn.telefonica.de. [2.242.35.29]) by mx.google.com with ESMTPSA id o43sm81431250eef.12.2014.02.25.14.54.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 14:54:17 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1827) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::22b; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03LuKSi5j - 1fb9ea2a028b - 20140225 (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:86462 Archived-At: --===============1000282990== Content-Type: multipart/alternative; boundary="Apple-Mail=_F3103D38-5B32-461C-9536-92D56E25E24F" --Apple-Mail=_F3103D38-5B32-461C-9536-92D56E25E24F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 25.02.2014 um 23:48 schrieb Fabrice Couvreur = : > Sorry, but my question is unclear.=20 > In fact, I created a new environment with the package amsthm in = LuaLaTeX like this : >=20 > \newtheoremstyle{exa} > {\topsep}{\topsep} > {} > {0pt} > {\strut\bfseries} > {} > {\newline} > {\rule[0pt]{1mm}{1mm} \thmname{#1}\thmnumber{ \textup > {#2}}\thmnote{ \textnormal{(#3)}}} > \theoremstyle{exa} > \newtheorem{ex}{Exercice} >=20 > I try to do the same with ConteXt.=20 >=20 >=20 > correctiondm7_seconde.pdf >=20 > @Wolfgang The paragraph should find the following line, and not on the = same line of text. And why had you =93location=3Dleft=94 in your code snippet. > @Peter I do not see what changes adding "inbetween =3D =84. To avoid such problems it is always recommended to make a minimal = example which demonstrates the problem. \defineenumeration [ex] [text=3D{Exercice}, headstyle=3D{\bf\feature[+][f:smallcaps]}, inbetween=3D{\blank[small]}, stopper=3D{.}] \setupbodyfont[pagella] \starttext \startex \input knuth \stopex \stoptext Wolfgang --Apple-Mail=_F3103D38-5B32-461C-9536-92D56E25E24F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252

@Peter I do not see what = changes adding "inbetween =3D = =84.

To avoid = such problems it is always recommended to make a minimal example which = demonstrates the = problem.

\defineenumeration
  = [ex]
  [text=3D{Exercice},
  =  headstyle=3D{\bf\feature[+][f:smallcaps]},
  =  inbetween=3D{\blank[small]},
  =  stopper=3D{.}]

\setupbodyfont[pagella]

\starttext

\startex
\input = knuth
\stopex

\stoptext

<= /div>
Wolfgang

= --Apple-Mail=_F3103D38-5B32-461C-9536-92D56E25E24F-- --===============1000282990== 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 ___________________________________________________________________________________ --===============1000282990==--