summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/menukeys/README43
-rw-r--r--Master/texmf-dist/doc/latex/menukeys/menukeys.pdfbin508798 -> 508437 bytes
-rw-r--r--Master/texmf-dist/source/latex/menukeys/menukeys.dtx50
-rw-r--r--Master/texmf-dist/source/latex/menukeys/menukeys.ins2
-rw-r--r--Master/texmf-dist/tex/latex/menukeys/menukeys.sty21
5 files changed, 50 insertions, 66 deletions
diff --git a/Master/texmf-dist/doc/latex/menukeys/README b/Master/texmf-dist/doc/latex/menukeys/README
index f57885b1a58..b8e8d53b725 100644
--- a/Master/texmf-dist/doc/latex/menukeys/README
+++ b/Master/texmf-dist/doc/latex/menukeys/README
@@ -1,12 +1,19 @@
-LaTeX class: menukey v1.1b
--------------------------------------------------
-Tobias Weh (www.tobias-weh.de)
-2012/04/11
-This package is design to format menu sequences,
-paths and keyboard shortcuts automatically.
-There are servals predefined styles and one
-can define his own styles
+
+ M E N U K E Y S
+
+
+ Tobias Weh
+ www.tobias-weh.de
+ github.com/tweh/menukeys
+
+
+
+This package is designed to format menu sequences,
+paths and keyboard shortcuts automatically. There
+are serval predefined styles and one can define
+his own styles in a flexible way.
+
License:
This material is subject to the LaTeX Project
@@ -14,24 +21,28 @@ Public License. See http://www.ctan.org/tex-
archive/help/Catalogue/licenses.lppl.html for
the details of that license.
+
Files:
* README - this file
* menukeys.dtx - source file
* menukeys.ins - install file
* menukeys.pdf - documentation
-Istall:
-Use your TeX update manager oder do it manually:
-Navigate to the folder that contains menukeys.ins
-and call
+
+Installation:
+It’s recommended to use your package manager to
+installe the current version from CTAN. To install
+this package manually download alls files and then
+navigate to the folder that contains menukeys.ins.
+Run
latex menukeys.ins
-That gives you the file menukeys.sty which should
-be moved somewhere TeX can find it (e.g.
-$TEXMFHOME/tex/latex/musuos/musuos.cls)
+to get the file menukeys.sty which should be moved
+somewhere TeX can find it (e.g. $TEXMFHOME/tex/
+latex/menukeys/menukeys.sty)
-To typeset the manual call
+To typeset the manual run
pdflatex menukeys.dtx
makeindex -s gglo.ist -o menukeys.gls menukeys.glo
diff --git a/Master/texmf-dist/doc/latex/menukeys/menukeys.pdf b/Master/texmf-dist/doc/latex/menukeys/menukeys.pdf
index 75d902b7f80..20db0133bbd 100644
--- a/Master/texmf-dist/doc/latex/menukeys/menukeys.pdf
+++ b/Master/texmf-dist/doc/latex/menukeys/menukeys.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/menukeys/menukeys.dtx b/Master/texmf-dist/source/latex/menukeys/menukeys.dtx
index 7e6042c00dd..77f1cff5701 100644
--- a/Master/texmf-dist/source/latex/menukeys/menukeys.dtx
+++ b/Master/texmf-dist/source/latex/menukeys/menukeys.dtx
@@ -18,7 +18,7 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[2009/01/01]
%<package>\ProvidesPackage{menukeys}
-%<package> [2012/04/11 v1.1b a package to format menus paths and shortcuts]
+%<package> [2013/05/28 v1.1a a package to format menus paths and shortcuts]
%
%<*driver>
\documentclass{ltxdoc}
@@ -178,7 +178,7 @@
%</driver>
% \fi
%
-% \CheckSum{890}
+% \CheckSum{880}
%
% \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
@@ -676,14 +676,9 @@
% Hello World!
% \end{document}
% \end{verbatim}
-% \item \changes{v1.1b}{2012/04/11}{Loade \pkg{biblatex} before \menukeys}
-% Since \menukeys uses \pkg{catoptions} it may causes some problems
-% with other packages, e.g. \pkg{biblatex}, because of \pkg{catoptions}' option handling.
+% \item Since \menukeys uses \pkg{catoptions} it may causes some problems
+% with orther packages becaus of \pkg{catoptions} option handling.
% I recommend to load \menukeys as a later package in your preamble.
-% \item Because \TikZ has some problems with \pkg{babels}'s active characters
-% in |french|, \menukeys tries to fix this by calling |\NoAutoSpacing|
-% if you use |french|. This is a quick work-around so please contact me
-% in case any of problems.
% \end{itemize}
% If you find something to add to this list please send me an e-mail.
%
@@ -1381,26 +1376,9 @@
\def\CurrentMenuElement{}
% \end{macrocode}
% \end{macro}
-% \begin{macro}{\tw@babel@french@fix}
-% \changes{v1.1a}{2012/04/05}{Defining \cs{tw@babel@french@fix} to keep \TikZ working
-% if the document is in \pkg{babel}'s french.}
-% Because \TikZ crashes when \pkg{babel} is loaded with the |french|
-% option we provide a work-around.
-% \begin{macrocode}
-\newcommand\tw@babel@french@fix{}
-\AtBeginDocument{%
- \@ifpackageloaded{babel}{%
- \providecommand{\NoAutoSpacing}{}%
- \let\tw@babel@french@fix\NoAutoSpacing%
- }{}%
-}
-% \end{macrocode}
-% \end{macro}
% \begin{macro}{\tw@define@menu@macro}
-% \changes{v1.1a}{2012/04/05}{Added \cs{tw@babel@french@fix}}
-% \changes{v1.1b}{2012/04/06}{Replaced \cs{edef} by \cs{def} to
-% pevent expansion problems}
-% Now we set up the internal command to create new menu macros.
+% \changes{v1.1a}{2013/05/28}{Fixed minor bug, that causes a warning about robustifying (issu \#23), by deleting the line to make the command robust.}
+% Then we set up the internal command to create new menu macros.
% The list parsing code was essentially provided by Ahmed Musa at
% \url{http://tex.stackexchange.com/a/44989/4918}. Thank you very much!
% \begin{macrocode}
@@ -1421,18 +1399,18 @@
\csdef{tw@parse@menu@list@\expandafter\@gobble\string#1}##1{%
\iflastindris
\ifnum\indrisnr=\@ne
- \def\CurrentMenuElement{##1}%
+ \edef\CurrentMenuElement{##1}%
\@nameuse{tw@style@#3@single}%
\else
- \def\CurrentMenuElement{##1}%
+ \edef\CurrentMenuElement{##1}%
\@nameuse{tw@style@#3@sep}\@nameuse{tw@style@#3@last}%
\fi
\else
\ifnum\indrisnr=\@ne
- \def\CurrentMenuElement{##1}%
+ \edef\CurrentMenuElement{##1}%
\@nameuse{tw@style@#3@first}%
\else
- \def\CurrentMenuElement{##1}%
+ \edef\CurrentMenuElement{##1}%
\@nameuse{tw@style@#3@sep}\@nameuse{tw@style@#3@mid}%
\fi
\fi
@@ -1445,24 +1423,26 @@
}{%
\edef\tw@menu@list{\unexpanded{##2}}\edef\tw@mk@tempa{\cpttrimspaces{##1}}%
}%
- {\tw@babel@french@fix\letcs{\tw@mk@tempb}{tw@parse@menu@list@\expandafter\@gobble\string#1}%
+ {\letcs{\tw@mk@tempb}{tw@parse@menu@list@\expandafter\@gobble\string#1}%
\cptexpanded{\indrisloop*[\tw@mk@tempa]}\tw@menu@list\tw@mk@tempb}%
\@nameuse{tw@style@#3@post}}%
}%
- \expandafter\cptrobustify\csname\expandafter\@gobble\string#1\endcsname
}%
}
\edef\cpt@parserlist{\cpt@parserlist\@backslashchar}
% \end{macrocode}
% \end{macro}
% \subsubsection{User-level commands}
-% \begin{macro}{\newmenumacro}\begin{macro}{\renewmenumacro}
+% \begin{macro}{\newmenumacro}
+% \changes{v1.1a}{2013/05/28}{Added a line to make a new macro robust.}
+% \begin{macro}{\renewmenumacro}
% \begin{macro}{\providemenumacro}
% Now it's time to build the user-level commands
% \begin{macrocode}
\NewDocumentCommand{\newmenumacro}{m O{\tw@default@input@sep} m}{%
\ifcsundef{\expandafter\@gobble\string#1}{%
\tw@define@menu@macro{#1}[#2]{#3}%
+ \expandafter\cptrobustify\csname\expandafter\@gobble\string#1\endcsname
}{
\tw@mk@error{Menu macro '\string#1' already defined!\MessageBreak
Use \string\renewmenustyle\space instead.}
diff --git a/Master/texmf-dist/source/latex/menukeys/menukeys.ins b/Master/texmf-dist/source/latex/menukeys/menukeys.ins
index 095ab47f388..0f2b5e6207d 100644
--- a/Master/texmf-dist/source/latex/menukeys/menukeys.ins
+++ b/Master/texmf-dist/source/latex/menukeys/menukeys.ins
@@ -49,7 +49,7 @@ LaTeX version 1999/12/01 or later.
\Msg{* menukeys.sty *}
\Msg{* *}
\Msg{* To produce the documentation run the file *}
-\Msg{* menukeys.dtx through LaTeX. *}
+\Msg{* menukeys.dtx through PDFLaTeX. *}
\Msg{* *}
\Msg{* Happy TeXing! *}
\Msg{* *}
diff --git a/Master/texmf-dist/tex/latex/menukeys/menukeys.sty b/Master/texmf-dist/tex/latex/menukeys/menukeys.sty
index dd84a93d2c1..af3cc9bb5f1 100644
--- a/Master/texmf-dist/tex/latex/menukeys/menukeys.sty
+++ b/Master/texmf-dist/tex/latex/menukeys/menukeys.sty
@@ -23,7 +23,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2009/01/01]
\ProvidesPackage{menukeys}
- [2012/04/11 v1.1b a package to format menus paths and shortcuts]
+ [2013/05/28 v1.1a a package to format menus paths and shortcuts]
\RequirePackage{xparse}
\RequirePackage{xstring}
\RequirePackage{etoolbox}
@@ -562,13 +562,6 @@
}
\edef\tw@default@input@sep{,}
\def\CurrentMenuElement{}
-\newcommand\tw@babel@french@fix{}
-\AtBeginDocument{%
- \@ifpackageloaded{babel}{%
- \providecommand{\NoAutoSpacing}{}%
- \let\tw@babel@french@fix\NoAutoSpacing%
- }{}%
-}
\begingroup
\lccode`\,=1
\lowercase{\endgroup
@@ -586,18 +579,18 @@
\csdef{tw@parse@menu@list@\expandafter\@gobble\string#1}##1{%
\iflastindris
\ifnum\indrisnr=\@ne
- \def\CurrentMenuElement{##1}%
+ \edef\CurrentMenuElement{##1}%
\@nameuse{tw@style@#3@single}%
\else
- \def\CurrentMenuElement{##1}%
+ \edef\CurrentMenuElement{##1}%
\@nameuse{tw@style@#3@sep}\@nameuse{tw@style@#3@last}%
\fi
\else
\ifnum\indrisnr=\@ne
- \def\CurrentMenuElement{##1}%
+ \edef\CurrentMenuElement{##1}%
\@nameuse{tw@style@#3@first}%
\else
- \def\CurrentMenuElement{##1}%
+ \edef\CurrentMenuElement{##1}%
\@nameuse{tw@style@#3@sep}\@nameuse{tw@style@#3@mid}%
\fi
\fi
@@ -610,17 +603,17 @@
}{%
\edef\tw@menu@list{\unexpanded{##2}}\edef\tw@mk@tempa{\cpttrimspaces{##1}}%
}%
- {\tw@babel@french@fix\letcs{\tw@mk@tempb}{tw@parse@menu@list@\expandafter\@gobble\string#1}%
+ {\letcs{\tw@mk@tempb}{tw@parse@menu@list@\expandafter\@gobble\string#1}%
\cptexpanded{\indrisloop*[\tw@mk@tempa]}\tw@menu@list\tw@mk@tempb}%
\@nameuse{tw@style@#3@post}}%
}%
- \expandafter\cptrobustify\csname\expandafter\@gobble\string#1\endcsname
}%
}
\edef\cpt@parserlist{\cpt@parserlist\@backslashchar}
\NewDocumentCommand{\newmenumacro}{m O{\tw@default@input@sep} m}{%
\ifcsundef{\expandafter\@gobble\string#1}{%
\tw@define@menu@macro{#1}[#2]{#3}%
+ \expandafter\cptrobustify\csname\expandafter\@gobble\string#1\endcsname
}{
\tw@mk@error{Menu macro '\string#1' already defined!\MessageBreak
Use \string\renewmenustyle\space instead.}