* MetaPost error
@ 2003-09-04 11:32 ^Nitram^
2003-09-04 16:43 ` Patrick Gundlach
2003-09-04 19:30 ` Willi Egger
0 siblings, 2 replies; 7+ messages in thread
From: ^Nitram^ @ 2003-09-04 11:32 UTC (permalink / raw)
Hello
I'm very newbie in ConTeXt and I can't generate any document with
MetaPost... For example: \startFLOWchart etc.
I generate: makemem metafun
I did texexec --make --alone metafun
and I still have error:
initexmf: don't know to dump metafun
I can't find default mem file!
Where I can set it or something else do to fix this ?...
Best regards
martin
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: MetaPost error
2003-09-04 11:32 MetaPost error ^Nitram^
@ 2003-09-04 16:43 ` Patrick Gundlach
2003-09-04 19:30 ` Willi Egger
1 sibling, 0 replies; 7+ messages in thread
From: Patrick Gundlach @ 2003-09-04 16:43 UTC (permalink / raw)
"^Nitram^" <nitram@emil.teleton.pl> writes:
Hi,
> I generate: makemem metafun
> I did texexec --make --alone metafun
OK, this is the way to go.
> and I still have error:
>
> initexmf: don't know to dump metafun
> I can't find default mem file!
this is odd. What is this initexmf?
After texexec --make --alone metafun the metafun.mem file needs to be placed in teh appropriate directory (web2c on web2c systems. Don't know about Miktex)
Some more information would be useful:
do ConTeXt files (without metapost stuff) work correctly?
what system are you using?
what is the version of your ConTeXt system?
And please post the exact steps you did and the exact error messages.
Patrick
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: MetaPost error
2003-09-04 11:32 MetaPost error ^Nitram^
2003-09-04 16:43 ` Patrick Gundlach
@ 2003-09-04 19:30 ` Willi Egger
1 sibling, 0 replies; 7+ messages in thread
From: Willi Egger @ 2003-09-04 19:30 UTC (permalink / raw)
Hi Martin,
The metafun.mem file is svaed in the directory where you run texexec --make
metafun. Thus you need to copy this file into a place where TeX can find it.
e.g. \...\texmf-var\web2c. Run mktexlsr
In order to be able to typeset FLOWcharts do not forget to load the
chart-module
At the beginning of your file just say: \usemodule[chart]
Willi
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Metapost error
2011-10-19 11:34 Metapost error Lutz Haseloff
2011-10-19 15:16 ` luigi scarso
@ 2011-10-20 4:28 ` Lutz Haseloff
1 sibling, 0 replies; 7+ messages in thread
From: Lutz Haseloff @ 2011-10-20 4:28 UTC (permalink / raw)
To: mailing list for ConTeXt users
Works again with last nights beta, thanks.
2011/10/19 Lutz Haseloff <lutz.haseloff@googlemail.com>:
> Hi Hans, Hi all,
>
> with newest Context and luatex compiling following file:
>
> \starttext
> \startMPcode
> draw externalfigure "hacker.jpg" xscaled 30mm yscaled 20mm ;
> \stopMPcode
> \stoptext
>
> doesn't show the picture and gives an error message:
>
>
> ! Improper `addto'.
> <to be read again>
> withpen
> draw->...:also(EXPR0)else:doublepath(EXPR0)withpen
> .currentpen.fi._op_
> <to be read again>
> ;
> <to be read again>
> ;
> <*> ...re "hacker.jpg" xscaled 30mm yscaled 20mm ;
> ;
>
>
> metapost > error: unknown, no error, terminal or log messages
> metapost > terminal: [1]
>
>
> Thanks for any help
>
> Lutz
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Metapost error
2011-10-19 11:34 Metapost error Lutz Haseloff
@ 2011-10-19 15:16 ` luigi scarso
2011-10-20 4:28 ` Lutz Haseloff
1 sibling, 0 replies; 7+ messages in thread
From: luigi scarso @ 2011-10-19 15:16 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Wed, Oct 19, 2011 at 1:34 PM, Lutz Haseloff
<lutz.haseloff@googlemail.com> wrote:
> Hi Hans, Hi all,
>
> with newest Context and luatex compiling following file:
>
> \starttext
> \startMPcode
> draw externalfigure "hacker.jpg" xscaled 30mm yscaled 20mm ;
> \stopMPcode
> \stoptext
>
> doesn't show the picture and gives an error message:
>
>
> ! Improper `addto'.
> <to be read again>
> withpen
> draw->...:also(EXPR0)else:doublepath(EXPR0)withpen
> .currentpen.fi._op_
> <to be read again>
> ;
> <to be read again>
> ;
> <*> ...re "hacker.jpg" xscaled 30mm yscaled 20mm ;
> ;
>
>
> metapost > error: unknown, no error, terminal or log messages
> metapost > terminal: [1]
>
>
> Thanks for any help
>
> Lutz
hm, strange, it seems that
externalfigure is redefined
This is ok
\starttext
\startMPcode
def externalfigure primary filename =
if false :
rawtextext("\externalfigure[" & filename & "]")
else :
image (
addto currentpicture doublepath unitsquare
withprescript "fg_name=" & filename ;
)
% unitsquare
% withpen pencircle scaled 0
% withprescript "fg_name=" & filename
fi
enddef ;
draw externalfigure "hacker.jpg" xscaled 30mm yscaled 20mm ;
\stopMPcode
\stoptext
--
luigi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Metapost error
@ 2011-10-19 11:34 Lutz Haseloff
2011-10-19 15:16 ` luigi scarso
2011-10-20 4:28 ` Lutz Haseloff
0 siblings, 2 replies; 7+ messages in thread
From: Lutz Haseloff @ 2011-10-19 11:34 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Hans, Hi all,
with newest Context and luatex compiling following file:
\starttext
\startMPcode
draw externalfigure "hacker.jpg" xscaled 30mm yscaled 20mm ;
\stopMPcode
\stoptext
doesn't show the picture and gives an error message:
! Improper `addto'.
<to be read again>
withpen
draw->...:also(EXPR0)else:doublepath(EXPR0)withpen
.currentpen.fi._op_
<to be read again>
;
<to be read again>
;
<*> ...re "hacker.jpg" xscaled 30mm yscaled 20mm ;
;
metapost > error: unknown, no error, terminal or log messages
metapost > terminal: [1]
Thanks for any help
Lutz
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: MetaPost error
@ 2003-09-05 5:24 ^Nitram^
0 siblings, 0 replies; 7+ messages in thread
From: ^Nitram^ @ 2003-09-05 5:24 UTC (permalink / raw)
Hello
>Some more information would be useful:
>do ConTeXt files (without metapost stuff) work correctly?
Yes - thank You for Your time - now everything looks good.
I fixed it by following:
-install miktex (large version but I will experimental with
small version)
-unzip new version of ConTeXt
-remove cont-en.efmt file if exists
-generate format en
-generate specific language format
-update and refresh MikTeX database
-generate metafun format
-copy mem file from fmt folder (where is stored after generate) to
/mem/ folder(s)
-update and refresh MikTeX database
And everything looks good ;)
I had some problems with generate metafun format - there
I couldn't find mem file on hard disk. Maybe first time I
forgot '-update and refresh MikTeX database' ;)
This the point for new users: after each operation do it ! ;)
I used:
This is pdfeTeX, Version 3.141592-1.11a-2.1 (MiKTeX 2.3)
(preloaded format=cont-en 2003.9.4) 4 SEP 2003 23:12
and:
ConTeXt ver: 2003.8.21 fmt: 2003.9.4 int: english mes: english
Best regards
Martin
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-10-20 4:28 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-04 11:32 MetaPost error ^Nitram^
2003-09-04 16:43 ` Patrick Gundlach
2003-09-04 19:30 ` Willi Egger
2003-09-05 5:24 ^Nitram^
2011-10-19 11:34 Metapost error Lutz Haseloff
2011-10-19 15:16 ` luigi scarso
2011-10-20 4:28 ` Lutz Haseloff
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).