ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: Wolfgang Schuster <schuster.wolfgang@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: combinations
Date: Tue, 16 Apr 2013 01:38:16 +0200	[thread overview]
Message-ID: <516C8F68.70209@wxs.nl> (raw)
In-Reply-To: <59C67BEC-57B9-47AA-BA17-69683AC47FA0@gmail.com>

On 4/15/2013 6:58 PM, Wolfgang Schuster wrote:
>
> Am 15.04.2013 um 18:45 schrieb Sietse Brouwer <sbbrouwer@gmail.com>:
>
>> Perhaps the default for the label could be numberconversion=character
>> --- subfigures are more commonly numbered a, b, c, I think.
>
>
> To set default values it can be usefull to add a unnamed “combination” label, i.e.
>
>    \definelabel[\v!combination]
>
> and \definecombination is changed to
>
> \appendtoks
>      \edef\p_pack_combinations_alternative{\combinationparameter\c!alternative}%
>      \setfalse\c_str_define_commands_label % no helper commands
>      \ifx\currentcombinationparent\empty
> -     \normalexpanded{\definelabel[\v!combination:\currentcombination]}[\c!text=]%
> +     \normalexpanded{\definelabel[\v!combination:\currentcombination][\v!combination]}[\c!text=]%
>      \else
>        \normalexpanded{\definelabel[\v!combination:\currentcombination][\currentcombinationparent]}[\c!text=]%
>      \fi
> \to \everydefinecombination

ok, but

     \normalexpanded
       {\definelabel
          [\v!combination:\currentcombination]%
 
[\v!combination\ifx\currentcombinationparent\empty\else:\currentcombinationparent\fi]}%
          [\c!text=]%

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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:[~2013-04-15 23:38 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-15  8:50 combinations Hans Hagen
2013-04-15 13:40 ` combinations Sietse Brouwer
2013-04-15 13:57   ` combinations Wolfgang Schuster
2013-04-15 14:04   ` combinations Hans Hagen
2013-04-15 16:45     ` combinations Sietse Brouwer
2013-04-15 16:58       ` combinations Wolfgang Schuster
2013-04-15 23:38         ` Hans Hagen [this message]
2013-04-16  8:41       ` combinations Hans Hagen
2013-04-15 17:23 ` combinations Marco Patzer
2013-04-15 23:19   ` combinations Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2021-05-14  3:27 combinations jbf
2021-05-14  4:30 ` combinations Benny Schurig
2021-05-14  4:52   ` combinations jbf
2021-05-14  9:39   ` combinations Hans Hagen
2021-05-22 20:50     ` combinations Willi Egger
2006-10-08  3:19 Combinations Pepe Barbe
2006-10-08 14:26 ` Combinations Aditya Mahajan
2006-10-08 18:15   ` Combinations Pepe Barbe
2006-10-08 19:46     ` Combinations Aditya Mahajan
2006-10-08 23:51       ` Combinations Pepe Barbe
2006-10-09  1:46         ` Combinations Aditya Mahajan
2006-10-09 16:43           ` Combinations Pepe Barbe
2002-11-03 22:30 combinations Hans Hagen
2002-11-04  9:18 ` combinations Jens-Uwe Morawski

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=516C8F68.70209@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    --cc=schuster.wolfgang@gmail.com \
    /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).