ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: <darnold@northcoast.com>
Cc: <ntg-context@ntg.nl>
Subject: Re: Simple test
Date: Fri, 8 Aug 2003 09:19:23 -0700 (PDT)	[thread overview]
Message-ID: <1123.209.209.15.215.1060359563.squirrel@webmail.inreach.com> (raw)
In-Reply-To: <5.2.0.9.1.20030808094454.02df44d0@server-1.pragma-net.nl>

Hans, comments below:

> At 10:04 07/08/2003 -0700, you wrote:
>>Hans, as a simple test, I tried saving the following as junk.mp.
>>
>>input mp-tool;
>>beginfig(1);
>>picture p;
>>p:=textext.rt("Hello, world!");
>>endfig;
>>end.
>>
>>However,
>>
>>C:\temp>mpost junk
>>(junk.mp (C:\texmf\metapost\context\base\mp-tool.mp)
>> >> unknown picture p
>> >> textext.rt
>>! Equation cannot be performed (unknown picture=numeric).
>><to be read again>
>>                    (
>>l.7 p:=textext.rt(
>>                   "Hello, world!");
>
> you should use/load metafun -)

But I have. Indeed, I completely updated Miktex, downloaded the latest
Context, refreshed filename database, then ran:

texexec --make --alone

This rebuilds cont-en.efmt, cont-nl.efmt, and mptopdf.efmt. You can see
they are new by their timestamps (08/07/2003  09:38 AM).

 Directory of C:\localtexmf\miktex\fmt

10/07/2002  11:34 PM    <DIR>          .
10/07/2002  11:34 PM    <DIR>          ..
11/28/2000  12:55 PM           909,544 pdflatex.fmt
08/05/2003  09:52 PM           437,192 omega.fmt
11/28/2000  12:55 PM           897,952 elatex.efmt
08/05/2003  09:52 PM           395,368 pdftex.fmt
11/28/2000  12:55 PM           926,688 lambda.fmt
08/05/2003  09:52 PM           416,704 etex.efmt
11/28/2000  12:55 PM           891,640 latex.fmt
08/05/2003  09:52 PM           376,968 plain.fmt
12/11/2002  11:05 PM           556,792 amstex.fmt
08/07/2003  09:38 AM             1,100 metafun.log
08/07/2003  09:38 AM            31,032 cont-en.log
08/07/2003  09:38 AM            32,231 cont-nl.log
08/07/2003  09:38 AM         5,373,040 cont-nl.efmt
08/07/2003  09:38 AM             3,809 mptopdf.log
08/07/2003  09:38 AM           322,768 mptopdf.efmt
08/07/2003  09:38 AM         5,319,424 cont-en.efmt
              16 File(s)     16,892,252 bytes
               2 Dir(s)   3,497,959,424 bytes free

The command texexec --make --alone also builds metafun.mem in this same
directory. It has to be moved by hand to a different directory.


C:\localtexmf\miktex\mem>dir
 Volume in drive C has no label.
 Volume Serial Number is F803-A135

 Directory of C:\localtexmf\miktex\mem

10/07/2002  11:34 PM    <DIR>          .
10/07/2002  11:34 PM    <DIR>          ..
08/05/2003  09:52 PM            99,480 plain.mem
08/05/2003  09:52 PM           106,240 mfplain.mem
08/07/2003  09:38 AM           506,752 metafun.mem
               3 File(s)        712,472 bytes
               2 Dir(s)   3,497,959,424 bytes free

But again, brand new. All databases are refreshed after this move. There
are no other versions of these format files on my system (I checked).

I've even tried texexec --make --alone --tex=pdfetex metafun and moved the
resulting metafun.mem file over and refreshed the database.

On this file:

input mp-tool;
beginfig(1);
picture p;
p:=textext.rt("Hello, world!");
endfig;
end.

I still get this error:

C:\temp>mpost junk
(junk.mp (C:\texmf\metapost\context\base\mp-tool.mp)
>> unknown picture p
>> textext.rt
! Equation cannot be performed (unknown picture=numeric).
<to be read again>
                   (
l.7 p:=textext.rt(
                  "Hello, world!");
?

I am aware of the new placement of /metapost/context/base.

C:\texmf\metapost>dir
 Volume in drive C has no label.
 Volume Serial Number is F803-A135

 Directory of C:\texmf\metapost

10/07/2002  11:27 PM    <DIR>          .
10/07/2002  11:27 PM    <DIR>          ..
08/05/2003  03:30 PM    <DIR>          context
08/05/2003  09:47 PM    <DIR>          base
               0 File(s)              0 bytes
               4 Dir(s)   3,497,893,888 bytes free

C:\texmf\metapost\base>dir
 Volume in drive C has no label.
 Volume Serial Number is F803-A135

 Directory of C:\texmf\metapost\base

08/05/2003  09:47 PM    <DIR>          .
08/05/2003  09:47 PM    <DIR>          ..
09/07/2000  02:01 PM             7,106 boxes.mp
09/07/2000  02:01 PM             7,146 format.mp
09/07/2000  02:01 PM            27,660 graph.mp
09/07/2000  02:01 PM             4,280 marith.mp
09/07/2000  02:01 PM            19,748 mfplain.mp
03/23/1997  01:16 AM                19 mpost.mp
09/07/2000  02:01 PM            16,018 plain.mp
09/07/2000  02:01 PM             1,098 rboxes.mp
09/07/2000  02:01 PM             1,466 sarith.mp
09/07/2000  02:01 PM               794 string.mp
09/07/2000  02:01 PM               331 TEX.mp
09/07/2000  02:01 PM               424 texnum.mp
01/24/1997  08:28 PM               230 troffnum.mp
              13 File(s)         86,320 bytes
               2 Dir(s)   3,497,893,888 bytes free

So, I am absolutely stumped. Is there anything else I can try?

       reply	other threads:[~2003-08-08 16:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1232.209.209.17.82.1060275898.squirrel@webmail.inreach.com <5.2.0.9.1.20030808094454.02df44d0@server-1.pragma-net.nl>
     [not found] ` <5.2.0.9.1.20030808094454.02df44d0@server-1.pragma-net.nl>
2003-08-08 16:19   ` darnold [this message]
2003-08-08 17:22     ` Nigel King
2003-08-08 17:50       ` Re: Simple test --Aha! Progress, Now darnold
2003-08-09 13:39     ` Re: Simple test Giuseppe Bilotta
2003-08-09 16:30       ` darnold
     [not found] ` <1123.209.209.15.215.1060359563.squirrel@webmail.inreach.co m>
2003-08-08 17:58   ` Hans Hagen
2003-08-08 19:03     ` darnold

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=1123.209.209.15.215.1060359563.squirrel@webmail.inreach.com \
    --to=darnold@northcoast.com \
    --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).