[NTG-context] [MkIV] How to get the local size of a column
bonnefoi at unilim.fr
Tue May 19 14:19:19 CEST 2015
I've found a workaround by passing the value as an argument to the lua code :
Now, I try to figure how to get em size in points.
> On 19 May 2015, at 12:31, Pierre-François Bonnefoi <bonnefoi at unilim.fr> wrote:
> Hello Hans,
> I try to get the equivalent of \the\hsize in Lua, in order to render some verbatim text to the current width of the column.
> Thank you for your help,
>> On 19 May 2015, at 12:16, Hans Hagen <pragma at wxs.nl <mailto:pragma at wxs.nl>> wrote:
>> On 5/18/2015 8:00 PM, Pierre-François Bonnefoi wrote:
>>> Is it possible to get the current width of a column from a paragraph
>>> into Lua ?
>> it all depends on where and how you access that but normally the width of a hlist will do
Bonnefoi Pierre-Francois | E-mail : bonnefoi at unilim.fr http://libpfb.so/
Universite de Limoges, Laboratoire XLIM | Tel : 06 28 18 03 38
123 av Albert Thomas | Mrs. Peel, we're needed...
87060 Limoges CEDEX - FRANCE | The Avengers.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ntg-context