CTAN Comprehensive TeX Archive Network

CTAN Update: expkv

Date: July 3, 2020 8:15:33 PM CEST
Jonathan P. Spratte submitted an update to the expkv package. Version: 1.3 2020-07-02 License: lppl1.3c Summary description: An expandable key=val implementation Announcement text:
Starting with this release, key names will be `detokenize`d for more robustness. Handlers definable with `ekvdefunknown` and `ekvdefunknownNoVal` can be used to process undefined keys within a set. Also `ekvsetdef` was added to reduce some reoccurring overhead for user defined parsing macros.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/expkv The package’s files themselves can be inspected at http://mirror.ctan.org/macros/generic/expkv/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs

expkv – An expandable key=val implementation

expkv is a minimalistic but fast and expandable <key>=<val> implementation.

It provides two parsing macros:

  • \ekvset{<set>}{<key=val list>} which is comparable to keyval’s \setkeys.
  • \ekvparse<cs1><cs2>{<key=val list>} which can be used inside \expanded and expands to <cs1>{key} and <cs2>{key}{val} for the entries in the <key=val list>.

expkv has predictable brace-stripping behaviour and handles commas and equal signs with category codes 12 and 13 correctly.

A key-defining interface that is not as rudimentary as the macros provided in this package is contained in expkv-def.

Version1.5 2020-10-10
Copyright2020 Jonathan P. Spratte
MaintainerJonathan P. Spratte



Guest Book Sitemap Contact Contact Author