Re: [NTG-context] MP newbie question

2009-05-19 Thread Alan Stone
On Mon, May 18, 2009 at 8:45 PM, Alan Stone software.list.1e...@gmail.comwrote: Hi, How do you make this work ? --- mpframed.tex --- %\def\myFrameAlternative{line} %\def\myFrameAlternative{dashes} \def\myFrameAlternative{dots} The MetaPost User Manual brought the answer...

[NTG-context] MP newbie question

2009-05-18 Thread Alan Stone
Hi, How do you make this work ? --- mpframed.tex --- %\def\myFrameAlternative{line} %\def\myFrameAlternative{dashes} \def\myFrameAlternative{dots} \startuniqueMPgraphic{name} path p ; p := unitsquare xscaled \overlaywidth yscaled \overlayheight ; show (\myFrameAlternative) ; if

Re: [NTG-context] MP newbie question

2009-05-18 Thread Aditya Mahajan
On Mon, 18 May 2009, Alan Stone wrote: Hi, How do you make this work ? --- mpframed.tex --- %\def\myFrameAlternative{line} %\def\myFrameAlternative{dashes} \def\myFrameAlternative{dots} I usually do (untested) \chardef\myFrameAlternative \myFrameAlternative \zerocount %(or \plusone or