use \fieldstack to demonstrate the game.
By the way, I modified my module to do some fieldstack thing, but it gets a
weird error. I have no idea what's the error about, it's fine when I'm using
MPdrawing environment but it can't output anything when I switch to buffer
and use \processMPbuffer
;
path fun;
fun:=(0,-1)..(1,.5){right}..(1.9,.2){right}..{curl .1}(3.2,2);
fun:=fun scaled scf;
draw fun;
\stopbuffer
\placefigure
[][fig:one]
{Caption.}
{\processMPbuffer[figure]}
\startbuffer[figure]
numeric scf, yscl, t[];
3.2scf=2.4in;
path fun;
yscl=.1; %keep the function single valued
fun
\placefigure
[][fig:one]
{Caption.}
{\processMPbuffer[figure]}
\startbuffer[figure]
numeric scf, yscl, t[];
3.2scf=2.4in;
path fun;
yscl=.1; %keep the function single valued
fun:=(0,-1yscl)..(1,.5yscl){right}..(1.9,.2yscl){right}..{curl .1}
(3.2,2yscl);
fun:=fun scaled scf;
drawpath fun shifted (3cm,0cm
(btex $\tfx \Delta x=1$ etex, 0.5[Q,R]);
%labels
dotlabel.urt(btex $\tfx (-3,3)$ etex, P);
\stopbuffer
\startbuffer[combined]
\startcombination[2*1]
{\processMPbuffer[one]}{(a)}
{\processMPbuffer[two]}{(b)}
\stopcombination
\stopbuffer
\startlinecorrection[blank]
\midaligned
][{\processMPbuffer[stack1]}]
\definesymbol[step 2][{\processMPbuffer[stack1,stack2]}]
\definesymbol[step 3][{\processMPbuffer[stack1,stack2,stack3]}]
\definefieldstack
[stack]
[step 1,step 2,step 3]
[frame=off]
\defineoverlay[cowbg][{\externalfigure[cow][width=10cm]}]
\framed[background="">
\definesymbol[step 1][{\processMPbuffer[stack1]}]
\definesymbol[step 2][{\processMPbuffer[stack1,stack2]}]
\definesymbol[step 3][{\processMPbuffer[stack1,stack2,stack3]}]
\definefieldstack
[stack]
[step 1,step 2,step 3]
[frame=off]
\defineoverlay[cowbg][{\externalfigure[cow
(-5u,0)--(10u,0) withcolor red;pickup defaultpen;filleddotred((-5u,0));label.bot(btex $\tfx -5$ etex, (-5u,0));\stopbuffer\startlinecorrection[blank]\midaligned{\processMPbuffer}\stoplinecorrection\column Taco, inserting a column break works, which is what we'll
);
drawdblarrow p_p withcolor blue;
label.rt(btex $\tfx p(x)=-x^6-4x^5+27x^4+78x^3+4x^2+376x-480$ etex, (5.3356
,p(5.3356 )) xyscaled(ux,uy));
\stopbuffer
\startlinecorrection[blank]
\midaligned{\processMPbuffer}
\stoplinecorrection
\stopanswer
\endshortanswer
% Exercise #30
\beginquestion
%% end of buffer[uvsqlogo]
\placefigure[here]{none}{\processMPbuffer[uvsqlogo]}
\stoptext
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
$ etex, (0,5u));
%[DA 6/25]==Replace with draw pic command with
drawdblarrow P
% redraw line
draw pic;
\stopbuffer
\startlinecorrection[blank]
\midaligned{\processMPbuffer}
\stoplinecorrection
On Jun 25, 2006, at 1:14 PM, Mojca Miklavec wrote:
On 6/25/06, David Arnold wrote
;
drawdblarrow p withcolor red;
label.rt(textext($3x^2+\pi$), (5u,6u));
\stopbuffer
\placefigure[left]{bla.bla}{\processMPbuffer[essai]}
\input dawkins
\stoptext
If I add
\useMPlibrary[txt]
at the beginning everything works fine as well. But if I add
\runMPgraphicstrue
then I get the Undefined
\placefigure[left]{bla.bla}{\processMPbuffer[essai]}
\input dawkins
\stoptext
If I add
\useMPlibrary[txt]
at the beginning everything works fine as well. But if I add
\runMPgraphicstrue
then I get the Undefined message in the PDF. So it seems that the
problem comes from this latter command.
Best
Hello all,
finaly I solved my problem: I had my metapost graphic in an external
file and used it with:
\startuseMPgraphic{test}
\input mp.mp ;
\stopuseMPgraphic
\useMPgraphic{test}
or
\startbuffer[test1]
\input mp.mp
\stopbuffer
\processMPbuffer[test1,graphic]
in both cases I get
it with:
\startuseMPgraphic{test}
\input mp.mp ;
\stopuseMPgraphic
\useMPgraphic{test}
or
\startbuffer[test1]
\input mp.mp
\stopbuffer
\processMPbuffer[test1,graphic]
in both cases I get the graphic but the font switching does not work.
When I copy the content of my graphic file into \startuseMPgraphic
101 - 114 of 114 matches
Mail list logo