ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: <darnold@northcoast.com>
Subject: Re: Funny error
Date: Tue, 5 Aug 2003 22:34:22 -0700 (PDT)	[thread overview]
Message-ID: <1904.209.209.17.74.1060148062.squirrel@webmail.inreach.com> (raw)
In-Reply-To: <5.2.0.9.1.20030805230201.028d8ff8@server-1.pragma-net.nl>

[-- Attachment #1: Type: text/plain, Size: 3105 bytes --]

Hans,

We'll I've tried all that I can think of. I've:

1. Downloaded and installed the latest version of Miktex 2.3.

With the fresh installation, which includes Context, I tried compiling:

\setupoutput[pdf]

\runMPgraphicstrue

\setupcolors[state=start]

\startuseMPgraphic{FunnyFrame}
 picture p; numeric w, h, o;
 p:=textext.rt(\MPstring{FunnyFrame});
 w:=OverlayWidth; h:=OverlayHeight; o:=BodyFontSize;
 p:=p shifted (2o,h-ypart center p); draw p;
 drawoptions (withpen pencircle scaled 1pt withcolor .625red);
 draw (2o,h)--(0,h)--(0,0)--(w,0)--(w,h)--(xpart urcorner p, h) ;
 draw boundingbox p;
 setbounds currentpicture to unitsquare xyscaled (w,h);
\stopuseMPgraphic

\defineoverlay[FunnyFrame][\useMPgraphic{FunnyFrame}]

\defineframedtext[FunnyText][frame=off,background=FunnyFrame]

\def\StartFrame{\startFunnyText}
\def\StopFrame{\stopFunnyText}

\def\FrameTitle#1%
 {\setMPtext{FunnyFrame}{\hbox spread 1em {\hss\strut#1\hss}}}

\setMPtext{FunnyFrame}{}

\starttext

\FrameTitle{Zapf (1)}
\StartFrame
Coming back to the use of typefaces in electronic
publishing: many of the new typographers receive their
knowledge and information about the rules of typography from
books, from computer magazines or the instruction manuals
which they get with the purchase of a PC or software.
\StopFrame

\stoptext

No go. Same error. Then I downloaded the latest beta from
www.pragma-ade.com, installed, refreshed. All the usual things you do. I
checked to see if I had duplicated copies of metafun.mem on my system (no)
and I checked to see if the format files were actually getting updated
(they were---I checked timestamps) and in the correct place (again yes,
though I had to manually move metafun.mem and refresh the filename
database). Still the same error.

>> unknown picture p
>> textext.rt
! Equation cannot be performed (unknown picture=numeric).
<to be read again>
                   (
l.211 p:=textext.rt(
                    "\hbox spread 1em {\hss \strut Zapf (1)\hss }");
?


Help.

> At 11:49 05/08/2003 -0700, darnold@northcoast.com wrote:
>>All,
>>
>>This from the Metafun manual:
>>
>>\setupoutput[pdf]
>
> this runs ok here both in
>
>    texexec testfile
>
>    texexec testfile --automp
>
> maybe you have an old metafun format? (watch out, metafun code moved
> down  to /metapost/context/base)
>
> Hans
> -------------------------------------------------------------------------
>                                    Hans Hagen | PRAGMA ADE |
> pragma@wxs.nl
>                        Ridderstraat 27 | 8061 GH Hasselt | The
> Netherlands
>   tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 |
> www.pragma-ade.com
> -------------------------------------------------------------------------
>                         information:
> http://www.pragma-ade.com/roadmap.pdf
>                      documentation:
> http://www.pragma-ade.com/showcase.pdf
> -------------------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context



[-- Attachment #2: meta.log --]
[-- Type: application/octet-stream, Size: 2099 bytes --]

This is pdfeTeX, Version 3.141592-1.11a-2.1 (MiKTeX 2.3) (preloaded format=cont-en 2003.8.5)  5 AUG 2003 22:32
entering extended mode
**meta.tex
(meta.tex{pdftex.cfg}

ConTeXt  ver: 2003.7.21  fmt: 2003.8.5  int: english  mes: english

language       : language en is active
<protectionstate 0>
system         : cont-new loaded
(C:\texmf\tex\context\base\cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
)
system         : cont-old loaded
(C:\texmf\tex\context\base\cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(C:\texmf\tex\context\base\cont-fil.tex
loading        : Context File Synonyms
)
bodyfont       : 12pt rm is loaded
language       : patterns 2:2-en-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2 8:2-nl-2
 loaded
specials       : tex,postscript,rokicki loaded
system         : meta.top loaded
(./meta.top
specials       : loading definition file tpd
(C:\texmf\tex\context\base\spec-tpd.tex
specials       : loading definition file fdf
(C:\texmf\tex\context\base\spec-fdf.tex <unprotect 3> <unprotect 4>
system (E-TEX) : [line 1910] \ifcsname 
<protect 4> <protect 3>)
specials       : fdf loaded
<unprotect 3> <protect 3>)
specials       : fdf,tpd loaded
)
pdftex         : needs map file: original-context-symbol.map
pdftex         : needs map file: pl0-ams-cmr.map
pdftex         : needs map file: original-vogel-symbol.map
specials       : loading definition file tpd
(C:\texmf\tex\context\base\spec-tpd.tex
specials       : loading definition file fdf
(C:\texmf\tex\context\base\spec-fdf.tex <unprotect 3>
system (E-TEX) : [line 1910] \ifcsname 
<protect 3>)
specials       : fdf loaded
)
specials       : fdf,tpd loaded
color          : system rgb is global activated
(./meta.tuo) (./meta.tuo) (./meta.tuo) (./meta.tuo) (./meta.tuo) (./meta.tuo)
(./meta.tuo) (./meta.tuo) (./meta.tuo) (./meta.tuo) (./meta.tuo) (./meta.tuo)
(./meta.tuo) (./meta.tuo)
systems        : begin file meta at line 30
systems        : randomizer starts with 1583423546
system(mpost  mpgraph)...

  parent reply	other threads:[~2003-08-06  5:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1173.209.209.17.51.1060109368.squirrel@webmail.inreach.com >
2003-08-05 21:02 ` Hans Hagen
2003-08-05 23:09   ` darnold
2003-08-06  5:34   ` darnold [this message]
2003-08-05 18:49 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=1904.209.209.17.74.1060148062.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).