[luatex] parshape

Taco Hoekwater taco at elvenkind.com
Mon Feb 27 11:39:54 CET 2012


On 02/27/2012 11:28 AM, Taco Hoekwater wrote:
> On 02/27/2012 08:03 AM, Patrick Gundlach wrote:
>>
>> Am 26.02.2012 um 22:49 schrieb Ingo Krabbe:
>>
>>> On Sun, Feb 26, 2012 at 08:28:48PM +0100, Patrick Gundlach wrote:
>>>> Hello,
>>>>
>>>> (4.13.13.2 tex.linebreak())
>>>>
>>>> in tex.linebreak() I can give "parameters". How is the parshape
>>>> table suppose to look like? Is it a table of
>>>>
>>>> { n,<glue_spec>,<glue_spec>, .. 2n<glue_spec> items}
>>>> ?
>>>>
>>>> Or what do I need to fill in?
>
> The manual leaves that open. From the code, it looks like luatex
> wants a totally normal lua table with integer values for width
> and indent only.
>
> parshape = {0, 40 * 2^16, 0,37 * 2^16 }

Or:

   parshape = {{0, 40 * 2^16}, {0,37 * 2^16 }}

(sorry, no time to write a test file now)





More information about the luatex mailing list