ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Werners-Lucchini" <wwl@musensturm.de>
To: ntg-context@ntg.nl
Subject: Re :!  Undefined control sequence
Date: Fri, 23 Apr 2010 19:20:25 +0200	[thread overview]
Message-ID: <4BD1F2F9.21561.243D178@wwl.musensturm.de> (raw)
In-Reply-To: <mailman.718.1272038228.4277.ntg-context@ntg.nl>

Hallo Taco and Wolfgang,
 
> > Why is this? 
> 
> Because \setupitemgroup expands its third argument.
> 
> > And how can I make it work in position 2?
> 
>    \setupitemgroup[Tst][1][n,\noexpand\broad ]
> 

thank you very much!

> \defineitemgroup[Tst]
> 
> \setvariables[tst][set={\setupTst[1][n,\getvariable{tst}{broad}*broa
> d]}]
> 
> \starttext
> 
> \startTst
> \item text
> \stopTst
> 
> \setvariables[tst][broad=5]
> 
> \startTst
> \item text
> \stopTst
> 
> \stoptext
> 
> Wolfgang

What is the following command for:

\setvariables[tst][set={\setupTst[1][n,\getvariable{tst}{broad}*broad]
}]

This is enough, or are there any problems?

\setupTst[1][n,\getvariable{tst}{broad}*broad]

Wolfgang
___________________________________________________________________________________
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:[~2010-04-23 17:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.718.1272038228.4277.ntg-context@ntg.nl>
2010-04-23 17:20 ` Wolfgang Werners-Lucchini [this message]
2010-04-23 18:36   ` Wolfgang Schuster

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=4BD1F2F9.21561.243D178@wwl.musensturm.de \
    --to=wwl@musensturm.de \
    --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).