* \loadfontfileoncetrue?
@ 2003-12-16 1:36 David Arnold
2003-12-17 21:07 ` \loadfontfileoncetrue? Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: David Arnold @ 2003-12-16 1:36 UTC (permalink / raw)
Hmmm,...
I haven't tried included graphics for a while, so I downloaded the new beta
into my Miktex system, regenerated formats, and attempted to compile the
code below. I got the following error:
! Undefined control sequence.
l.1 \global \loadfontfileoncetrue
%
! You can't use a prefix with `\shipout'.
<to be read again>
\shipout
l.2 \shipout
\hbox{\smash{\hbox{\hbox{% line 226 C:\temp\junk-mpgraph.mp
[1] )
(see the transcript file for additional information)
I have write18 enabled in miktex.ini, and adjusted cont-sys.tex:
% Enabling run time \METAPOST\ (also enable \write18 in
% texmf.cnf):
\runMPgraphicstrue
\runMPTEXgraphicstrue
% This saves some runtime, but needs a format, which you can
% make with 'texexec --make --alone metafun'. Make sure that
% the mem files are moved to the used web2c path (locate with
% 'kpsewhich plain.mem').
\useMETAFUNformattrue
% Enabling nested pretty printing:
\newprettytrue
% This can be a way to get things working on system with
% name clashes. (Some \TeX's tend do search system wide.)
\protectbufferstrue
Anyone have an idea what I am doing wrong?
\setupoutput[pdftex]
\starttext
\section{Including the MPcode in the placefigure mechanism}
\placefigure
[here]
[]
{the label}
{\startMPcode
label.top(btex Some label 1 etex, (1cm,1cm)) ;
\stopMPcode}
\section{startMPgraphic -- placeMPgraphic}
\startMPgraphic
label.top(btex Some label 2 etex, (1cm,1cm)) ;
\stopMPgraphic
\loadcurrentMPgraphic{width=15cm}
\placeMPgraphic
\section{startuseMPgraphic -- useMPgraphic}
\startuseMPgraphic{Label2}
label.top(btex Some label 3 etex, (1cm,1cm)) ;
\stopuseMPgraphic
\useMPgraphic{Label2}
\section{startreusableMPgrpahic -- reuseMPgraphic}
\startreusableMPgraphic{Label3}
label.top(btex Some label 4 etex, (1cm,1cm)) ;
\stopreusableMPgraphic
\reuseMPgraphic{Label3}
\stoptext
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \loadfontfileoncetrue?
2003-12-16 1:36 \loadfontfileoncetrue? David Arnold
@ 2003-12-17 21:07 ` Hans Hagen
2003-12-18 7:46 ` \loadfontfileoncetrue? David Arnold
0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2003-12-17 21:07 UTC (permalink / raw)
At 02:36 16/12/2003, you wrote:
>Hmmm,...
>
>I haven't tried included graphics for a while, so I downloaded the new beta
>into my Miktex system, regenerated formats, and attempted to compile the
>code below. I got the following error:
>
>! Undefined control sequence.
>l.1 \global \loadfontfileoncetrue
strange, this command is already quite old, so you use a new metafun with
an old context
You can try to add a line
> \newif\ifloadfontfileonce
to your cont-new.tex file
Hans
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: \loadfontfileoncetrue?
2003-12-17 21:07 ` \loadfontfileoncetrue? Hans Hagen
@ 2003-12-18 7:46 ` David Arnold
2003-12-19 17:33 ` \loadfontfileoncetrue? Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: David Arnold @ 2003-12-18 7:46 UTC (permalink / raw)
Hans,
I did as you asked below, but still got this error:
! Undefined control sequence.
l.1 \global \loadfontfileoncetrue
%
! You can't use a prefix with `\shipout'.
<to be read again>
\shipout
l.2 \shipout
\hbox{\smash{\hbox{\hbox{% line 226 C:\temp\junk-mpgraph.mp
[1] )
(see the transcript file for additional information)
However, I did get the correct pdf file. You hint at mixing "old" with
"new" in your post below. Tomorrow I will try to erase all Context files,
extract the new ones, and try again.
Thanks. I'll let you know how it goes.
At 10:07 PM 12/17/03 +0100, you wrote:
>At 02:36 16/12/2003, you wrote:
>>Hmmm,...
>>
>>I haven't tried included graphics for a while, so I downloaded the new beta
>>into my Miktex system, regenerated formats, and attempted to compile the
>>code below. I got the following error:
>>
>>! Undefined control sequence.
>>l.1 \global \loadfontfileoncetrue
>
>strange, this command is already quite old, so you use a new metafun with
>an old context
>
>You can try to add a line
>
>> \newif\ifloadfontfileonce
>
>to your cont-new.tex file
>
>Hans
>
>
>
>_______________________________________________
>ntg-context mailing list
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-12-19 17:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-16 1:36 \loadfontfileoncetrue? David Arnold
2003-12-17 21:07 ` \loadfontfileoncetrue? Hans Hagen
2003-12-18 7:46 ` \loadfontfileoncetrue? David Arnold
2003-12-19 17:33 ` \loadfontfileoncetrue? Hans Hagen
2003-12-19 17:13 ` \loadfontfileoncetrue? David Arnold
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).