ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Meer, H. van der" <H.vanderMeer@uva.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: arguments on context call
Date: Sun, 16 Oct 2011 17:14:07 +0000	[thread overview]
Message-ID: <C1ABDFF3-2170-4E48-A57E-BED1DF6067FA@uva.nl> (raw)
In-Reply-To: <4E9B0024.8050902@uni-bonn.de>

Thanks, but I am afraid I do not understand the mechanism well enough.
I did the follwoing call in the shell:
context --fontchoice="my font choice" test

And in the test.tex file:
variable mykey = <\getvariable{documents.arguments}{fontchoice}>\crlf

But that clearly didn't work.

Hans van der Meer

On 16 okt. 2011, at 18:02, Thomas A. Schmitz wrote:

> On 10/16/11 5:35 PM, Meer, H. van der wrote:
>> The "context --help" shows the following option:
>> --arguments=list      set variables that can be consulted during a run (key/value pairs)
>> 
>> It looks like something I need at the moment. There seems to be no further information on it, at least not be searching the wiki with "context arguments".
>> I have the two questions:
>> 
>> (1) how is the list given?
>>     context arguments=key1=value1,key2=value2
>>     or
>>     context arguments="key1=value1,key2=value2"
>>     or otherwise
>> 
>> (2) how are these values picked up inside the TeX-run for use in typesetting?
>> 
>> Hans van der Meer
> 
> I recently looked that up on the list archive, so here's a link:
> http://archive.contextgarden.net/message/20110107.215824.8d1287ab.en.html
> 
> Thomas
> ___________________________________________________________________________________
> 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  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2011-10-16 17:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-16 15:35 Meer, H. van der
2011-10-16 16:02 ` Thomas A. Schmitz
2011-10-16 17:14   ` Meer, H. van der [this message]
2011-10-16 17:32     ` Wolfgang Schuster
2011-10-16 18:37       ` Meer, H. van der

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C1ABDFF3-2170-4E48-A57E-BED1DF6067FA@uva.nl \
    --to=h.vandermeer@uva.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).