Am 26.09.2008 um 18:01 schrieb Jelle Huisman:

> Hans Hagen wrote:
>>
>>> I try to get a picture on a page using
>>> \externalfigure[name.pdf][width=\textwidth] The image is pushed to  
>>> the
>>> next page, even though there is no text on the current page and the
>>> height of the image itself is smaller then \textheight, so it should
>>> fit. How do I force image placement *here*?
>>>
>> \placefigure[force]{}{}
>>
>
> Hi Hans,
>
> Is there a way to do this [force] with \externalfigure in a macro  
> def like:
>
> \def\picturefile #1#2#3{{\rotate[rotation=#1]{\externalfigure[#2] 
> [width=#3mm]}}}
>
> When I try to do something with \placefigure I get a "floatblocks :  
> order disturbed" error and no figure placed.

Please make a example because this works for me:

\setupexternalfigures[location=default]

\define[3]\picturefile
   {\placefigure[force]{none}{\externalfigure[#2] 
[width=#3mm,orientation=#1]}}

\starttext

\input knuth

\picturefile{0}{cow}{100}

\picturefile{180}{cow}{100}

\stoptext

Wolfgang

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to