CTAN Comprehensive TeX Archive Network

New on CTAN: expkv

Date: January 23, 2020 10:38:56 PM CET
Jonathan P. Spratte submitted the expkv package. Version number: 0.3 2020-01-22 License type: lppl1.3c Summary description: An expandable key=val implementation Announcement text:
expkv is a fast, reliable and expandable key=val implementation. It has a simplistic feature-set, can handle active commas and equal signs correctly, and strips at most one pair of outer braces predictably and only after spaces are trimmed.
This package is located at http://mirror.ctan.org/macros/generic/expkv More information is at http://www.ctan.org/pkg/expkv 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
Thanks for the upload. For the CTAN Team Ina Dau

expkv – An expandable key=val implementation

The package provides 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 expands in two steps 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.

Packageexpkv
Version0.3 2020-01-22
Copyright2020 Jonathan P. Spratte
MaintainerJonathan P. Spratte

Announcements

more

Guest Book Sitemap Contact Contact Author