Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id t4UKxJSW024746 for ; Sat, 30 May 2015 22:59:20 +0200 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx002) with ESMTPS (Nemesis) id 0MGR1c-1YuNzm01LM-00DG3F for ; Sat, 30 May 2015 22:59:14 +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 t4UKvmkb025959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 30 May 2015 22:57:48 +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 t4U6jTQI015255; Sat, 30 May 2015 22:57:48 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 12138469 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sat, 30 May 2015 22:57:48 +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 t4UKvmf5007932 for ; Sat, 30 May 2015 22:57:48 +0200 Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [212.27.42.4]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id t4UKvhoY025925 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 30 May 2015 22:57:45 +0200 Received: from [IPv6:2a01:e35:2e92:63f0:fa16:54ff:fef7:e1a8] (unknown [IPv6:2a01:e35:2e92:63f0:fa16:54ff:fef7:e1a8]) (Authenticated sender: frnchfrgg) by smtp4-g21.free.fr (Postfix) with ESMTPSA id 7BA794C8085 for ; Sat, 30 May 2015 22:53:47 +0200 (CEST) references: <55676BAC.7010604@free.fr> <55678C62.1090601@morningstar2.co.uk> <556A194A.9070501@morningstar2.co.uk> user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.0 mime-version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Message-ID: <556A2446.5090004@free.fr> Date: Sat, 30 May 2015 22:57:42 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: "Julien RIVAUD (_FrnchFrgg_)" Subject: Re: l3galley, margins/parshapes and cutouts To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <556A194A.9070501@morningstar2.co.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-MIME-Autoconverted: from 8bit to quoted-printable by relay.uni-heidelberg.de id t4UKvmkb025959 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:X0jz03S+GaM=:l6XE0RvMLMI+i6oZSvEpOH3HSu xVdOkxaGJ5UOb4zUk+DLrq80eNv1qKYBvhLS3qV+cF4DmoBdjzFOIhc7mjiWJl2hU0YK4tSWc 1Qn0L2PT8pW5Zw/WTpU+gL0c5SfhHz+6vBkqC4nu1TzpalhHZMwNOpdgchi0iMjNe83dRYXHn 3+qRPPK53qjo2mmAdKJPimzcVR3R4Xj7ymuEAxqNh7qIMO50IMCaTAGwPh4SLDrphVfTn4QSL Y32el/B/Qj7ScdlPqbLakVEjHRiNjhh9lvq3OMLxDopY7uj0mLctNNiYkRlW3Ay7y2a5Y0GJF 3XOyleQsLYUcJH8Nz8FA6v/2SW1B/LVa0pPCzo5+oI41vD7QDf2jMssppc0pdKLrCCuXEqFg9 421m/QHOMmDBYtdKVSyOo6oB2shBXD2RiYpdAwVO4GKG2qxtvBNnRJkXyu5kfPMpGKfEQGVDB oMPxx7Ez8ELa3Qkw0+Akr+F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VFI8SKuMCDJE4egroEzVyUOmpsps4xPnQVp7CM= X-UI-Out-Filterresults: notjunk:1;V01:K0:xh84yII0Pew=:AUh+e4sP2j3zSYY6+j3E99 HFcVdYIPx3WU5dTOdNkBUWHX7juZM4gIqLNyt2TLjWRrJv3CcKjlZal0O7kfV57zBBIEK8a8x G03dVoIf6yxhza77zswwHqOXKwvElUrRUUpKl6UieuDhr5FyJLD+Mwuxbdoni/45GkGm/zYU7 KiSNSgaVUXXMLWfYoAwfJWaedP84Xs0J6KXRWz7TZZ0BChr0z6K5hoMb9WB2WRo6L/ofe7XTu ezK7UW9kl6dBVTN6w1OMmCceGw5A11hFqEhqmh+nXSt9ZXOMeIeKs/jBUUa2hoUWCR4s+lM3S KJVFGkdy9MTp+IwksHVcrAF3Gk0MQWIu1lSsDW9mG+rVTFLUxSfIGRHHAilUvEV92+D5LDP6K VB3WAMrqHplnTAUuTYyyqHGOVwFANpo8bt9bDAv4iBRL/kYAdf7l/ZZakWnmsN9wYzxRfgODL slxXqlmJceXbv3Ja1+kEoNG6KGwz8GjvRK9jJgLxU8VVUo9jEt0Z 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 t4UKxJSW024746 Status: R X-Status: X-Keywords: X-UID: 7717 Le 30/05/2015 22:10, Joseph Wright a écrit : > Further to this, I believe I have sorted the issues. I am happy to > update CTAN tomorrow with the new code: would that be helpful? Sure, but don't feel pressed to update, I'm not severely bitten by the bug (I'm planning to only use margins, but wanted to see if a later "wrapfig"-like system, using cutouts or parshapes, would interact well. (My goal is to write an enumerate/itemize/... environment using l3galley or xgalley, because when writing exams I often need to put the figure wherever there's room for, and wrapfig&co don't live well with lists) Thinking further about what features packages would need, I currently see: -> a way to read currently setup parshapes in clist form (so that it can be edited then fed back to l3galley). It would then be easier to have cutouts implemented as simple wrappers around parshapes (at least for the current paragraph). -> have some kind of cumulative parshape settings (easy for a single paragraph, just by reading and computing sums, but harder in the general case: if you do in order \galley_set_parshape_multi:* \galley_set_parshape_single:* \galley_set_parshape_relative_multi:* Then computing the right parshapes for later paragraph is hard IIUC because the parshape settings are not stored independently and rather read back from eTeX as needed... So until the reset done by the endofpar hook, you don't have access to next par settings (unless you parse the reset tl, which I find ugly and error prone). The good part with the current way is that if parshapes are touched by galley-unaware code, everything still works. -> a way to setup parshapes that continue through paragraph boundaries (great for wrapfig-like cutouts). But maybe it is better to do that manually with begin/end par hooks, because the code might decide that the parskip accounts for a line, or other fancy stuff. Cheers, Julien "_FrnchFrgg_" RIVAUD