From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59235 Path: news.gmane.org!not-for-mail From: Matthias Weber Newsgroups: gmane.comp.tex.context Subject: Indents, enumerations, and modes (mk2+mk4) Date: Tue, 1 Jun 2010 18:14:29 -0400 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1275430554 8727 80.91.229.12 (1 Jun 2010 22:15:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Jun 2010 22:15:54 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 02 00:15:52 2010 connect(): No such file or directory Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OJZkT-0004S4-2Y for gctc-ntg-context-518@m.gmane.org; Wed, 02 Jun 2010 00:15:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C96DBC9B91; Wed, 2 Jun 2010 00:15:47 +0200 (CEST) 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 l+WVE760zy3U; Wed, 2 Jun 2010 00:15:45 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 16560C9B8C; Wed, 2 Jun 2010 00:15:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7E4E3C9B8C for ; Wed, 2 Jun 2010 00:15:43 +0200 (CEST) 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 zBt62uyaNQ1j for ; Wed, 2 Jun 2010 00:15:29 +0200 (CEST) Original-Received: from belushi.uits.indiana.edu (belushi.uits.indiana.edu [129.79.1.188]) by balder.ntg.nl (Postfix) with ESMTP id C1D1AC9AF9 for ; Wed, 2 Jun 2010 00:15:28 +0200 (CEST) Original-Received: from mail-relay.iu.edu (candy.uits.indiana.edu [129.79.1.201]) by belushi.uits.indiana.edu (8.14.2/8.13.8/IU Messaging Team) with ESMTP id o51MFQxh006109 for ; Tue, 1 Jun 2010 18:15:27 -0400 Original-Received: from [192.168.1.102] (c-69-136-4-178.hsd1.in.comcast.net [69.136.4.178]) (authenticated bits=0) by mail-relay.iu.edu (8.14.2/8.13.8/IU Messaging Team Submission) with ESMTP id o51MFD2C025400 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 1 Jun 2010 18:15:17 -0400 X-Mailer: Apple Mail (2.936) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:59235 Archived-At: Dear all, I have two questions regarding using spacing in enumerations. Depending on a mode being enabled, I would like to add a command at the beginning of an enumeration (I want to place something in the margin, but it doesn't actually matter what I do, only when). As shown in the minimal example below, invoking the macro that does something, a little extra space is added. I don't know why, it is probably something very TeX-basic I am ignorant of. So: How do I get rid of the extra space? The problem occurs both in mk2 and mk4, I would prefer a solution that also works in mk2. Thanks! Matthias \def\mma{ \startmode [mma] {} \stopmode } \def\enwidth{5em} \defineenumeration [example] [text=Example, way=bysubsection, location=hanging, width=\enwidth, letter=rm] \starttext \enablemode[mma] \startexample \mma \input tufte \stopexample %% \disablemode[mma] \startexample \mma \input tufte \stopexample %% \startexample \input tufte \stopexample \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________