![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
Strange error with \externalfigure \starttext \vbox to \textheight{% \vfill Foo\ \vfill \centerline{\externalfigure[cow][width=0.5\textwidth,height=0.5\textheight,factor=fit ]} \vfill } \stoptext ! Missing number, treated as zero. system > tex > error on line 1 in file test.tex: Missing number, treated as zero ... 1 >> \starttext 2 \vbox to \textheight{% 3 \vfill 4 Foo\ 5 \vfill 6 \centerline{\externalfigure[cow][width=0.5\textwidth,height=0.5\textheight,factor=fit ]} 7 \vfill 8 } 9 \stoptext 10 <to be read again> f \p_factor ->f it -- luigi
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 26-10-2012 10:16, luigi scarso wrote:
Strange error with \externalfigure
\starttext \vbox to \textheight{% \vfill Foo\ \vfill \centerline{\externalfigure[cow][width=0.5\textwidth,height=0.5\textheight,factor=fit ]} \vfill } \stoptext
! Missing number, treated as zero.
as expected: [factor=fit] : keyword fit [factor=fit ] : no known keyword, so dimension ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Sat, Oct 27, 2012 at 12:00 PM, Hans Hagen
On 26-10-2012 10:16, luigi scarso wrote:
Strange error with \externalfigure
\starttext \vbox to \textheight{% \vfill Foo\ \vfill \centerline{\externalfigure[**cow][width=0.5\textwidth,** height=0.5\textheight,factor=**fit ]} \vfill } \stoptext
! Missing number, treated as zero.
as expected:
[factor=fit] : keyword fit [factor=fit ] : no known keyword, so dimension
right, spaces.
-- luigi
participants (2)
-
Hans Hagen
-
luigi scarso