diff options
author | Karl Berry <karl@freefriends.org> | 2018-08-07 22:07:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-08-07 22:07:23 +0000 |
commit | c1c5deb8d4f88a022b7c70c82603b59a29dee8c6 (patch) | |
tree | 46073919ed8be0cdaadcd8cb7f0d2bd9b7521614 /Master/texmf-dist/tex/latex/xfakebold/xfakebold.sty | |
parent | 3a62e05a651e7f80170acb4e0d3cf121b85a7f7b (diff) |
xfakebold (7aug18)
git-svn-id: svn://tug.org/texlive/trunk@48368 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/xfakebold/xfakebold.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/xfakebold/xfakebold.sty | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/xfakebold/xfakebold.sty b/Master/texmf-dist/tex/latex/xfakebold/xfakebold.sty index 3fb30f20840..c6532bc535a 100644 --- a/Master/texmf-dist/tex/latex/xfakebold/xfakebold.sty +++ b/Master/texmf-dist/tex/latex/xfakebold/xfakebold.sty @@ -1,4 +1,4 @@ -% $Id: xfakebold.sty 788 2018-07-25 16:22:47Z herbert $ +% $Id: xfakebold.sty 793 2018-08-06 16:39:25Z herbert $ %% %% This is file `xfakebold.sty', %% @@ -13,7 +13,7 @@ %% version 2005/12/01 or later. %% %% -\ProvidesPackage{xfakebold}[2018/07/25 v0.02 using bold characters] +\ProvidesPackage{xfakebold}[2018/08/07 v0.03 using bold characters] \RequirePackage{ifluatex,ifxetex,xkeyval} \def\setBold{} @@ -24,13 +24,12 @@ \def\fake@bold{#1}% \ifdim\fake@bold pt > \p@ \else - PackageWarning{fakebold}{The value must be greater than 0. Will chooose 0.3}% + \PackageWarning{fakebold}{The value must be greater than 0. Will chooose 0.3}% \def\fake@bold{0.3}% \fi} \ProcessOptionsX - \ifxetex \typeout{We have XeTeX}% \PackageWarning{fakebold}% @@ -39,14 +38,13 @@ \def\fakebold{0}}% \fi - \ifluatex - \gdef\setBold{\pdfextension literal direct { 2 Tr \fake@bold\space w } } - \gdef\unsetBold{\pdfextension literal direct { 0 Tr 0 w } } + \gdef\setBold{\pdfextension literal direct { 2 Tr \fake@bold\space w }\relax} + \gdef\unsetBold{\pdfextension literal direct { 0 Tr 0 w }\relax} \typeout{We have LuaTeX}% \else - \gdef\setBold{\pdfliteral direct { 2 Tr \fake@bold\space w } } - \gdef\unsetBold{\pdfliteral direct { 0 Tr 0 w } } + \gdef\setBold{\pdfliteral direct { 2 Tr \fake@bold\space w }\relax} + \gdef\unsetBold{\pdfliteral direct { 0 Tr 0 w }\relax} \typeout{We have pdfTeX}% \fi |