summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/menukeys
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-08-08 21:09:54 +0000
committerKarl Berry <karl@freefriends.org>2016-08-08 21:09:54 +0000
commitf911b110d65d1bc8b33b9ad28d4ead401cf0bae3 (patch)
treec3f7c446c140f2f88c07ad05a767bba62c7ceaf1 /Master/texmf-dist/tex/latex/menukeys
parent4b2f94e6f9f4425195657c2efbff5667c0399b5d (diff)
menukeys (8aug16)
git-svn-id: svn://tug.org/texlive/trunk@41823 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/menukeys')
-rw-r--r--Master/texmf-dist/tex/latex/menukeys/menukeys.sty21
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}%