Re: Passing command line arguments to MetaPost programs?

Johan Ingvast <[email protected]> Sun, 26 Jan 2003 19:53:32 +0100 (CET)
Newsgroups gmane.comp.tex.metafont
Message-ID <Pine.LNX.4.44.0301261946370.2048-100000@pippin>
Hi
Try something like:
	mpost '\prologues :=1; input file.mp'
	
I picked the line up from another maillist (lyx-users) but have not
tried it myself. (But I'd be surprised if it doesn't work.)
/johan

On Sat, 25 Jan 2003, Roland Smiderkal wrote:

> Hi!
> 
> I want to pass command line arguments to metapost programs (not to
> metapost itself). For instance I'd like to set the prologues variable
> from the command line. Is there a way to achieve this?
> 
> Thanks,
> 
> Roland Smiderkal
> 
> 

-- 
Johan Ingvast, PhD student http://www.md.kth.se/~ingvast
Department of Machine Design, Royal Institute of Technology, Sweden
http://www.md.kth.se, http://www.md.kth.se/~cas	<--- Walking robot proj
tel +46 (0)8 790 95 36	mob. +46 (0)70 34 34 498