summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/xfakebold
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/xfakebold')
-rw-r--r--Master/texmf-dist/tex/latex/xfakebold/xfakebold.sty16
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