CTAN Comprehensive TeX Archive Network

Directory macros/generic/expkv-cs

README.md

# expkv-cs – define expandable key=val macros using expkv

Version 2022-02-13 v1.2

Released under the Project Public License v1.3c or later See http://www.latex-project.org/lppl.txt

Hosted at https://github.com/Skillmon/texexpkv-cs


Copyright (C) 2020-2022 Jonathan P. Spratte

This work may be distributed and/or modified under the conditions of the Project Public License (LPPL), either version 1.3c of this license or (at your option) any later version. The latest version of this license is in the file:

http://www.latex-project.org/lppl.txt

This work is "maintained" (as per LPPL maintenance status) by Jonathan P. Spratte.


This provides means to define expandable key=val taking macros utilizing expkv. It is generic code and only requires expkv for its parsing. There is a package expkv-cs.sty included to play nice 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.

Download the contents of this package in one zip archive (473.3k).

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
Repositoryhttps://github.com/Skillmon/tex_expkv-cs
Version1.2 2022-02-13
LicensesThe Project Public License 1.3c
Copyright2020–2022 Jonathan P. Spratte
MaintainerJonathan P. Spratte
TDS archiveexpkv-cs.tds.zip
Contained inTeX Live as expkv-cs
MiKTeX as expkv-cs
TopicsMacro support
Key-Val
Generic Macros
See alsoexpkv-def
expkv
...
Guest Book Sitemap Contact Contact Author