texlive[56357] Master: kvmap (16sep20)

commits+karl at tug.org commits+karl at tug.org
Wed Sep 16 23:34:25 CEST 2020


Revision: 56357
          http://tug.org/svn/texlive?view=revision&revision=56357
Author:   karl
Date:     2020-09-16 23:34:25 +0200 (Wed, 16 Sep 2020)
Log Message:
-----------
kvmap (16sep20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/kvmap/README.md
    trunk/Master/texmf-dist/doc/latex/kvmap/kvmap.pdf
    trunk/Master/texmf-dist/source/latex/kvmap/kvmap.dtx
    trunk/Master/texmf-dist/tex/latex/kvmap/kvmap.sty
    trunk/Master/tlpkg/tlpsrc/kvmap.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/kvmap/DEPENDS.txt

Added: trunk/Master/texmf-dist/doc/latex/kvmap/DEPENDS.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/kvmap/DEPENDS.txt	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/kvmap/DEPENDS.txt	2020-09-16 21:34:25 UTC (rev 56357)
@@ -0,0 +1,4 @@
+expl3
+amsmath
+xparse
+pgf # tikz but the CTAN name as requested in the DEPENDS.txt spec is pgf


Property changes on: trunk/Master/texmf-dist/doc/latex/kvmap/DEPENDS.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/kvmap/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/kvmap/README.md	2020-09-16 21:33:10 UTC (rev 56356)
+++ trunk/Master/texmf-dist/doc/latex/kvmap/README.md	2020-09-16 21:34:25 UTC (rev 56357)
@@ -1,4 +1,4 @@
-# The `kvmap` package
+# The `kvmap` package v0.3.5
 
 This LaTeX package allows the creation of (even large) Karnaugh maps. It
 provides a tabular-like input syntax and support for drawing bundles

Modified: trunk/Master/texmf-dist/doc/latex/kvmap/kvmap.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/kvmap/kvmap.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/kvmap/kvmap.dtx	2020-09-16 21:33:10 UTC (rev 56356)
+++ trunk/Master/texmf-dist/source/latex/kvmap/kvmap.dtx	2020-09-16 21:34:25 UTC (rev 56357)
@@ -64,6 +64,12 @@
 \tcbset{enhanced,sharp corners=all}
 \usemintedstyle{vs}
 
+^^A quick fix for tcolorbox's broken documentation library
+^^A by Skillmon, see https://chat.stackexchange.com/transcript/message/55558127#55558127
+\makeatletter
+\let\tcb at doc@index at doc\relax
+\makeatother
+
 \usepackage{fontspec}
 \usepackage{unicode-math}
 \setmainfont[Numbers={OldStyle}]{Libertinus Serif}
@@ -102,7 +108,7 @@
 %<*pkg>
 %<@@=kvmap>
 \RequirePackage{expl3}
-\ProvidesExplPackage{kvmap}{2020/04/25}{0.3.4}{Drawing karnaugh maps with LaTeX}
+\ProvidesExplPackage{kvmap}{2020/09/16}{0.3.5}{Drawing karnaugh maps with LaTeX}
 %</pkg>
 % \fi
 %
@@ -133,8 +139,8 @@
 %		\section{Introduction}
 %			\pkg{kvmap} aims to provide a \emph{user-friendly} (i.e. less typing) way to
 %			typeset Karnaugh maps including the surrounding gray code and bundles of
-%			cells (implicants). This package relies on \pkg{xparse} (with \pkg{expl3}),
-%			\pkg{tikz} and \pkg{environ}.\par
+%			cells (implicants). This package relies on \pkg{amsmath}, \pkg{xparse} (with
+%			\pkg{expl3}) and \pkg{tikz}.\par
 %			Drawing Karnaugh maps is not that uncommon and there are already packages
 %			available on CTAN that provide means to typeset them:\begin{itemize}
 %				\item \pkg{askmaps} -- This package lets you draw American style Karnaugh
@@ -291,17 +297,18 @@
 % \end{documentation}
 % \begin{implementation}
 %	\clearpage\section{Implementation}
+%	\changes{v0.3.5}{2020/09/16}{Add amsmath dependency to have smash option b available}
 %    \begin{macrocode}
+\RequirePackage{amsmath}
 \RequirePackage{xparse}
 \RequirePackage{tikz}
-\RequirePackage{environ}
 %    \end{macrocode}
-% \begin{macro}[aux]{\seq_set_split:Nno,\seq_set_split:Nnx,\int_mod:VV,\int_div_truncate:VV}
+% \begin{macro}[aux]{\seq_set_split:Nnx,\int_mod:VV,\int_div_truncate:VV}
 %		Define variants for better expansion.
 %    \begin{macrocode}
-\cs_generate_variant:Nn \seq_set_split:Nnn   { Nno, Nnx }
-\cs_generate_variant:Nn \int_mod:nn          { VV       }
-\cs_generate_variant:Nn \int_div_truncate:nn { VV       }
+\cs_generate_variant:Nn \seq_set_split:Nnn   { Nnx }
+\cs_generate_variant:Nn \int_mod:nn          { VV  }
+\cs_generate_variant:Nn \int_div_truncate:nn { VV  }
 
 %    \end{macrocode}
 % \end{macro}
@@ -753,7 +760,7 @@
 %    \end{macrocode}
 %		\end{variable}
 %    \begin{macrocode}
-\NewEnviron { kvmatrix } [ 1 ]
+\NewDocumentEnvironment { kvmatrix } { m +b }
 	{
 %    \end{macrocode}
 %		Split the environments body at |\\| and remove empty lines. Now the height
@@ -760,7 +767,7 @@
 %		of the map is just the count of the sequence. Split the first element at |&|
 %		and use the count of that as width.
 %    \begin{macrocode}
-		\seq_set_split:Nno \l_tmpa_seq { \\ } { \BODY }
+		\seq_set_split:Nnn \l_tmpa_seq { \\ } { #2 }
 		\seq_remove_all:Nn \l_tmpa_seq { }
 		\seq_set_split:Nnx \l_tmpb_seq { & } { \seq_item:Nn \l_tmpa_seq { 1 } }
 		\int_gset:Nn \l_@@_matrix_width_int  { \seq_count:N \l_tmpb_seq }
@@ -790,7 +797,7 @@
 			{ #1                  }
 		\bool_if:NF \l_@@_matrix_isintikz_bool
 			{ \end{tikzpicture}   }
-	}
+	} { }
 
 %    \end{macrocode}
 % \end{environment}
@@ -809,6 +816,6 @@
 % \end{macro}
 % \end{implementation}
 % \clearpage\PrintChanges
-% \clearpage\PrintIndex
+% ^^A\clearpage\PrintIndex
 % \Finale
 % \endinput
\ No newline at end of file

Modified: trunk/Master/texmf-dist/tex/latex/kvmap/kvmap.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/kvmap/kvmap.sty	2020-09-16 21:33:10 UTC (rev 56356)
+++ trunk/Master/texmf-dist/tex/latex/kvmap/kvmap.sty	2020-09-16 21:34:25 UTC (rev 56357)
@@ -15,13 +15,13 @@
 %%    http://www.latex-project.org/lppl.txt
 %% 
 \RequirePackage{expl3}
-\ProvidesExplPackage{kvmap}{2020/04/25}{0.3.4}{Drawing karnaugh maps with LaTeX}
+\ProvidesExplPackage{kvmap}{2020/09/16}{0.3.5}{Drawing karnaugh maps with LaTeX}
+\RequirePackage{amsmath}
 \RequirePackage{xparse}
 \RequirePackage{tikz}
-\RequirePackage{environ}
-\cs_generate_variant:Nn \seq_set_split:Nnn   { Nno, Nnx }
-\cs_generate_variant:Nn \int_mod:nn          { VV       }
-\cs_generate_variant:Nn \int_div_truncate:nn { VV       }
+\cs_generate_variant:Nn \seq_set_split:Nnn   { Nnx }
+\cs_generate_variant:Nn \int_mod:nn          { VV  }
+\cs_generate_variant:Nn \int_div_truncate:nn { VV  }
 
 \cs_new:Npn \__kvmap_graycode_xor_bits:nn #1#2
   {
@@ -269,9 +269,9 @@
 }
 
 \seq_new:N \l__kvmap_tmp_seq
-\NewEnviron { kvmatrix } [ 1 ]
+\NewDocumentEnvironment { kvmatrix } { m +b }
 {
-\seq_set_split:Nno \l_tmpa_seq { \\ } { \BODY }
+\seq_set_split:Nnn \l_tmpa_seq { \\ } { #2 }
 \seq_remove_all:Nn \l_tmpa_seq { }
 \seq_set_split:Nnx \l_tmpb_seq { & } { \seq_item:Nn \l_tmpa_seq { 1 } }
 \int_gset:Nn \l__kvmap_matrix_width_int  { \seq_count:N \l_tmpb_seq }
@@ -293,7 +293,7 @@
 { #1                  }
 \bool_if:NF \l__kvmap_matrix_isintikz_bool
 { \end{tikzpicture}   }
-}
+} { }
 
 \NewDocumentCommand { \kvmapsetup } { m }
 {

Modified: trunk/Master/tlpkg/tlpsrc/kvmap.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/kvmap.tlpsrc	2020-09-16 21:33:10 UTC (rev 56356)
+++ trunk/Master/tlpkg/tlpsrc/kvmap.tlpsrc	2020-09-16 21:34:25 UTC (rev 56357)
@@ -0,0 +1,4 @@
+depend expl3
+depend amsmath
+depend xparse
+depend pgf # tikz but the CTAN name as requested in the DEPENDS.txt spec is pgf



More information about the tex-live-commits mailing list.