From c1c5deb8d4f88a022b7c70c82603b59a29dee8c6 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 7 Aug 2018 22:07:23 +0000 Subject: xfakebold (7aug18) git-svn-id: svn://tug.org/texlive/trunk@48368 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/xfakebold/xfakebold.sty | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'Master/texmf-dist/tex/latex/xfakebold') 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 -- cgit v1.2.3