CTAN update: expkv-cs
Date: June 4, 2021 7:15:29 PM CEST
Jonathan P. Spratte submitted an update to the
expkv-cs
package:
Version: 0.10 2021-06-03
License: lppl1.3c
Summary description: Define expandable key=val macros using expkv
Announcement text:
In this release the behaviour of ekvcValue is changed such that it not only expands in two steps, but also protects the value from further expanding if used inside an edef-expansion context without actively expanding it twice.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/expkv-cs The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/generic/expkv-cs/
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
In this release the behaviour of ekvcValue is changed such that it not only expands in two steps, but also protects the value from further expanding if used inside an edef-expansion context without actively expanding it twice.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/expkv-cs The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/generic/expkv-cs/
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-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 LaTeX package expkv-cs.sty is included to play nicely on LaTeX’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).
Package | expkv-cs |
Version | 1.2 2022-02-13 |
Copyright | 2020–2022 Jonathan P. Spratte |
Maintainer | Jonathan P. Spratte |