From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59237 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Indents, enumerations, and modes (mk2+mk4) Date: Wed, 2 Jun 2010 04:07:32 -0400 (EDT) Message-ID: References: <4C05D0C6.5080605@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1275466024 3951 80.91.229.12 (2 Jun 2010 08:07:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 Jun 2010 08:07:04 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 02 10:07:03 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 1OJiyd-0001sN-Ak for gctc-ntg-context-518@m.gmane.org; Wed, 02 Jun 2010 10:07:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 935F0C9BA6; Wed, 2 Jun 2010 10:07:02 +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 MgDyQDmEBLvs; Wed, 2 Jun 2010 10:06:57 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 30F9AC9B8F; Wed, 2 Jun 2010 10:06:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 50B94C9B8F for ; Wed, 2 Jun 2010 10:06:56 +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 IpdJWBIPRB7h for ; Wed, 2 Jun 2010 10:06:53 +0200 (CEST) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by balder.ntg.nl (Postfix) with ESMTP id 7FAB6C9B80 for ; Wed, 2 Jun 2010 10:06:53 +0200 (CEST) Original-Received: FROM adi-netbook (LPuteaux-151-41-30-19.w217-128.abo.wanadoo.fr [217.128.89.19]) By hellskitchen.mr.itd.umich.edu ID 4C06111B.329D6.31277 ; Authuser adityam; 2 Jun 2010 04:06:51 EDT In-Reply-To: <4C05D0C6.5080605@googlemail.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) 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:59237 Archived-At: On Wed, 2 Jun 2010, Wolfgang Schuster wrote: > Am 02.06.10 00:14, schrieb Matthias Weber: >> 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\mma > {\startmode[mma]% not sure here > ...% > \stopmode} or maybe \def\mma{\doifmode{mma}{....}} or perhaps \def\mma{}%default % override the definition in a mode \startmode[mma] \def\mma{in mode mma} \stopmode > or use setups Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________