ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* factor=fit fails
@ 2012-10-26  8:16 luigi scarso
  2012-10-27 10:00 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: luigi scarso @ 2012-10-26  8:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 637 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 897 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: factor=fit fails
  2012-10-26  8:16 factor=fit fails luigi scarso
@ 2012-10-27 10:00 ` Hans Hagen
  2012-10-28 21:34   ` luigi scarso
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2012-10-27 10:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: factor=fit fails
  2012-10-27 10:00 ` Hans Hagen
@ 2012-10-28 21:34   ` luigi scarso
  0 siblings, 0 replies; 3+ messages in thread
From: luigi scarso @ 2012-10-28 21:34 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 535 bytes --]

On Sat, Oct 27, 2012 at 12:00 PM, Hans Hagen <pragma@wxs.nl> wrote:

> 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

[-- Attachment #1.2: Type: text/html, Size: 994 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-28 21:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-26  8:16 factor=fit fails luigi scarso
2012-10-27 10:00 ` Hans Hagen
2012-10-28 21:34   ` luigi scarso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).