CTAN update: skeyval

CTAN Announcements ctan-ann at dante.de
Thu Feb 14 12:35:00 CET 2013


> 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



More information about the Ctan-ann mailing list