From 7e858432b363bfd725a253e408a5363af514ba64 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 28 Feb 2012 23:46:19 +0000 Subject: menukeys 1.1 (27feb12) git-svn-id: svn://tug.org/texlive/trunk@25533 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/source/latex/menukeys/menukeys.dtx | 39 +++++++++++++++++----- 1 file changed, 31 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/source/latex/menukeys') diff --git a/Master/texmf-dist/source/latex/menukeys/menukeys.dtx b/Master/texmf-dist/source/latex/menukeys/menukeys.dtx index 12889fe7584..cc6fddeaff0 100644 --- a/Master/texmf-dist/source/latex/menukeys/menukeys.dtx +++ b/Master/texmf-dist/source/latex/menukeys/menukeys.dtx @@ -18,7 +18,7 @@ % \iffalse %\NeedsTeXFormat{LaTeX2e}[2009/01/01] %\ProvidesPackage{menukeys} -% [2012/02/23 v1.0 a package to format menus paths and shortcuts] +% [2012/02/27 v1.1 a package to format menus paths and shortcuts] % %<*driver> \documentclass{ltxdoc} @@ -116,6 +116,10 @@ usage}\@esphack} \makeatother +\addto\captionsenglish{% + \def\indexname{Macro index} + \def\glossaryname{Change history} +} \IndexPrologue{ \section{Macro index} Numbers written in bold face refer to the page where the corresponding entry is described; @@ -193,6 +197,7 @@ % Right brace \} Tilde \~} % % \changes{v1.0}{2012/02/23}{Initial version} +% \changes{v1.1}{2012/02/26}{Improved manual} % % \GetFileInfo{menukeys.sty} % @@ -296,7 +301,7 @@ % to view the rulers is \keys{cmd + R}. Pressing these keys again % will hide the rulers. % -% The standard path for saving your document is \path{Macintosh HD/Users/ +% The standard path for saving your document is \directory{Macintosh HD/Users/ % Your Name/Documents} but you can change it at \menu{Extras > Settings % > Saving} by clicking \menu{Change save path}. % \end{verbatim} @@ -308,7 +313,7 @@ % to view the rulers is \keys{cmd + R}. Pressing these keys again % will hide the rulers. % -% The standard path for saving your document is \path{Macintosh HD/Users/ +% The standard path for saving your document is \directory{Macintosh HD/Users/ % Your Name/Documents} but you can change it at \menu{Extras > Settings % > Saving} by clicking \menu{Change save path}. % @@ -361,7 +366,7 @@ % \subsection{Basics}\label{basics} % \menukeys comes with three ``menu macros'' that parse and print lists. We have % \DM{\menu}|\menu|\marg{menu sequence}, with |>| as default input list separator, -% \DM{\path}|\path|\marg{path and files} with |/| as default separator and +% \DM{\directory}|\directory|\marg{path and files} with |/| as default separator and % \DM{\keys}|\keys|\marg{keystrokes} with |+| as default separator. You've seen % examples for all of them in section~\ref{intro}. % @@ -654,10 +659,26 @@ % I apologise that there are no commands for the windows key % and the apple logo, but that would be a copyright infringement. % -% \subsection{Know issues and bugs} +% \section{Known issues and bugs} % \begin{itemize} % \item If you use the \pkg{inputenc} package \menukeys must be % loaded after it. Otherwise some key macros get corrupted. +% \item \changes{v1.1}{2012/02/26}{Load \pkg{xcolor} before \menukeys.} +% \menukeys must be loaded after \pkg{xcolor}, if you load +% the latter with options. Otherwise you'll get an option clash +% Since \menukeys loads \pkg{xcolor} internally you may pass +% options as global options via |\documentclass|. +% \example Set \pkg{xcolor} to |cmyk| model: +% \begin{verbatim} +% \documentclass[cmyk]{article} +% \usepackage{menukeys} +% \begin{document} +% Hello World! +% \end{document} +% \end{verbatim} +% \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. % \end{itemize} % If you find something to add to this list please send me an e-mail. % @@ -1292,7 +1313,7 @@ \setcounter{tw@hyphen@char@num}{255}% }{% \if@tw@hyphenatepaths@warnig% - \tw@mk@warning{The hypenatepaths styles will probably only\MessageBreak + \tw@mk@warning{The hyphenatepaths styles will probably only\MessageBreak work with T1 or OT1 encoding.}% \fi\global\@tw@hyphenatepaths@warnigfalse% }% @@ -1446,11 +1467,13 @@ % \begin{macrocode} \iftw@mk@definemenumacros % \end{macrocode} -% \begin{macro}{\menu}\begin{macro}{\path}\begin{macro}{\keys} +% \begin{macro}{\menu}\begin{macro}{\directory}% +% \changes{v1.1}{2012/02/27}{Renamed \cmd{\path} to \cmd{\directory} becuase it crashes with \pkg{biblatex}} +% \begin{macro}{\keys} % And then we define three basic macros. % \begin{macrocode} \newmenumacro{\menu}[>]{menus} -\newmenumacro{\path}[/]{paths} +\newmenumacro{\directory}[/]{paths} \newmenumacro{\keys}[+]{roundedkeys} % \end{macrocode} % \end{macro}\end{macro}\end{macro} -- cgit v1.2.3