ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Howto have page size to fit with image size
@ 2007-06-20 16:41 Jean Magnan de Bornier
  2007-06-20 17:22 ` Patrick Gundlach
  0 siblings, 1 reply; 5+ messages in thread
From: Jean Magnan de Bornier @ 2007-06-20 16:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,
I want to produce a unique metapost image which should be alone on its
page and its file, and I want to have a page the size of the image,
whichever this size is.

I tried this:

\setupcolors[state=start]
\setuplayout[width=fit,height=fit]
\starttext
\startuseMPgraphic{dummy}
  fill fullcircle scaled 5cm withcolor red ;
\stopuseMPgraphic
\useMPgraphic{dummy}
\stoptext

But the setuplayout options don't seem to provide what I want. Thank
for any hint to have the page size automatically ajust.
-- 
Jean
___________________________________________________________________________________
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
___________________________________________________________________________________


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

end of thread, other threads:[~2007-06-21  5:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-20 16:41 Howto have page size to fit with image size Jean Magnan de Bornier
2007-06-20 17:22 ` Patrick Gundlach
2007-06-20 18:11   ` Wolfgang Schuster
2007-06-20 18:14     ` Patrick Gundlach
2007-06-21  5:45     ` Jean Magnan de Bornier

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