ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \setuppapersize & \externalfigure
@ 2012-01-13 22:17 Gerben Wierda
  2012-01-14  8:58 ` Peter Münster
  0 siblings, 1 reply; 2+ messages in thread
From: Gerben Wierda @ 2012-01-13 22:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


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

* Re: \setuppapersize & \externalfigure
  2012-01-13 22:17 \setuppapersize & \externalfigure Gerben Wierda
@ 2012-01-14  8:58 ` Peter Münster
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Münster @ 2012-01-14  8:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

end of thread, other threads:[~2012-01-14  8:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-13 22:17 \setuppapersize & \externalfigure Gerben Wierda
2012-01-14  8:58 ` Peter Münster

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