diff options
author | Karl Berry <karl@freefriends.org> | 2017-01-09 22:07:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-01-09 22:07:41 +0000 |
commit | 13856e4dd2db3582850ceb88dc8e93a938078a35 (patch) | |
tree | 3fd736a468ce4b0960b703ba1be62b01f14f136c /Master/texmf-dist/doc | |
parent | f9309f02886c44037eadb905bc627c3f455901ee (diff) |
conv-xkv (9jan17)
git-svn-id: svn://tug.org/texlive/trunk@42910 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/conv-xkv/README.md | 9 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/conv-xkv/doc/conv-xkv.pdf | bin | 83223 -> 100538 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/conv-xkv/examples/convert2xkeyval.tex | 4 |
3 files changed, 10 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/conv-xkv/README.md b/Master/texmf-dist/doc/latex/conv-xkv/README.md index 634bf0bfee8..efca36d48aa 100644 --- a/Master/texmf-dist/doc/latex/conv-xkv/README.md +++ b/Master/texmf-dist/doc/latex/conv-xkv/README.md @@ -1,12 +1,19 @@ The conv-xkv Package Author: D. P. Story -Dated: 2016/12/20 +Dated: 2017/01/09 This small package supports key-value syntax other than the standard latex syntax of <key>=<value>. Using this package, create key-values of the form <key>:<value> or <key>-><value>, for example. The package converts the new notation to xkeyval notation and passes it on to xkeyval. +What's new: (2017/01/03) The delimiters for the optional first argument +of \cxkvsetkeys is changed from the standard `[]' to `()'. Also, if no key-value +of the special type (such as <key>:<value> or <key>-><value>) is detected, the +whole argument is passed to \setkeys. This means that either the new key-value +pairing or the standard pairing may be used; \cxkvsetkeys{lname:Story} or +\cxkvsetkey{lname=Story} both work. + Please test and give feedback. Enjoy. diff --git a/Master/texmf-dist/doc/latex/conv-xkv/doc/conv-xkv.pdf b/Master/texmf-dist/doc/latex/conv-xkv/doc/conv-xkv.pdf Binary files differindex 3b7c4722706..ebfb29e660d 100644 --- a/Master/texmf-dist/doc/latex/conv-xkv/doc/conv-xkv.pdf +++ b/Master/texmf-dist/doc/latex/conv-xkv/doc/conv-xkv.pdf diff --git a/Master/texmf-dist/doc/latex/conv-xkv/examples/convert2xkeyval.tex b/Master/texmf-dist/doc/latex/conv-xkv/examples/convert2xkeyval.tex index 04a2cd1d9c5..001e1c03259 100644 --- a/Master/texmf-dist/doc/latex/conv-xkv/examples/convert2xkeyval.tex +++ b/Master/texmf-dist/doc/latex/conv-xkv/examples/convert2xkeyval.tex @@ -20,7 +20,7 @@ \makeatother % Process keys using the arrow delimiter -\def\setName#1{\cxkvsetkeys[arrow]{dps,kaf}{#1}} +\def\setName#1{\cxkvsetkeys(arrow){dps,kaf}{#1}} % we use the default delimiter, colon (:) \def\setOtherName#1{\cxkvsetkeys{dps}{#1}} % we define the dps family for xkeyval @@ -48,7 +48,7 @@ to a form the \pkg{xkeyval} package expects them to be in. home-> {Niceville, FL} } \begin{Verbatim}[xleftmargin=\leftmargini,fontsize=\small] -\def\setName#1{\cxkvsetkeys[arrow]{dps,kaf}{#1}} +\def\setName#1{\cxkvsetkeys(arrow){dps,kaf}{#1}} \setName { fname-> D., mname-> P., |