Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id t7M7ClcA018871 for ; Sat, 22 Aug 2015 09:12:49 +0200 Received: from relay2.uni-heidelberg.de ([129.206.210.211]) by mx-ha.gmx.net (mxgmx108) with ESMTPS (Nemesis) id 0LkRvz-1YschF0gWZ-00cSTc for ; Sat, 22 Aug 2015 09:12:42 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t7M7B7SH013758 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 22 Aug 2015 09:11:08 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t7LM14Pk031319; Sat, 22 Aug 2015 09:11:07 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 12511439 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sat, 22 Aug 2015 09:11:07 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t7M7B7Vn030874 for ; Sat, 22 Aug 2015 09:11:07 +0200 Received: from st11p02im-asmtp001.me.com (st11p02im-asmtp001.me.com [17.172.220.113]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id t7M7B32g005473 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 22 Aug 2015 09:11:06 +0200 Received: from [10.100.10.168] (mx-ll-183.89.114-155.dynamic.3bb.co.th [183.89.114.155]) by st11p02im-asmtp001.me.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTPSA id <0NTH00HX52MBNX30@st11p02im-asmtp001.me.com> for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sat, 22 Aug 2015 07:11:03 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-08-22_02:2015-08-21,2015-08-22,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1508220123 References: Content-type: text/plain; charset=gb2312 X-Mailer: iPad Mail (12F69) MIME-version: 1.0 (1.0) X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id t7M7B7Vn030875 Message-ID: <62502E04-FA17-44F6-B708-C27E417832CE@icloud.com> Date: Sat, 22 Aug 2015 14:10:58 +0700 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Christopher Rowley Subject: Re: Help with Expl3-izing some code To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-MIME-Autoconverted: from 8bit to quoted-printable by relay2.uni-heidelberg.de id t7M7B7SH013758 Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-GMX-Antivirus: 0 (no virus found) X-UI-Filterresults: notjunk:1;V01:K0:GBsyVaLSwGk=:0LajI8mLU5dI3KXFehdiquMAjl kzjymTvDRqoEA4gpcv5qwapgFvVclQFAR8Dj7pZo9/V17HA3qngYSfS9L5AaBb9amemNxSw+E 8P4HC1hqpIN3ZGkqRdo6G1xyOOj8vmE2jEv87KwXva5R6UoCHwej7UdBSLn9FCmbMhsNQ4AyI l14SeQNVaJ+XSYCUp5P8FajYA2lCktPl8w3QUYzIgg4quXjlnehuG79kk43IMkqunt1kuA+D5 9LGRQOd2HnOFQCLfu1Iy5m+sc1eqYu8V8snA31e9q76c7G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bd4vByyBKZCtklpi05ZyPuz4TQ/J3Pjx+y9r+p92cexGWsgskLLvx9fd+yOkUGMt z+2qJOsdUmp7Fsg6cGAjzZkL2NRlsUZsR9S9DI+uaP+R2nGTU/iBs66BlFKvnbDN+sVLa+7Zi z6MNn4xOOv37AhX7QThm0ufDPRkV2V4kJjIZaE6XwpFRTu83b2 X-UI-Loop:V01:Fa9rKKHIFpY=:R3QC+n2VLxDnmjqOXcbLv0pZZXNF6o0QjdK99zSzmTw= X-UI-Out-Filterresults: notjunk:1;V01:K0:Nmckb4gZ/Xk=:NaOF+h4EbldswP+BBJpP28 3oE/khZbkFKt2+0lkQSYC3wMzXv8kwCgoOQ0XjKgsRGkGOcY8MpEJJkeFeuKkcMoqcZ0IpBXH IG1wQGf+xRsXb7ibfU90VlsLzFjKD6qJ850DxFjMSiHBM8qEbCEmZMswrYChh27VDApJI7X0e d6EsVGQOO0aLfK+HMO73cXuyoFcsKOBchjxioQbMoj5rQ714+4sgkMU2Y4NYXBwZJ60Hk6bf/ UjP1ZEXGiZP1/rm5rJ44AENFVKKxD1YQiCopJVbEVyjVtPHiNzj0EKjn4Qt1Mu1uu7ViW6f76 MhIw8fTl4FofDRfgVDHfuqnw5hvcoWOZNqEtLD2RDXdrPZi0oPlGXArPfPyvawsbJ2p6GJHGD uhAPeMaodb0um8fQ7sNUOO+MFSwZj9C18r83V56sFEBmLHzxwwXSfeW/PgaXZ/4kvdaHJfzfS UK8jUNpfIBLsyvGLJKFh6vL0l14h+xzfZflr/1in+9jHU0AxtcL+ X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by h1439878.stratoserver.net id t7M7ClcA018871 Status: R X-Status: X-Keywords: X-UID: 7826 Joel Will has explained well the current status. I should just add that both the 2e commands and syntax plus 'naughty' non-LaTeX commands will be supported for a long, long time -- well after the new, improved, magic of LaTeX3 goes to grips with this, very subtle and tricky area of mini-page-like structures and llap-like structures in vertical mode. Note that the major difference between the following (I have little idea into which class each falls): llap in plain/2e Possible versions of llap in (very) expl3 `\hbox_overlap_left:n etc. is the presence or absence of \leavevmode, (or its equivalent in Nuspeak ): as the name suggests this makes a big difference if the structure is used in vmode as it then starts a paragraph before adding the box. Your uses are all within a paragraph or an L-R box where all have much, or maybe exactly, the same effect. Apologies if my explanation only serves to confuse you more. Meanwhile, have fun with your typesetting. Note that the type of structure you are trying to provide: section headings set in the margin, is typographical important. Thus this will be a standard option in whatever emerges from the higher level design stuff to be built on expl3+++ -- but do not hold your breath as there is a whole heap of difficult 'designing', in many senses of that word, to be done before anything stable emerges. Best wishes, chris Sent from my iPud (\~/) > On 22 Aug 2015, at 09:59, Will Robertson wrote: > > Hi Joel, > > Always good to see what people are interested in trying out :) > >> On Sat, Aug 22, 2015 at 2:46 AM, Joel C. Salomon wrote: >> >> The commit message at >> indicates that xbox >> does not yet have the equivalent of `\parbox`. For the restricted use >> I¡¯m putting this to (`\parbox[t][0pt]{\somedim}{one or two lines of >> text}`), can somebody suggest a lightweight alternative? Neither >> wrapping `\hbox_to_wd:nn` within `\vbox_to_zero:n` nor the other way >> around worked for me. > > As you've discovered, this is an area that we haven't spent much time > working on. > > Basically, providing new versions of \parbox and so on requires going > back to the drawing board and figuring out not just *what* should be > implemented but the user interface as well -- and we're still a way > from deciding how parameters for document elements should work. > > For example, you could imagine a CCS-like approach where you can give > a box an ID or class and then style it from the preamble. The idea of > a "typeset" module for providing bare-bones elements for typesetting > might include box support but for your purposes is still some way off. > The coffins commands might help if you're stacking boxes together, but > they don't exactly qualify for "lightweight". > > So for the time being I would probably recommend sticking to 2e > commands... sorry if that's not what you wanted to hear! > > Cheers, > Will