On Sat, Apr 27 2013, Sietse Brouwer wrote:
> how to obtain the an image's width and/or height from Lua.
Here an example:
http://modules.contextgarden.net/dl/grph-downsample.lua/tex/context/third/grph-downsample/grph-downsample.lua
--
Peter
Hello Cecil,
I have a LuaTeX-based start for you, but there is one important thing
I do not know: how to obtain the an image's width and/or height from
Lua. Although that would also depend on whether you want to resize
images to a fixed with, etc. Anyway, now that the typesetting code is
Lua-based
I keep bugging the list. ;-)
I center some text on a place where I also place a picture on the
right site. Is it possible to center on the part that is not taken up
by the picture?
The picture is placed with:
\definelayer[picture][
preset=righttop,
width=\textwidth,
]
\setlayer[pic