From 13856e4dd2db3582850ceb88dc8e93a938078a35 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 9 Jan 2017 22:07:41 +0000 Subject: conv-xkv (9jan17) git-svn-id: svn://tug.org/texlive/trunk@42910 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/conv-xkv/README.md | 9 ++++++++- .../texmf-dist/doc/latex/conv-xkv/doc/conv-xkv.pdf | Bin 83223 -> 100538 bytes .../latex/conv-xkv/examples/convert2xkeyval.tex | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/doc/latex/conv-xkv') 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 =. Using this package, create key-values of the form : or ->, 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 : or ->) 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 index 3b7c4722706..ebfb29e660d 100644 Binary files a/Master/texmf-dist/doc/latex/conv-xkv/doc/conv-xkv.pdf and b/Master/texmf-dist/doc/latex/conv-xkv/doc/conv-xkv.pdf differ 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., -- cgit v1.2.3