Re: [NTG-context] Several environments in a project?

2007-06-20 Thread Wolfgang Schuster
2007/6/18, nicola [EMAIL PROTECTED]: Hi, I have a project with a few products sharing the same layout, which is specified in a global environment file. Each product is in a separate subdirectory together with its components. Then, I want to put some setups and figure definitions in

[NTG-context] Howto have page size to fit with image size

2007-06-20 Thread Jean Magnan de Bornier
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

Re: [NTG-context] Howto have page size to fit with image size

2007-06-20 Thread Patrick Gundlach
Jean Magnan de Bornier [EMAIL PROTECTED] writes: 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. use \startTEXpage: \setupcolors[state=start]

Re: [NTG-context] Howto have page size to fit with image size

2007-06-20 Thread Wolfgang Schuster
On Wed, 20 Jun 2007 19:22:14 +0200 Patrick Gundlach [EMAIL PROTECTED] wrote: Jean Magnan de Bornier [EMAIL PROTECTED] writes: 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

Re: [NTG-context] Howto have page size to fit with image size

2007-06-20 Thread Patrick Gundlach
we have also \startMPpage: \setupcolors[state=start] \starttext \startMPpage fill fullcircle scaled 5cm withcolor red ; \stopMPpage \stoptext Great! I keep forgetting those. Patrick ___ If your question

[NTG-context] Multiline footer

2007-06-20 Thread Renaud Aubin
Hi folks, I need to define a multiline footer for a document of mine. I have searched the garden without results. Considering \input knuth as a disclaimer, here is a non working sample to improve: \setupfootertexts[] \setupfootertexts[\setups{text a}] \startsetups[text a] \input knuth

Re: [NTG-context] Multiline footer

2007-06-20 Thread Aditya Mahajan
Quoting Renaud Aubin [EMAIL PROTECTED]: Hi folks, I need to define a multiline footer for a document of mine. I have searched the garden without results. Considering \input knuth as a disclaimer, here is a non working sample to improve: \setupfootertexts[]

Re: [NTG-context] Multiline footer

2007-06-20 Thread Renaud Aubin
Thanks Aditya, I have just obtained something with framedtext but missed location=low ;) Aditya Mahajan a écrit : What I usually do is surround the disclaimer in a vbox or a \framed. For example (in s-ptj-01) \startlocalsetups [titlefooter]

Re: [NTG-context] Howto have page size to fit with image size

2007-06-20 Thread Jean Magnan de Bornier
Le 20 juin à 20:11:14 Wolfgang Schuster [EMAIL PROTECTED] écrit notamment: | On Wed, 20 Jun 2007 19:22:14 +0200 | Patrick Gundlach [EMAIL PROTECTED] wrote: | Jean Magnan de Bornier [EMAIL PROTECTED] writes: | | Hi all, | I want to produce a unique metapost image which should be alone on