ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Disable Metapost rendering?
@ 2004-07-24 10:59 Sebastian Sturm
  2004-07-24 11:19 ` Patrick Gundlach
  2004-07-25 15:11 ` Hans Hagen Outside
  0 siblings, 2 replies; 7+ messages in thread
From: Sebastian Sturm @ 2004-07-24 10:59 UTC (permalink / raw)


Hi,

I really like ConTeXt's MP processing features, but as soon as I 
include more than five or six MP graphics in a document, typesetting 
slows down to a crawl. As far as I know, the PSTricks package has some 
option to only process a given range of the figures defined in the TeX 
file and reuse the existing output for the other ones. Is there a 
similar function in ConTeXt?

Some global command like \donotrerender[1-n] would be great, a 
processing tag for each figure like 
\startuseMPgraphic{...}[rerender=no] would be perfect.


Best regards,

Sebastian Sturm

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

* Re: Disable Metapost rendering?
  2004-07-24 10:59 Disable Metapost rendering? Sebastian Sturm
@ 2004-07-24 11:19 ` Patrick Gundlach
  2004-07-24 16:10   ` Hans Hagen Outside
  2004-07-25 15:11 ` Hans Hagen Outside
  1 sibling, 1 reply; 7+ messages in thread
From: Patrick Gundlach @ 2004-07-24 11:19 UTC (permalink / raw)


Hi,


The only way I know of is to disable all mpost runs with 

texexec --nomp ..



Patrick
-- 
ConTeXt wiki: http://contextgarden.net
texshow-web:  http://texshow.contextgarden.net

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

* Re: Re: Disable Metapost rendering?
  2004-07-24 11:19 ` Patrick Gundlach
@ 2004-07-24 16:10   ` Hans Hagen Outside
  2004-07-25  8:35     ` Sebastian Sturm
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen Outside @ 2004-07-24 16:10 UTC (permalink / raw)


Patrick Gundlach wrote:

>Hi,
>
>
>The only way I know of is to disable all mpost runs with 
>
>texexec --nomp ..
>  
>
there is also --automp 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re: Re: Disable Metapost rendering?
  2004-07-24 16:10   ` Hans Hagen Outside
@ 2004-07-25  8:35     ` Sebastian Sturm
  2004-07-25 15:17       ` Hans Hagen Outside
  0 siblings, 1 reply; 7+ messages in thread
From: Sebastian Sturm @ 2004-07-25  8:35 UTC (permalink / raw)


Hi,

that sounds very promising - especially --automp, since I don't really 
want to change my ConTeXt script everytime I changed a MP figure. 
Including --automp in my script file, however, didn't stop ConTeXt from 
recalculating my MP figures every time I typeset the document, even 
though I hadn't changed them in the meantime. I couldn't find anything 
about automp in the TeXExec manual, but the --help option tells me that 
automp causes it to render mp pictures only if needed. So how does it 
determine whether a recalculation is necessary or not? Is it a problem 
if my figures rely on the randomizers, like uniformdeviate()?

Best regards,

Sebastian Sturm

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

* Re: Disable Metapost rendering?
  2004-07-24 10:59 Disable Metapost rendering? Sebastian Sturm
  2004-07-24 11:19 ` Patrick Gundlach
@ 2004-07-25 15:11 ` Hans Hagen Outside
  1 sibling, 0 replies; 7+ messages in thread
From: Hans Hagen Outside @ 2004-07-25 15:11 UTC (permalink / raw)


Sebastian Sturm wrote:

> Hi,
>
> I really like ConTeXt's MP processing features, but as soon as I 
> include more than five or six MP graphics in a document, typesetting 
> slows down to a crawl. As far as I know, the PSTricks package has some 
> option to only process a given range of the figures defined in the TeX 
> file and reuse the existing output for the other ones. Is there a 
> similar function in ConTeXt?
>
> Some global command like \donotrerender[1-n] would be great, a 
> processing tag for each figure like 
> \startuseMPgraphic{...}[rerender=no] would be perfect.

--automp will collect graphics and run them in between

Hans 


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re: Re: Disable Metapost rendering?
  2004-07-25  8:35     ` Sebastian Sturm
@ 2004-07-25 15:17       ` Hans Hagen Outside
  2004-07-26 21:44         ` Sebastian Sturm
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen Outside @ 2004-07-25 15:17 UTC (permalink / raw)


Sebastian Sturm wrote:

> Hi,
>
> that sounds very promising - especially --automp, since I don't really 
> want to change my ConTeXt script everytime I changed a MP figure. 
> Including --automp in my script file, however, didn't stop ConTeXt 
> from recalculating my MP figures every time I typeset the document, 
> even though I hadn't changed them in the meantime. I couldn't find 
> anything about automp in the TeXExec manual, but the --help option 
> tells me that automp causes it to render mp pictures only if needed. 
> So how does it determine whether a recalculation is necessary or not? 
> Is it a problem if my figures rely on the randomizers, like 
> uniformdeviate()?

indeed, that can be solved by setting the random seed occasionally or manually   

\setupsystem[random=big] % or random=12345


Hans 


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re: Re: Disable Metapost rendering?
  2004-07-25 15:17       ` Hans Hagen Outside
@ 2004-07-26 21:44         ` Sebastian Sturm
  0 siblings, 0 replies; 7+ messages in thread
From: Sebastian Sturm @ 2004-07-26 21:44 UTC (permalink / raw)


>> p pictures only if needed. So how does it determine whether a 
>> recalculation is necessary or not? Is it a problem if my figures rely 
>> on the randomizers, like uniformdeviate()?
>
> indeed, that can be solved by setting the random seed occasionally or 
> manually
> \setupsystem[random=big] % or random=12345

Great, thanks alot!

Best regards,

Sebastian Sturm

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

end of thread, other threads:[~2004-07-26 21:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-24 10:59 Disable Metapost rendering? Sebastian Sturm
2004-07-24 11:19 ` Patrick Gundlach
2004-07-24 16:10   ` Hans Hagen Outside
2004-07-25  8:35     ` Sebastian Sturm
2004-07-25 15:17       ` Hans Hagen Outside
2004-07-26 21:44         ` Sebastian Sturm
2004-07-25 15:11 ` Hans Hagen Outside

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