CTAN Comprehensive TeX Archive Network

CTAN update: expkv-cs

Date: June 21, 2021 6:46:14 PM CEST
Jonathan P. Spratte submitted an update to the expkv-cs package. Version number: 1.0 2021-06-20 License type: lppl1.3c Summary description: Define expandable key=val macros using expkv Announcement text:
This major release has a change in behaviour breaking backwards compatibility: ekvcValueSplit and ekvcValueSplitFast don't forward the modified hash list anymore, instead it only forwards the value. If you need to also forward the hash list you can place it after the macro as another argument. Other changes include: - ekvcChange added (provides a way to change the default values of primary keys) - ekvcPass added (along with some documentation on how to define keys with arbitrary code)
This package is located at http://mirror.ctan.org/macros/generic/expkv-cs More information is at https://www.ctan.org/pkg/expkv-cs
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-cs – Define expandable key=val macros using expkv

This package is a frontend to define expandable macros with key=val arguments. It provides four syntaxes, each of which will define <cs> to take a single key=val argument:

  • ekvcSplit<cs>{<key>=<initial>, ...}{<definition>}
  • ekvcSplitAndForward<cs><cs2>{<key>=<initial>, ...}
  • ekvcHash<cs>{<key>=<initial>, ...}{<definition>}
  • ekvcHashAndForward<cs><cs2>{<key>=<initial>, ...}

Additional keys for each <cs> might be defined using

  • ekvcSecondaryKeys<cs>{<prefix> <key>=<definition>, ...}

expkv-cs is generic code and only requires expkv for its parsing.

A package expkv-cs.sty is included to play nicely on ’s package loading system, but that package is not needed and does not provide more functionality than the generic code in expkv-cs.tex.

Note: In this context, “cs” stands for “control sequence” (i.e.: macro).

Packageexpkv-cs
Version1.1b 2021-11-21
Copyright2020–2021 Jonathan P. Spratte
MaintainerJonathan P. Spratte

Announcements

more

Guest Book Sitemap Contact Contact Author