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 q02G0Pl7007852 for ; Mon, 2 Jan 2012 17:00:27 +0100 Received: (qmail 25788 invoked by alias); 2 Jan 2012 16:00:20 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 02 Jan 2012 16:00:20 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx095) with SMTP; 02 Jan 2012 17:00:20 +0100 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 q02Fvrwd028725 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 2 Jan 2012 16:57:53 +0100 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 q02FaE8S012595; Mon, 2 Jan 2012 16:57:52 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1978210 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Mon, 2 Jan 2012 16:57:52 +0100 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id q02FvqXw031774 for ; Mon, 2 Jan 2012 16:57:52 +0100 Received: from ix.urz.uni-heidelberg.de (cyrus-portal.urz.uni-heidelberg.de [129.206.100.176]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id q02FvpNM021656 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 2 Jan 2012 16:57:52 +0100 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by ix.urz.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id q02Fvp2B019275 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 2 Jan 2012 16:57:51 +0100 Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id q02FvdWQ021610 for ; Mon, 2 Jan 2012 16:57:42 +0100 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RhkGR-0000hS-9A for LATEX-L@URZ.UNI-HEIDELBERG.DE; Mon, 02 Jan 2012 16:57:31 +0100 Received: from p5dd1ced8.dip.t-dialin.net ([93.209.206.216]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Jan 2012 16:57:31 +0100 Received: from news3 by p5dd1ced8.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Jan 2012 16:57:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ Lines: 49 References: <4EFDA406.8030702@latex-project.org> <4EFE2DB8.2080805@morningstar2.co.uk> <1ngcr82t9io26$.dlg@nililand.de> <4F01BEE8.8070208@morningstar2.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p5dd1ced8.dip.t-dialin.net User-Agent: 40tude_Dialog/2.0.15.41de X-Spam-Flag: No X-Envelope-From: X-Spam-Status: No, hits=-4.40 required=5 tests=AWL,BAYES_00,L_P0F_Linux,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS Message-ID: Date: Mon, 2 Jan 2012 16:57:17 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Ulrike Fischer Subject: Re: \leavevmode? To: LATEX-L@listserv.uni-heidelberg.de Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (eXpurgate); Detail=5D7Q89H36p7v2e6YIeqtw5m4ww1vaGEz5iHzBnCJFi7jGq8vK24xfg9brY/t9GhewmNRY Mx20JAWZhYSXND8CyyzWdveFIiH0rLVm3oh7HChkK4d69GaFb1GmkfJmeHJXISZhbSZDt8BhZX5I 94I+u9glSPxxWBG0VhoLKOD8qUE3vFeFRIRdO9rYXcruaoXMsu4VmbFy6c=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: 6983 Am Mon, 2 Jan 2012 14:27:52 +0000 schrieb Joseph Wright: >> Well I thought about >> \hbox_unpack_clear:N\c_empty_box > >> (as the documentation of source3 says that \hbox_unpack_clear:N is >> \unhbox). >> >> And as I can see l3galley uses >> >> \tex_unhbox:D \c_empty_box. >> >> Is there any real difference between the three variants? > > Must be an older version of l3galley: that version is not in the SVN. > > As you say, \hbox_unpack_clear:N = \unhbox while \hbox_unpack:N = > \unhcopy. I'd prefer the latter as nothing should be modifying a > constant (\c_...), even though here it would make no difference. OK this sound convincing. I will use \hbox_unpack:N. >> And is the name in l3galley "\galley_leave_vmode:" stable? I would >> prefer a standard command instead of my own local >> \leavemode-command. \leavemode is imho such a central concept that >> it should have a standard name. > > There are two slightly separate concepts here (I think - Frank may > correct me). One is the need in the galley mode to leave vertical mode, > and the other is the more general case of 'some arbitrary command'. The > galley has to work a particular way, and it therefore may on occasion do > it's own thing. So I suspect that \galley_... is not the right place for > a general 'ensure we are not in vertical mode' function. > > That leaves the question of where /is/ the right place. One obvious > suggestion is \mode_leave_vertical: or \mode_ensure_not_vertical: (the > latter is a bit awkward if more accurate). The first location where I searched for mode-switching commands was l3prg. But it only contained command to check the mode, not to switch it. (Imho beside \leavevmode also a variant of \@ensuredmath would be a good idea.) -- Ulrike Fischer