texlive[65446] Master/texmf-dist: keyfloat (3jan23)

commits+karl at tug.org commits+karl at tug.org
Tue Jan 3 21:46:52 CET 2023


Revision: 65446
          http://tug.org/svn/texlive?view=revision&revision=65446
Author:   karl
Date:     2023-01-03 21:46:52 +0100 (Tue, 03 Jan 2023)
Log Message:
-----------
keyfloat (3jan23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/keyfloat/README.txt
    trunk/Master/texmf-dist/doc/latex/keyfloat/keyfloat.pdf
    trunk/Master/texmf-dist/source/latex/keyfloat/keyfloat.dtx
    trunk/Master/texmf-dist/tex/latex/keyfloat/keyfloat.sty

Modified: trunk/Master/texmf-dist/doc/latex/keyfloat/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/keyfloat/README.txt	2023-01-03 20:46:33 UTC (rev 65445)
+++ trunk/Master/texmf-dist/doc/latex/keyfloat/README.txt	2023-01-03 20:46:52 UTC (rev 65446)
@@ -1,8 +1,8 @@
 The LaTeX keyfloat package
 Provides a key/value interface for generating floats.
 
-v2.07
-Copyright 2016-2022 Brian Dunn — www.BDTechConcepts.com
+v2.08
+Copyright 2016-2023 Brian Dunn — www.BDTechConcepts.com
 
 LaTeX Project Public License, version 1.3
 

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

Modified: trunk/Master/texmf-dist/source/latex/keyfloat/keyfloat.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/keyfloat/keyfloat.dtx	2023-01-03 20:46:33 UTC (rev 65445)
+++ trunk/Master/texmf-dist/source/latex/keyfloat/keyfloat.dtx	2023-01-03 20:46:52 UTC (rev 65446)
@@ -1,7 +1,7 @@
 %
 % \iffalse meta-comment
 %
-% Copyright 2016--2022 Brian Dunn
+% Copyright 2016--2023 Brian Dunn
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either version 1.3
@@ -17,7 +17,7 @@
 % \iffalse
 %<package>\NeedsTeXFormat{LaTeX2e}
 %<package>\ProvidesPackage{keyfloat}
-%<package>    [2022/01/10 v2.07 Key/value interface for floats and subfloats.]
+%<package>    [2023/01/03 v2.08 Key/value interface for floats and subfloats.]
 %
 %<*driver>
 \documentclass{ltxdoc}
@@ -108,22 +108,6 @@
 \usepackage{caption}
 \usepackage{newfloat}
 
-\DeclareFloatingEnvironment[
-fileext=lox,
-listname={List of Examples},
-name=Example,
-placement=hbp
-]{example}
-
-\captionsetup*[example]{
-format=hang,
-font=bf,
-justification=raggedright,
-singlelinecheck=false,
-skip=0pt,
-position=top,
-}
-
 \captionsetup{labelfont={small,bf},textfont={small,bf}}
 
 \captionsetup*[figure]{
@@ -152,12 +136,6 @@
     position=top
 }
 
-\captionsetup*[example]{
-	format=plain, justification=justified,
-	margin=0pt, parskip=0pt, skip=0ex,
-	labelfont={bf},textfont={bf}
-}
-
 \captionsetup*[wrapfigure]{
 	style=default, justification=centering,
 	margin=0pt, parskip=0pt, skip=2ex,
@@ -225,7 +203,7 @@
 
 
 % Indexing, logos, \Describexxxx, etc:
-\usepackage{dtxdescribe}[2021/09/02]
+\usepackage{dtxdescribe}[2023/01/03]
 
 
 
@@ -282,11 +260,12 @@
 \usepackage{\mypackagename}
 
 
-\usepackage[pdftex,bookmarks=true,hidelinks,%
-colorlinks,linkcolor=mylinkcolor,urlcolor=myurlcolor,%
-pageanchor=true,hyperindex=true,
-]{hyperref}
+%\usepackage[pdftex,bookmarks=true,hidelinks,%
+%colorlinks,linkcolor=mylinkcolor,urlcolor=myurlcolor,%
+%pageanchor=true,hyperindex=true,
+%]{hyperref}
 
+\AtBeginDocument{
 \hypersetup{%
 pdfinfo={%
 Title={The LaTeX \mypackagename\ package},%
@@ -293,6 +272,10 @@
 Author={Brian Dunn},%
 Subject={A key/value interface for LaTeX floats.},%
 Keywords={LaTeX, floats, key/val, subcaption, rows}%
+colorlinks,%
+linkcolor=mylinkcolor,%
+urlcolor=myurlcolor,%
+pageanchor=true,
 }}
 
 \pdfstringdefDisableCommands{
@@ -312,9 +295,12 @@
 \def\element#1{#1}
 \def\attribute#1{#1}
 }
+}% AtBeginDocument
 
+\AddToHook{begindocument/before}{% Before .aux file is loaded.
+  \usepackage{cleveref}%                  If needed.
+}
 
-\usepackage{cleveref}
 
 
 
@@ -339,23 +325,6 @@
 %<*package>
 % \fi
 %
-% \CheckSum{1400}
-%
-% \CharacterTable
-% {Upper-case     \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
-%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
-%   Digits        \0\1\2\3\4\5\6\7\8\9
-%   Exclamation   \!     Double quote \"      Hash (number) \#
-%   Dollar        \$     Percent       \%     Ampersand     \&
-%   Acute accent \'      Left paren    \(     Right paren   \)
-%   Asterisk      \*     Plus          \+     Comma         \,
-%   Minus         \-     Point         \.     Solidus       \/
-%   Colon         \:     Semicolon     \;     Less than     \<
-%   Equals        \=     Greater than \>      Question mark \?
-%   Commercial at \@     Left bracket \[      Backslash     \\
-%   Right bracket \]     Circumflex    \^     Underscore    \_
-%   Grave accent \`      Left brace    \{     Vertical bar \|
-%   Right brace   \}     Tilde         \~}
 
 % \changes{v0.10}{2016/12/01}{\ 2016/12/01 Initial ver.}
 % \changes{v0.11}{2016/12/02}{\ 2016/12/02}
@@ -382,9 +351,10 @@
 % \changes{v2.06}{2021/06/29}{2021/06/29}
 % \changes{v2.07}{2021/08/30}{Docs: Show macro and environment nesting.}
 % \changes{v2.07}{2022/01/10}{2022/01/10}
+% \changes{v2.08}{2023/01/03}{Docs updated for \pkg{dtxdescribe}.}
+% \changes{v2.08}{2023/01/03}{2023/01/03}
 
 
-
 % \GetFileInfo{\mypackagename.sty}
 %
 % \DoNotIndex{\newcommand,\renewcommand,\addtocounter,\begin,\end,\begingroup,\endgroup}
@@ -405,7 +375,7 @@
 %
 % \bigskip
 %
-% {\small\textcopyright{} 2016--2022} Brian Dunn\\ \small \texttt{bd at BDTechConcepts.com}
+% {\small\textcopyright{} 2016--2023} Brian Dunn\\ \small \texttt{bd at BDTechConcepts.com}
 %
 % \vspace{.5in}
 %
@@ -431,8 +401,8 @@
 % \noindent
 % The \pkg{keyfloat} package provides a key/value user interface for quickly
 % creating figures with a single image each, figures with arbitrary contents,
-% tables, subfloats, rows of floats, floats located [H]ere,
-% floats in the [M]argin, and floats with text [W]rapped around them.
+% tables, subfloats, rows of floats, floats located |[H|]ere,
+% floats in the |[M]|argin, and floats with text |[W]|rapped around them.
 %
 % Key/value combinations may specify a caption and label, a width proportional
 % to \cs{linewidth}, a fixed width and/or height, rotation, scaling, a
@@ -490,7 +460,7 @@
 % \clearpage
 %
 % \tableofcontents
-% \listofexamples
+% \listofdtxexamplefloats
 % \listoffigures
 % \listoftables
 %
@@ -1175,7 +1145,7 @@
 %
 % \Cref{fig:linewidth} is half of \cs{linewidth} in size.
 % \margintag{\cs{linewidth}}
-% \gindex{image>\cs{linewidth}}\gindex{\cs{linewidth}}
+% \gindex{image>linewidth=\cs{linewidth}}\gindex{linewidth=\cs{linewidth}}
 % \gindex{subfloat>\cs{linewidth}}\gindex{keyfloats>\cs{linewidth}}
 % When the |lw| key is used inside a \env{keyfloats} or \env{keysubfigs} environment,
 % the \cs{linewidth} will be proportional to the sub-box for each element.
@@ -1224,7 +1194,7 @@
 % Unless a width is given, a box is the full \cs{linewidth}.
 % \margintag{rotated whitespace}
 % When rotated, this extra horizontal space is rotated into extra vertical space.
-% \gindex{rotate>box width and vertical space}\gindex{\cs{linewidth}>with rotation}
+% \gindex{rotate>box width and vertical space}\gindex{linewidth=\cs{linewidth}>with rotation}
 % \trouble{rotate>extra space}
 % To avoid this extra space, set a |w| or |lw| to be wide enough
 % \watchout[box width]
@@ -1373,7 +1343,7 @@
 % Note that \cs{linewidth} is adjusted for each row and nested row,
 % \watchout[\cs{linewidth}]
 % so the |lw| key may need to be changed if a float is moved to a different nesting level.
-% \trouble{\cs{linewidth}}\gindex{\cs{linewidth}>subfloats}
+% \trouble{linewidth=\cs{linewidth}}\gindex{linewidth=\cs{linewidth}>subfloats}
 % \gindex{subfloat>\cs{linewidth}}
 %
 % Fixed-width or fixed-height floats may be too large to fit
@@ -1608,9 +1578,20 @@
 %
 %
 % \clearpage
+%
 % \subsubsection{Wrapped floats}
 % \changes{v0.12}{2016/12/03}{Docs: Wrapped float examples.}
 %
+% Note: If you see the warning:
+% \watchout[\pkg{wrapfig} warning]\gindex{wrapfig=\pkg{wrapfig} collision warning}
+% \begin{center}
+% |Package wrapfig Warning: Collision between wrapping environments|
+% \end{center}
+% then \pkg{wrapfig} was not able to wrap the paragraph correctly.
+% Try adding \cs{clearpage} or \cs{newpage} before the wrapped object,
+% or see the \pkg{needspace} package to automatically insert
+% a \cs{newpage} if necessary.
+%
 % \begin{dtxexample}[\Cref{fig:keyfigw,tab:keytabw}]
 %	{Using \cs{keyfig}\optn{[W]} and \cs{keytab}\optn{[W]}\label{ex:keyfigw}}
 % \keyfig[W]{c={A \cs{keyfig}\optn{[W]}},
@@ -1626,16 +1607,21 @@
 %
 % \begin{dtxexample}[\Cref{fig:keyfigboxw} and the \cs{keyparbox}.]
 %	{Using \cs{keyfigbox}\optn{[W]} and \cs{keyparbox}\optn{[W]}\label{ex:keyfigboxw}}
-% \keyfigbox[W]{c={A \cs{keyfigbox}\optn{[W]}},
+% \keyfigbox[W]{
+%   c={A \cs{keyfigbox}\optn{[W]}},
 % 	l=fig:keyfigboxw,f,lw=.25,wp=I, wn=7,
 % 	t=Text text text text text text text text text
 % }{The contents.}
 % \blindtext
 
-% \keyparbox[W]{w=1in}{A \cs{keyparbox}[W] and some more text.}
+% \keyparbox[W]{w=1in}{
+%   A \cs{keyparbox}[W] and some text.
+%   No caption or numbering.
+% }
 % \blindtext
 % \end{dtxexample}
 %
+% \clearpage
 %
 % \begin{dtxexample}[\Cref{fig:keyfigurew,tab:keytablew}]
 %	{Using \cs{keyfigure}\optn{[W]} and \cs{keytable}\optn{[W]}\label{ex:keyfiguretablew}}

Modified: trunk/Master/texmf-dist/tex/latex/keyfloat/keyfloat.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/keyfloat/keyfloat.sty	2023-01-03 20:46:33 UTC (rev 65445)
+++ trunk/Master/texmf-dist/tex/latex/keyfloat/keyfloat.sty	2023-01-03 20:46:52 UTC (rev 65446)
@@ -18,7 +18,7 @@
 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{keyfloat}
-    [2022/01/10 v2.07 Key/value interface for floats and subfloats.]
+    [2023/01/03 v2.08 Key/value interface for floats and subfloats.]
 
 
 



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