texlive[53193] Master/texmf-dist: kvdefinekeys (20dec19)
commits+karl at tug.org
commits+karl at tug.org
Fri Dec 20 22:54:04 CET 2019
Revision: 53193
http://tug.org/svn/texlive?view=revision&revision=53193
Author: karl
Date: 2019-12-20 22:54:04 +0100 (Fri, 20 Dec 2019)
Log Message:
-----------
kvdefinekeys (20dec19)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/kvdefinekeys/kvdefinekeys.pdf
trunk/Master/texmf-dist/source/latex/kvdefinekeys/kvdefinekeys.dtx
trunk/Master/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty
Modified: trunk/Master/texmf-dist/doc/latex/kvdefinekeys/kvdefinekeys.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/kvdefinekeys/kvdefinekeys.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/kvdefinekeys/kvdefinekeys.dtx 2019-12-20 00:54:39 UTC (rev 53192)
+++ trunk/Master/texmf-dist/source/latex/kvdefinekeys/kvdefinekeys.dtx 2019-12-20 21:54:04 UTC (rev 53193)
@@ -1,7 +1,7 @@
% \iffalse meta-comment
%
% File: kvdefinekeys.dtx
-% Version: 2019/12/15 v1.5
+% Version: 2019-12-19 v1.6
% Info: Define keys
%
% Copyright (C)
@@ -83,7 +83,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: kvdefinekeys 2019/12/15 v1.5 Define keys (HO)}
+\Msg{* Package: kvdefinekeys 2019-12-19 v1.6 Define keys (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -95,7 +95,7 @@
This is a generated file.
Project: kvdefinekeys
-Version: 2019/12/15 v1.5
+Version: 2019-12-19 v1.6
Copyright (C)
2010, 2011 Heiko Oberdiek
@@ -160,7 +160,7 @@
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{kvdefinekeys.drv}%
- [2019/12/15 v1.5 Define keys (HO)]%
+ [2019-12-19 v1.6 Define keys (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2011/11/22]
\begin{document}
@@ -174,7 +174,7 @@
% \GetFileInfo{kvdefinekeys.drv}
%
% \title{The \xpackage{kvdefinekeys} package}
-% \date{2019/12/15 v1.5}
+% \date{2019-12-19 v1.6}
% \author{Heiko Oberdiek\thanks
% {Please report any issues at \url{https://github.com/ho-tex/kvdefinekeys/issues}}}
%
@@ -293,7 +293,7 @@
\fi
\expandafter\x\csname ver at kvdefinekeys.sty\endcsname
\ProvidesPackage{kvdefinekeys}%
- [2019/12/15 v1.5 Define keys (HO)]%
+ [2019-12-19 v1.6 Define keys (HO)]%
% \end{macrocode}
%
% \begin{macrocode}
@@ -385,11 +385,10 @@
% \begin{macro}{\KVD at DefineKey}
% \begin{macrocode}
\def\KVD at DefineKey#1#2{%
- \@ifnextchar[\@firstoftwo\@secondoftwo{%
- \KVD at DefineKeyWithDefault{#1}{#2}%
- }{%
- \long\expandafter\def\csname KV@#1@#2\endcsname##1%
- }%
+ \begingroup
+ \toks\z@{\endgroup\KVD at DefineKeyWithDefault{#1}{#2}}%
+ \toks\tw@{\endgroup\long\expandafter\def\csname KV@#1@#2\endcsname##1}%
+ \@ifnextchar[{\the\toks\z@}{\the\toks\tw@}%
}
% \end{macrocode}
% \end{macro}
@@ -604,6 +603,9 @@
% \item
% Documentation updates.
% \end{Version}
+% \begin{Version}{2019-12-19 v1.6}
+% \item Fix definition of \cs{KVD at DefineKey} for gh issue embedfile/2
+% \end{Version}
% \end{History}
%
% \PrintIndex
Modified: trunk/Master/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty
===================================================================
--- trunk/Master/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty 2019-12-20 00:54:39 UTC (rev 53192)
+++ trunk/Master/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty 2019-12-20 21:54:04 UTC (rev 53193)
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Project: kvdefinekeys
-%% Version: 2019/12/15 v1.5
+%% Version: 2019-12-19 v1.6
%%
%% Copyright (C)
%% 2010, 2011 Heiko Oberdiek
@@ -106,7 +106,7 @@
\fi
\expandafter\x\csname ver at kvdefinekeys.sty\endcsname
\ProvidesPackage{kvdefinekeys}%
- [2019/12/15 v1.5 Define keys (HO)]%
+ [2019-12-19 v1.6 Define keys (HO)]%
\begingroup\catcode61\catcode48\catcode32=10\relax%
\catcode13=5 % ^^M
\endlinechar=13 %
@@ -179,11 +179,10 @@
\KVD at temp
}
\def\KVD at DefineKey#1#2{%
- \@ifnextchar[\@firstoftwo\@secondoftwo{%
- \KVD at DefineKeyWithDefault{#1}{#2}%
- }{%
- \long\expandafter\def\csname KV@#1@#2\endcsname##1%
- }%
+ \begingroup
+ \toks\z@{\endgroup\KVD at DefineKeyWithDefault{#1}{#2}}%
+ \toks\tw@{\endgroup\long\expandafter\def\csname KV@#1@#2\endcsname##1}%
+ \@ifnextchar[{\the\toks\z@}{\the\toks\tw@}%
}
\long\def\KVD at DefineKeyWithDefault#1#2[#3]{%
\expandafter\def\csname KV@#1@#2 at default\expandafter\endcsname
More information about the tex-live-commits
mailing list