Re: [NTG-context] Draw chess board

2007-06-10 Thread Zhichu Chen
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

[NTG-context] Keeping it single valued

2007-04-19 Thread David Arnold
; 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

Re: [NTG-context] Keeping it single valued

2007-04-19 Thread Mikael Persson
\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

[NTG-context] Help --- Arithmetic Overflow: Weird error

2007-01-03 Thread David Arnold
(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

[NTG-context] goto framed

2006-10-17 Thread Renaud AUBIN
][{\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="">

Re: [NTG-context] goto framed

2006-10-17 Thread Peter Rolf
\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

Re: [NTG-context] column overflow at times --- any thoughts?

2006-08-03 Thread David Arnold
(-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

[NTG-context] Setting to help with overflow in Metapost

2006-07-22 Thread dwarnold45
); 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

[NTG-context] ConTeXt and cmyk

2006-07-21 Thread Renaud AUBIN
%% 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

Re: [NTG-context] Clipping again

2006-06-25 Thread David Arnold
$ 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

Re: [NTG-context] Textext Question

2006-05-27 Thread Jean Magnan de Bornier
; 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

Re: [NTG-context] Textext Question

2006-05-26 Thread Otared Kavian
\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

Re: [NTG-context] Fonts in Metapost

2005-07-02 Thread Wolfgang Zillig
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

Re: [NTG-context] Fonts in Metapost

2005-07-02 Thread Willi Egger
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

<    1   2