On 4/15/2013 6:58 PM, Wolfgang Schuster wrote:
Am 15.04.2013 um 18:45 schrieb Sietse Brouwer <sbbrou...@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
___________________________________________________________________________________