CTAN Comprehensive TeX Archive Network

CTAN update: expkv-cs

Date: July 8, 2021 7:47:35 PM CEST
Jonathan P. Spratte submitted an update to the expkv-cs package. Version number: 1.1 2021-07-07 License type: lppl1.3c Summary description: Define expandable key=val macros using expkv Announcement text:
This release adds two secondary key types: - aggregate: The key can be used to combine old and new value (with static rules), can be used to form some sort of list. - process: Will grab the old value and new value for general processing by some user code.
This package is located at https://mirrors.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).

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



Guest Book Sitemap Contact Contact Author