ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Joop Susan <jgsusan@xs4all.nl>
Cc: ntg-context@ntg.nl
Subject: Re: metafun manual
Date: Mon, 25 Sep 2000 20:25:10 +0200	[thread overview]
Message-ID: <20000925182510.9922.qmail@crux.private.off-line> (raw)

Hallo,

> >'texexec test1' complains:
> >
> >Randomizer initialized to 949889678.
> >figures        : figure mpgraph can not be found
> >[1.1{/usr/share/texmf/dvips/config/pdftex.map}]
> >.........
> >Sorry, I can't find the mem file `metafun.mem'; will try `mpost.mem'.
> >(mpgraph.mp )
> >Transcript written on mpgraph.log.
> >
> >mpgraph.log says:
> 
> texexec --make --alone metafun 
> 
> will make you a metafun format (check if the mem is moved to the right
> web2c path and run mktexlsr)

Ok. I only used 'fmtutil -all' after every ConTEXt/pdftex update. Better 
to use 'texexec'?

The file is created in the current directory and I moved it to 
/usr/share/texmf/web2c. After 'mktexlsr' the file is now found.

> >This is MetaPost, Version 0.641 (Web2C 7.3.1) (mem=mpost 2000.4.26)  26 
> >APR 2000 18:56
> >**&metafun mpgraph
> >(mpgraph.mp )

No change. 'mpost mpgraph.mp' later also writes to this file.

This is MetaPost, Version 0.641 (Web2C 7.3.1) (mem=mpost 2000.4.26)  26 
APR 2000 18:56
**mpgraph.mp
(mpgraph.mp
{randomseed:=222}
 (/usr/share/texmf/metapost/context/mp-tool.mp)
(/usr/share/texmf/metapost/context/mp-spec.mp)
(/usr/share/texmf/metapost/context/mp-page.mp)
(/usr/share/texmf/metapost/context/mp-core.mp) [1] [2] [3] )
3 output files written: mpgraph.1 .. mpgraph.3

> >
> >'mpost mpgraph.mp' does generate mpgraph.1.
> >'gv mpgraph.1' shows the correct figure.
> >A second run 'texexec test1' now generates a complete PDF file.
> >
> >Can you tell me why texexec cannot get this right in one run?
> 
> Normally it generates the graphic runtime, in which case one run is needed.
> Otherwise it will run mp between runs, but it does not parse all mp files
> for changes. So, then you may need a second run. 

Is there any way of automatically detecting this situation.

Or does this mean that the only sure automated way to get a complete 
guaranteed up-to-date PDF file is to run:

rm -f test1.tui test1.tuo test1.tmp test1.top
rm -f mpgraph.[0-9]* mpgraph.mp mpgraph.log tmpgraph.* cont-opt.bak
texexec --pdf test1
mpost mpgraph.mp
texexec --pdf test1

Would it be safe to specify 'texexec --pdf --once test1' for the second 
run given that the temp-files are now all up-to-date? It seems to work for 
my current testfile. Specifying '--once' for the first run makes the 
'mpost' fail.

The first run is also necessary when arranging pages. So I could add 
'--noarrange' there as well, right?

This is the brute force solution, possibly at the expence of extra 
processing time. Is this a bullet-proof final run?

Thanks,

Joop


             reply	other threads:[~2000-09-25 18:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Your message of "Mon, 25 Sep 2000 17:22:26 +0200." <3.0.6.32.20000925172226.00b755c0@pop.wxs.nl>
2000-09-25 18:25 ` Joop Susan [this message]
2000-09-25 21:56   ` Hans Hagen
2010-10-20 12:03 metafun Hans Hagen
2010-10-20 13:45 ` metafun manual Alan BRASLAU
     [not found] <4133DD36@webmail.colostate.edu>
2004-08-31  8:00 ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2004-08-30 16:42 Hans Hagen
2004-08-30 18:54 ` Willi Egger
2004-08-30 19:21   ` Re[2]: " Floris van Manen
2004-08-30 19:37     ` Brooks Moses
2004-08-31  2:25       ` Jojo
2004-08-31  8:25         ` Hans Hagen
2004-09-01  2:15           ` Jojo
2000-09-27 12:01 Joop Susan
     [not found] <Your message of "Mon, 25 Sep 2000 10:46:55 +0200." <3.0.6.32.20000925104655.007c33a0@pop.wxs.nl>
2000-09-25 11:47 ` Joop Susan
2000-09-25 15:22   ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000925182510.9922.qmail@crux.private.off-line \
    --to=jgsusan@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).