Received: from mx0.gmx.net (mx0.gmx.net [213.165.64.100]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with SMTP id o7J729sS021687 for ; Thu, 19 Aug 2010 09:02:10 +0200 Received: (qmail 26657 invoked by alias); 19 Aug 2010 07:02:04 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 19 Aug 2010 07:02:04 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx118) with SMTP; 19 Aug 2010 09:02:04 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id o7J70LvG013913 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Aug 2010 09:00:21 +0200 Received: from listserv.uni-heidelberg.de (localhost.localdomain [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id o7IM158A002159; Thu, 19 Aug 2010 09:00:19 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 435889 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 19 Aug 2010 09:00:19 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id o7J70Jsp005354 for ; Thu, 19 Aug 2010 09:00:19 +0200 Received: from mail-pv0-f177.google.com (mail-pv0-f177.google.com [74.125.83.177]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id o7J70Ar3013777 for ; Thu, 19 Aug 2010 09:00:17 +0200 Received: by pvg12 with SMTP id 12so607072pvg.22 for ; Thu, 19 Aug 2010 00:00:10 -0700 (PDT) Received: by 10.142.211.6 with SMTP id j6mr8017956wfg.345.1282201210006; Thu, 19 Aug 2010 00:00:10 -0700 (PDT) Received: from [129.127.15.244] ([129.127.15.244]) by mx.google.com with ESMTPS id v38sm1332750wfh.12.2010.08.19.00.00.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 19 Aug 2010 00:00:08 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) References: <4C6CCD25.5080805@gmx.de> X-Mailer: Apple Mail (2.1081) X-Spam-Whitelist: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id o7J70Jsp005355 Message-ID: <1171A1B7-E12F-4489-9E16-EBE4DBD4E484@gmail.com> Date: Thu, 19 Aug 2010 16:30:03 +0930 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Will Robertson Subject: Re: xparse: environment* To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <4C6CCD25.5080805@gmx.de> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p77e5KAPs1l6v/Sb97LojnDtMgfETrECMLUO9erHzOJe+OynZRhvlGqb5A0X bbiCt2rAnnct/NAlbHMvoAL6GY+23tB3khNK7Y6oT1sPizBjJUAOds0oJBO/5TIz9C5741aj9GOJ bE70Q==V1; X-Resent-By: Forwarder X-Resent-For: rainer.schoepf@gmx.net X-Resent-To: rainer@rainer-schoepf.de Status: R X-Status: X-Keywords: X-UID: 6361 On 19/08/2010, at 3:50 PM, Arno Trautmann wrote: > This time a simple question: I want to define a document environment > that offers a star alternative. Trying to say > > \DeclareDocumentEnvironment{myenv}{s}{ > } > {} > > gives me an undefined environment in my document. Am I doing something > wrong here? If so, is there another way to achieve \begin{myenv*} in the > document? I guess for this sort of thing we haven't thought of a better interface beyond \DeclareDocumentEnvironment{myenv*}{}{ ... }{ ... } Nothing really springs to mind as being more convenient... any suggestions? In your case above, you'd be defining an environment that looked like \begin{myenv}*...\end{myenv} which is obviously not what you want (and a little bit weird). -- Will