Re: [NTG-context] Using metapost figures in context (offlist)

2006-06-16 Thread Hans Hagen
Uwe Koloska wrote: > Am Mittwoch, 14. Juni 2006 09:35 schrieb Hans Hagen: > >> if data =~ /output files* written\:\s*(.*)$/mois then >> > > I am no ruby programmer, but although the above works, it should be > if data =~ /output files? written ... > > we

Re: [NTG-context] Using metapost figures in context (offlist)

2006-06-16 Thread Uwe Koloska
Am Mittwoch, 14. Juni 2006 09:35 schrieb Hans Hagen: > > if data =~ /output files* written\:\s*(.*)$/mois then I am no ruby programmer, but although the above works, it should be if data =~ /output files? written ... Uwe __

Re: [NTG-context] Using metapost figures in context

2006-06-15 Thread Aditya Mahajan
On Tue, 13 Jun 2006, Hans Hagen wrote: > Aditya Mahajan wrote: >> I have right now kept the command as MPfigure. >> > grep MPfigure in meta-fig -) > Now I am using staticMPfigure. This is the final version \def\startstaticMPfigure#1#2\stopstaticMPfigure {\bgroup \setMPrandomseedfalse

Re: [NTG-context] Using metapost figures in context (offlist)

2006-06-15 Thread Aditya Mahajan
On Wed, 14 Jun 2006, Hans Hagen wrote: > Aditya Mahajan wrote: >> On Tue, 13 Jun 2006, Aditya Mahajan wrote: >> >>> On Tue, 13 Jun 2006, Hans Hagen wrote: >>> Aditya Mahajan wrote: > On Tue, 13 Jun 2006, Hans Hagen wrote: > >> Aditya Mahajan wrote: >>> On Tue, 13 Jun 2006,

Re: [NTG-context] Using metapost figures in context (offlist)

2006-06-15 Thread Hans Hagen
Aditya Mahajan wrote: > On Tue, 13 Jun 2006, Hans Hagen wrote: > >> Aditya Mahajan wrote: >> >> > n lines deleted >> >> I added to texexec: >> >> texexec --mpgraphic somefile.mp >> >> which will run mp and make a pdf file. > > Something is wrong with the new beta. I downloaded the zip and > regene

Re: [NTG-context] Using metapost figures in context (offlist)

2006-06-15 Thread Aditya Mahajan
On Tue, 13 Jun 2006, Hans Hagen wrote: > Aditya Mahajan wrote: >> On Tue, 13 Jun 2006, Hans Hagen wrote: >> >>> Aditya Mahajan wrote: >>> >>> > n lines deleted >>> >>> I added to texexec: >>> >>> texexec --mpgraphic somefile.mp >>> >>> which will run mp and make a pdf file. >> >> Something i

Re: [NTG-context] Using metapost figures in context (offlist)

2006-06-15 Thread Hans Hagen
Aditya Mahajan wrote: > On Tue, 13 Jun 2006, Aditya Mahajan wrote: > >> On Tue, 13 Jun 2006, Hans Hagen wrote: >> >>> Aditya Mahajan wrote: On Tue, 13 Jun 2006, Hans Hagen wrote: > Aditya Mahajan wrote: >> On Tue, 13 Jun 2006, Hans Hagen wrote: >> >>> Aditya Mahajan wrote:

Re: [NTG-context] Using metapost figures in context (offlist)

2006-06-15 Thread Aditya Mahajan
On Tue, 13 Jun 2006, Aditya Mahajan wrote: > On Tue, 13 Jun 2006, Hans Hagen wrote: > >> Aditya Mahajan wrote: >>> On Tue, 13 Jun 2006, Hans Hagen wrote: >>> Aditya Mahajan wrote: > On Tue, 13 Jun 2006, Hans Hagen wrote: > >> Aditya Mahajan wrote: >> >> > n lines delete

Re: [NTG-context] Using metapost figures in context (offlist)

2006-06-15 Thread Aditya Mahajan
On Tue, 13 Jun 2006, Hans Hagen wrote: > Aditya Mahajan wrote: >> On Tue, 13 Jun 2006, Hans Hagen wrote: >> >>> Aditya Mahajan wrote: On Tue, 13 Jun 2006, Hans Hagen wrote: > Aditya Mahajan wrote: > > > n lines deleted > > I added to texexec: > > texexec

Re: [NTG-context] Using metapost figures in context (offlist)

2006-06-15 Thread Hans Hagen
Aditya Mahajan wrote: > On Tue, 13 Jun 2006, Hans Hagen wrote: > >> Aditya Mahajan wrote: >>> On Tue, 13 Jun 2006, Hans Hagen wrote: >>> Aditya Mahajan wrote: > n lines deleted I added to texexec: texexec --mpgraphic somefile.mp which will run mp and mak

Re: [NTG-context] Using metapost figures in context

2006-06-13 Thread Hans Hagen
Aditya Mahajan wrote: > n lines deleted I added to texexec: texexec --mpgraphic somefile.mp which will run mp and make a pdf file. when more graphics are in the file, names become somefile-1.pdf etc one can always say: \useexternalfigure[whatever][somefile-123.pdf] to have more symbolic

Re: [NTG-context] Using metapost figures in context

2006-06-13 Thread Hans Hagen
Aditya Mahajan wrote: > I have right now kept the command as MPfigure. > grep MPfigure in meta-fig -) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The

Re: [NTG-context] Using metapost figures in context

2006-06-12 Thread Aditya Mahajan
On Mon, 12 Jun 2006, Aditya Mahajan wrote: > 2. How to get textext to work? startMPrun not check for textext. Consider % \forceMPTEXgraphictrue % Does not make a difference! \starttext \startMPrun{testmp} beginfig(1) drawarrow (0,0)--(1cm,0) ; drawarrow (0,0)--(0,1cm) ; label.llft(te

Re: [NTG-context] Using metapost figures in context

2006-06-12 Thread Aditya Mahajan
On Mon, 12 Jun 2006, Hans Hagen wrote: > Aditya Mahajan wrote: >> Hi, >> >> Does there exist a startstop command (say startMPfigure) for managing >> figures drawn using MP such that >> >> 1. I can use \startMPfigure{label} .. \stopMPfigure and then use >> \useexternalMPfigure{label} to inclu

Re: [NTG-context] Using metapost figures in context

2006-06-12 Thread Hans Hagen
Aditya Mahajan wrote: > Hi, > > Does there exist a startstop command (say startMPfigure) for managing > figures drawn using MP such that > > 1. I can use \startMPfigure{label} .. \stopMPfigure and then use > \useexternalMPfigure{label} to include the figure. > grep for \startMPrun .. \sto

[NTG-context] Using metapost figures in context

2006-06-12 Thread Aditya Mahajan
Hi, Does there exist a startstop command (say startMPfigure) for managing figures drawn using MP such that 1. I can use \startMPfigure{label} .. \stopMPfigure and then use \useexternalMPfigure{label} to include the figure. 2. The figures are converted into pdf once. If the code inside \s