![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
16 Oct
2011
16 Oct
'11
11:32 a.m.
Am 16.10.2011 um 19:14 schrieb Meer, H. van der:
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.
<file name="test.tex"> \doifdocumentargument {bodyfont} {\setupbodyfont[\getdocumentargument{bodyfont}]} \starttext This document uses “\doifdocumentargumentelse{bodyfont}{\getdocumentargument{bodyfont}}{Latin Modern}” as bodyfont. \stoptext </file> $ context --bodyfont=pagella test.tex Wolfgang