ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Float caption feature request
Date: Sun, 07 May 2006 20:15:45 +0200	[thread overview]
Message-ID: <445E3951.8000801@wxs.nl> (raw)
In-Reply-To: <6faad9f00605061534w68064687xf47d5d2f59061f2b@mail.gmail.com>

Mojca Miklavec wrote:
> On 5/5/06, Hans Hagen wrote:
>
>   
>> \placefigure
>>   {\select{caption}{zapf}{\input zapf \relax}}
>>   {}
>>
>> \stoptext
>>
>> i'll add selectors to the core
>>     
>
> Very nice feature!
>
> What about
>     \select[caption]{zapf}{\input zapf \relax}
> syntax instead? (You're the boss and the designer, but square brackets
> seem more consistent with other ConTeXt commands; at least to me.)
>   
this is indeed more natural to context, but i consider \select to be more like the \getvariable mechanism, and when used inside [] it saves outer braces: 

\setupheadertexts[\select{caption}{zapf}{\input zapf \relax}]

Hans 
 
-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

      reply	other threads:[~2006-05-07 18:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-01 17:17 Johannes Graumann
2006-05-05  7:40 ` Taco Hoekwater
2006-05-05 22:35   ` Johannes Graumann
2006-05-05 12:42 ` Hans Hagen
2006-05-05 15:30   ` Johannes Graumann
2006-05-06  0:11     ` Johannes Graumann
2006-05-06 22:34   ` Mojca Miklavec
2006-05-07 18:15     ` Hans Hagen [this message]

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=445E3951.8000801@wxs.nl \
    --to=pragma@wxs.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).