Hi Hans, On Sat, 2 Jan 2010, Aditya Mahajan wrote:
On Thu, 19 Nov 2009, Hans Hagen wrote:
Aditya Mahajan wrote:
Hi,
This request was lost in traffic.
On Mon, 9 Nov 2009, Aditya Mahajan wrote:
Hans,
Something is also wrong with getting the width and height of a figure in mkiv. Minimal example:
\starttext \getfiguredimensions[filename] \figurewidth \figureheight \stoptext
To be precise, I get 0sp 0sp as output, rather than the correct dimensions of the figure.
fixed in next beta
The results in MkII and MkIV are inconsistent. Minimal example:
This is still wrong. Using the following example,
\setupexternalfigures[location={local,default}] \starttext \getfiguredimensions[cow]
\startlines width: \the\dimexpr\figurewidth\relax height: \the\dimexpr\figureheight\relax \stoplines \stoptext
In MkII I get,
width: 276.03125pt height: 200.75pt
In MkIV I get,
width: 200.75pt height: 200.75pt
It appears that the dimension for width is being used for height. I could not find an obvious mistake in grph-inc. Aditya