CTAN update: skeyval
Date: February 14, 2013 11:35:00 AM CET
> The following information was provided by the package's contributor.
>
> Name of contribution: skeyval
> Author's name: Ahmed Musa
> Package version: 1.2
> Location on CTAN: macros/latex/contrib/skeyval/
> Summary description: Key processor that combines features of xkeyval and pgfkeys.
> License type: lppl
>
> Announcement text given by the package's contributor:
> ----------------------------------------------------------------------
> Key processor that combines features of xkeyval and pgfkeys.
>
> New features:
>
> 1. Providing the key's argument pattern within the key's callback:
>
> \skvordkey[KV]{fam}{key1}[default1a/1b]{%
> .arg expanded{#1/#2}
> \def\mylength{#1}\def\mywidth{#2}%
> }
>
> 2. List-processor keys. E.g.,
>
> \skvlistkeys[KV]{fam}{key1,key2}[default1a,1b; default2a,2b]{%
> .arg{#1,#2}\listsep{;}\somemethod{#1}{#2}%
> }
>
> 3. Handlers such as in
>
> \def\valuelist{1,2,3,4}
> \skvsetkeys[KV]{fam}{keya=.expand once process list{\valuelist}}
>
> for a (non-list) key defined as an ordinary key:
>
> \skvordkey[KV]{fam}{keya}{\def\myitem{#1}}
>
> 4. Prefix and family can be fixed for subsequent keys. E.g.,
>
> \skvsetprefix{KV}
> \skvsetfamily{fam}
>
> 5. Option and nonoption keys:
>
> \skvoptionkeys[KV]{fam}{key1}
> \skvnonoptionkeys[KV]{fam}{key2,key3}
>
> 6. Bug fixes.
thanks for the upload; i've installed the new version, and updated the
catalogue repository.
> Users may view the package catalogue entry at
> http://www.ctan.org/pkg/skeyval
> or they may browse the package directory at
> http://mirror.ctan.org/macros/latex/contrib/skeyval/
Robin Fairbairns
For the CTAN team
skeyval – Key-value parsing combining features of xkeyval and pgfkeys
The package integrates the features of xkeyval and of pgfkeys by introducing a new type of handlers. Style keys, links, changing key callbacks and values on the fly, and other features of pgfkeys are introduced in a new context.
Package | skeyval |
Version | 1.3 |
Copyright | 2010–2012 Ahmed Musa |
Maintainer | Ahmed Musa |