ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* setting variable on cmd-line
@ 2009-09-18 13:31 Peter Münster
  2009-09-20 19:46 ` Peter Münster
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Münster @ 2009-09-18 13:31 UTC (permalink / raw)
  To: ConTeXt list

Hello,

I've a little feature request:
It would be nice, to have a command line option like "--setvalue x=y" or
similar for the "context" command to define a variable for the job.

Modes are already very nice, but often I need just one value for
conditional compiling a document instead of many binary switches.

Perhaps the "context --arguments" option is what I'm looking for, but I
didn't find how to use it.

Another option would be, to make the name of the result-file
("context --result=...") available, for example as "\resultname".

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-09-21 20:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-18 13:31 setting variable on cmd-line Peter Münster
2009-09-20 19:46 ` Peter Münster
2009-09-20 21:24   ` luigi scarso
2009-09-21  5:39     ` Peter Münster
2009-09-21  5:52       ` luigi scarso
2009-09-21  6:16         ` Peter Münster
2009-09-21  8:05           ` Hans Hagen
2009-09-21 19:43             ` Peter Münster
2009-09-21 20:23               ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).