diff options
author | Karl Berry <karl@freefriends.org> | 2012-02-17 23:54:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-02-17 23:54:07 +0000 |
commit | c1b648ea672270d1244a279ead7604d9655d8ea8 (patch) | |
tree | 2451af8d9747d773a7737dc3e3c4a6bb32a54afd /Master/texmf-dist/tex/latex/fixltxhyph | |
parent | d4d3b5824ca7befe0ac6011a4d93231f7d0c7269 (diff) |
fixltxhyph (17feb12)
git-svn-id: svn://tug.org/texlive/trunk@25420 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fixltxhyph')
-rw-r--r-- | Master/texmf-dist/tex/latex/fixltxhyph/fixltxhyph.sty | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/fixltxhyph/fixltxhyph.sty b/Master/texmf-dist/tex/latex/fixltxhyph/fixltxhyph.sty index a74cf987c48..2061d4af150 100644 --- a/Master/texmf-dist/tex/latex/fixltxhyph/fixltxhyph.sty +++ b/Master/texmf-dist/tex/latex/fixltxhyph/fixltxhyph.sty @@ -18,17 +18,18 @@ emphasized words preceded by vocalic elision] \@ifpackageloaded{babel}{}{% \PackageWarning{FixLtXHyph}{This package must be loaded after babel}% \endinput} +\RequirePackage{etoolbox} \newcommand\hz{\nobreak\hskip\z@skip} -\let\originalem\em -\let\newem\em -\addto\newem{\hz} +\letcs{\FLH@originalem}{em } +\let\FLH@newem\FLH@originalem +\preto\FLH@newem{\hz} \def\@tempB{catalan,french,italian,romansh} \@for\@tempA:=\@tempB\do{% \expandafter\ifx\csname captions\@tempA\endcsname\relax\else -\expandafter\addto\csname extras\@tempA\endcsname{\let\em\newem}% -\expandafter\addto\csname noextras\@tempA\endcsname{\let\em\originalem}\fi} +\expandafter\addto\csname extras\@tempA\endcsname{\cslet{em }{\FLH@newem}}% +\expandafter\addto\csname noextras\@tempA\endcsname{\cslet{em }{\FLH@originalem}}\fi} %% -%% Copyright 2011 Claudio Beccari +%% Copyright 20112012 Claudio Beccari %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of |