From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: interface file parameter
Date: Mon, 16 Aug 2010 15:01:59 +0200 [thread overview]
Message-ID: <4C6936C7.4050906@elvenkind.com> (raw)
In-Reply-To: <4C69360B.4080906@googlemail.com>
On 08/16/2010 02:58 PM, Wolfgang Schuster wrote:
> Am 16.08.10 14:50, schrieb Philipp Gesang:
>> Hi all,
>>
>> in an interface xml definition, what is the notation for an argument
>> value
>> that is a filename? I'm just unsure whether to specify it as “cd:text”
>> or “cd:name”.
>
> It’s “cd:name”.
>
>> Also, is there a way to specify conditioned arguments (apart from
>> separate setups)? E.g. parameter “p” has an effect iff parameter “q” is
>> given as well?
>
> No, the file lists only the available parameters, dependences have to be
> explained in your text.
>
> The interface file shows only how many parameters a command has and
> which arguments it does accept.
If you want, you can create multiple xml entries for a single command,
this is what e.g. \definebodyfont does in cont-en.xml
Best wishes,
Taco
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-08-16 13:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-16 12:50 Philipp Gesang
2010-08-16 12:58 ` Wolfgang Schuster
2010-08-16 13:01 ` Taco Hoekwater [this message]
2010-08-16 13:11 ` Wolfgang Schuster
2010-08-16 13:34 ` Philipp Gesang
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=4C6936C7.4050906@elvenkind.com \
--to=taco@elvenkind.com \
--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).