CTAN Comprehensive TeX Archive Network

CTAN update: expkv

Date: September 22, 2021 7:16:20 PM CEST
Jonathan P. Spratte submitted an update to the expkv package. Version: 1.9a 2021-09-20 License: lppl1.3c Summary description: An expandable key=val implementation Announcement text:
In previous releases the rules on key names were inconsistent, with explicit par-tokens supported in some places and leading to low level errors in others. In this release this is unified to allow explicit par-tokens in key names everywhere. They are not supported in set names. Also ConTeXt support was added (but not thoroughly tested).
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/expkv The package’s files themselves can be inspected at https://mirrors.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.9a 2021-09-20
Copyright2020–2021 Jonathan P. Spratte
MaintainerJonathan P. Spratte

Announcements

more

Guest Book Sitemap Contact Contact Author