diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/menukeys/menukeys.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/menukeys/menukeys.sty | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/menukeys/menukeys.sty b/Master/texmf-dist/tex/latex/menukeys/menukeys.sty index 3ff8a03bf00..732d1409961 100644 --- a/Master/texmf-dist/tex/latex/menukeys/menukeys.sty +++ b/Master/texmf-dist/tex/latex/menukeys/menukeys.sty @@ -8,12 +8,12 @@ %% %% This is a generated file. %% -%% Copyright (C) 2013 by Tobias Weh -%% www.tobias-weh.de +%% Copyright (C) 2016 by Tobias Weh +%% www.tobiw.de/en %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either -%% version 1.2 of this license or (at your option) any later +%% version 1.3 of this license or (at your option) any later %% version. The latest version of this license is in: %% %% http://www.latex-project.org/lppl.txt @@ -23,7 +23,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2009/01/01] \ProvidesPackage{menukeys} - [2016/04/18 v1.4 -- A package to format menus, paths and shortcuts] + [2016/08/08 v1.5 -- A package to format menus, paths and shortcuts] \RequirePackage{xparse} \RequirePackage{xstring} \RequirePackage{etoolbox} @@ -55,6 +55,7 @@ } \DeclareBoolOption[true]{definemenumacros} \DeclareBoolOption[true]{definekeys} +\DeclareBoolOption[false]{hyperrefcolorlinks} \DeclareStringOption[mac]{os} \DeclareStringOption[symbols]{mackeys} \ProcessKeyvalOptions{tw@mk}\relax @@ -66,6 +67,18 @@ \tw@mk@error{Unknown value for option 'mackeys'\MessageBreak Possible values are 'symbols' or 'text'.}% } +\iftw@mk@hyperrefcolorlinks + \Hy@AtBeginDocument{% (hyperref.sty, line 4790) + \def\@pdfborder{0 0 0}% (hyperref.sty, line 4806...) + \let\@pdfborderstyle\@empty + \def\Hy@colorlink#1{% + \begingroup + \HyColor@UseColor#1% + }% + \def\Hy@endcolorlink{\endgroup}% + \Hy@Info{Link coloring ON}% + } +\fi \newcommand*{\tw@make@color@theme}[8]{% \definecolor{tw@color@theme@#1@bg}{#2}{#3}% \definecolor{tw@color@theme@#1@br}{#2}{#4}% |