CTAN Comprehensive TeX Archive Network

CTAN update: expkv

Date: February 23, 2020 7:39:29 AM CET
Jonathan P. Spratte submitted an update to the expkv package. Version number: 0.4 2020-02-22 License type: lppl1.3c Summary description: An expandable key=val implementation Announcement text:
`ekvparse` is now considerably faster, but this breaks downward compatibility as it doesn't expand in two steps now (but one can use `expanded` to control this, the result is returned `unexpanded`).
This package is located at http://mirror.ctan.org/macros/generic/expkv More information is at https://www.ctan.org/pkg/expkv
Thanks for the upload. For the CTAN Team Manfred Lotz 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