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
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 -----------------------------------------------------------------
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