diff options
author | Karl Berry <karl@freefriends.org> | 2012-04-05 23:47:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-04-05 23:47:53 +0000 |
commit | fc0f83d1c7df80092f547288f40fdf310475a457 (patch) | |
tree | 425bc229f7280bf448356350c101a6ed1d678064 /Master/texmf-dist/tex/latex/menukeys/menukeys.sty | |
parent | bdcb6ceed3b857a10b23bd190103a34e57b51289 (diff) |
menukeys (5apr12)
git-svn-id: svn://tug.org/texlive/trunk@25862 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/menukeys/menukeys.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/menukeys/menukeys.sty | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/menukeys/menukeys.sty b/Master/texmf-dist/tex/latex/menukeys/menukeys.sty index 386ce3110f2..aec135e5dd9 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/02/27 v1.1 a package to format menus paths and shortcuts] + [2012/04/05 v1.1a a package to format menus paths and shortcuts] \RequirePackage{xparse} \RequirePackage{xstring} \RequirePackage{etoolbox} @@ -562,6 +562,13 @@ } \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 @@ -603,7 +610,7 @@ }{% \edef\tw@menu@list{\unexpanded{##2}}\edef\tw@mk@tempa{\cpttrimspaces{##1}}% }% - {\letcs{\tw@mk@tempb}{tw@parse@menu@list@\expandafter\@gobble\string#1}% + {\tw@babel@french@fix\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}}% }% |