Re: [NTG-context] \setuppapersize & \externalfigure

2012-01-14 Thread Peter Münster
On Fri, Jan 13 2012, Gerben Wierda wrote:

> The following snippet:
>
> \page\setuppapersize[A4,portrait][A4,portrait]
> \externalfigure[foo.pdf][factor=fit,orientation=90]
>
> behaves like this:
>
> the size is set to what fits *before* rotation. The order of orientation and
> factor does not matter. Is there anything I can do about that?

Perhaps with something like:

\scale[width=\textwidth,height=\textheight]{\externalfigure[foo.pdf][orientation=90]}

(not tested...)

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


[NTG-context] \setuppapersize & \externalfigure

2012-01-13 Thread Gerben Wierda
\externalfigure[foo.pdf][factor=fit]

nicely fits the mage on the page.

The following snippet:

\page\setuppapersize[A4,portrait][A4,portrait]
\externalfigure[foo.pdf][factor=fit,orientation=90]

behaves like this:

the size is set to what fits *before* rotation. The order of orientation and 
factor does not matter. Is there anything I can do about that?

Thanks,

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