diff options
author | Karl Berry <karl@freefriends.org> | 2022-09-07 20:43:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-09-07 20:43:08 +0000 |
commit | acedfa5b268d19e3032eb974830e03f0f352e90d (patch) | |
tree | 73f91597b45fa5b2e39dff61b86a05b2399716b2 /Master/texmf-dist/source | |
parent | b12922cf76ac3be9a9b44057c61b1f463b953fcb (diff) |
menukeys (7sep22)
git-svn-id: svn://tug.org/texlive/trunk@64311 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/menukeys/menukeys.dtx | 64 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/menukeys/menukeys.ins | 6 |
2 files changed, 55 insertions, 15 deletions
diff --git a/Master/texmf-dist/source/latex/menukeys/menukeys.dtx b/Master/texmf-dist/source/latex/menukeys/menukeys.dtx index d7fcb2684c5..aab8d306bf8 100644 --- a/Master/texmf-dist/source/latex/menukeys/menukeys.dtx +++ b/Master/texmf-dist/source/latex/menukeys/menukeys.dtx @@ -9,9 +9,14 @@ %% %% https://www.latex-project.org/lppl.txt %% -%<package>\NeedsTeXFormat{LaTeX2e}[2009/01/01] -%<package>\ProvidesPackage{menukeys} -%<package> [2020/12/19 v1.6.1 -- A package to format menus, paths and shortcuts] +%<pkg>\NeedsTeXFormat{LaTeX2e}[2009/01/01] +%<rbk>\providecommand\DeclareRelease[3]{} +%<rbk>\providecommand\DeclareCurrentRelease[2]{} +%<rbk>\DeclareRelease{v1.6.1}{2020-12-19}{menukeys-2020-12-19.sty} +%<rbk>\DeclareCurrentRelease{v1.6.2}{2022-07-01} +%<pkg>\ProvidesPackage{menukeys} +%<cur> [2022/07/01 v1.6.2 -- A package to format menus, paths and shortcuts] +%<161> [2020/12/19 v1.6.1 -- A package to format menus, paths and shortcuts] % %<*driver> \documentclass{ltxdoc} @@ -34,6 +39,15 @@ urlcolor=darkred, bookmarksopen=true, bookmarksdepth=10, + pdftitle={The menukeys package}, + pdfsubject={% + Format menu sequences, paths and keystrokes from lists.% + }, + pdfauthor={% + Tobias Weh (mail@tobiw.de), Jonathan P. Spratte + (jspratte@yahoo.de)% + }, + pdfkeywords={The menukeys package, LaTeX} }{hyperref} \PassOptionsToPackage{hyphens}{url} \usepackage{hypdoc} @@ -211,7 +225,7 @@ % \changes{v1.2}{2013/07/23}{Added \cs{SPACE} and \cs{spacename}} % \changes{v1.2}{2013/07/23}{Added \cs{normalsize} before symbol definitions to make % the \texttt{ex} unit available} -% \changes{v1.2a}{2013/09/10}{Replaced obsolete \cs{tikzsytle}} +% \changes{v1.2a}{2013/09/10}{Replaced obsolete \cs{tikzstyle}} % \changes{v1.2a}{2013/09/10}{Added braces to the \cs{tikz} macro since the parser % seems to crash with \pkg{babel}'s french option otherwise.} % \changes{v1.3}{2014/03/10}{Improved key symbols.} @@ -230,7 +244,7 @@ % \DoNotIndex{\@tempboxa,\@tempcnta,\@tempdima,\@tempdimb} % \DoNotIndex{\@tempswafalse,\@tempswatrue,\@viipt,\@viiipt,\@vipt} % \DoNotIndex{\@vpt,\@warning,\@xiipt,\@xipt,\@xivpt,\@xpt,\@xviipt} -% \DoNotIndex{\@xxpt,\@xxvpt,\\,\,\addpenalty,\addtolength,\addvspace} +% \DoNotIndex{\@xxpt,\@xxvpt,\\,\,,\addpenalty,\addtolength,\addvspace} % \DoNotIndex{\advance,\ast,\begin,\begingroup,\bfseries,\bgroup,\box} % \DoNotIndex{\bullet} % \DoNotIndex{\cdot,\cite,\CodelineIndex,\cr,\day,\DeclareOption} @@ -520,11 +534,11 @@ % \item [sep] is the code executed between the lists elements, e.g. some % space or a symbol. % \item [mid] is the style for all elements between the first and the -% last one. It has to be a \TikZ sytle. +% last one. It has to be a \TikZ style. % \item [last] is the style for the last list element. -% It has to be a \TikZ sytle. +% It has to be a \TikZ style. % \item [single] this style is used if the list contains only one element. -% It has to be a \TikZ sytle. +% It has to be a \TikZ style. % \item [post] is the code which is executed after a menu macro. % \item [theme] is a color theme (see section~\ref{colors}). % \end{description} @@ -760,9 +774,12 @@ % If you find something to add to this list please send me an e-mail or report a % bug on GitHub (\url{https://github.com/tweh/menukeys}). % -% \StopEventually{\clearpage\PrintChanges\PrintIndex} +% \StopEventually{\clearpage\PrintChanges\clearpage\PrintIndex} % % \section{Implementation} +% \begin{macrocode} +%<*pkg> +% \end{macrocode} % \subsection{Required packages} % \changes{v1.6}{2020/10/27}{Don't load \pkg{catoptions}} % Load the required packages @@ -1107,12 +1124,12 @@ } % \end{macrocode} % \end{macro} -% \begin{macro}{\tw@declare@sytle}\begin{macro}{\tw@declare@sytle@extra@args} +% \begin{macro}{\tw@declare@style}\begin{macro}{\tw@declare@style@extra@args} % The next step is to create the extended command. This command must have % ten arguments (including the star) so we have to define a helping macro % to grab the last two macros. % \begin{macrocode} -\DeclareDocumentCommand{\tw@declare@sytle@extra@args}{% +\DeclareDocumentCommand{\tw@declare@style@extra@args}{% O{\tw@default@post} m }{% \csdef{tw@style@\tw@current@style @post}{#1}% @@ -1146,7 +1163,7 @@ \tikz[baseline=(tw@node.base)]{% \node(tw@node)[#7]{\strut\CurrentMenuElement};}}% }% - \tw@declare@sytle@extra@args% + \tw@declare@style@extra@args% } % \end{macrocode} % \end{macro}\end{macro} @@ -1430,7 +1447,15 @@ \hspace{0.2ex}\hspace{0.1em plus 0.1em minus 0.05em}% \textcolor{\usemenucolor{b}}{\raisebox{0.25ex}{\sffamily\relsize{-2}+}}% \hspace{0.1em plus 0.1em minus 0.05em}% -][\hspace{0.2ex}]{gray} +% \end{macrocode} +% \changes{v1.6.2}{2022/07/01}{changed \cs{hspace} to \cs{kern}} +% \begin{macrocode} +%</pkg> +%<cur>][\kern0.2ex\relax]{gray} +%<161>][\hspace{0.2ex}]{gray} +%<*pkg> +% \end{macrocode} +% \begin{macrocode} \tikzset{tw@angularkeys@base/.style={% tw@set@tikz@colors, @@ -1472,7 +1497,15 @@ \hspace{0.2ex}\hspace{0.1em plus 0.1em minus 0.05em}% \textcolor{\usemenucolor{b}}{\raisebox{0.25ex}{\sffamily\relsize{-2}+}}% \hspace{0.1em plus 0.1em minus 0.05em}% -][\hspace{0.2ex}]{gray} +% \end{macrocode} +% \changes{v1.6.2}{2022/07/01}{changed \cs{hspace} to \cs{kern}} +% \begin{macrocode} +%</pkg> +%<cur>][\kern0.2ex\relax]{gray} +%<161>][\hspace{0.2ex}]{gray} +%<*pkg> +% \end{macrocode} +% \begin{macrocode} \tikzset{tw@typewriterkeys@base/.style={% tw@set@tikz@colors, @@ -2110,6 +2143,9 @@ \fi % \end{macrocode} % +% \begin{macrocode} +%</pkg> +% \end{macrocode} % % \Finale \endinput diff --git a/Master/texmf-dist/source/latex/menukeys/menukeys.ins b/Master/texmf-dist/source/latex/menukeys/menukeys.ins index 8999ea72759..709f5f3bfb8 100644 --- a/Master/texmf-dist/source/latex/menukeys/menukeys.ins +++ b/Master/texmf-dist/source/latex/menukeys/menukeys.ins @@ -36,7 +36,11 @@ LaTeX version 1999/12/01 or later. \endpreamble \askforoverwritefalse -\generate{\file{menukeys.sty}{\from{menukeys.dtx}{package}}} +\generate + {% + \file{menukeys.sty}{\from{menukeys.dtx}{pkg,cur,rbk}}% + \file{menukeys-2020-12-19.sty}{\from{menukeys.dtx}{pkg,161}}% + } \obeyspaces \Msg{****************************************************} |