CTAN Comprehensive TeX Archive Network

CTAN Update: expkv

Date: April 9, 2020 8:03:22 AM CEST
Jonathan P. Spratte submitted an update to the expkv package. Version: 1.0 2020-04-07 License: lppl1.3c Summary description: An expandable key=val implementation Announcement text:
v1.0 reimplements the key=val splitting part of the package. The new version is about 25% faster per key, making it the second fastest keyval package for 1--infty keys currently available, still being expandable and well-behaving on braces and active equal signs or commas.
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.

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

Announcements

more

Guest Book Sitemap Contact Contact Author