summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-08-22 21:31:55 +0000
committerKarl Berry <karl@freefriends.org>2018-08-22 21:31:55 +0000
commite3be8455088de0aa6b78d6fc736f6e245de54395 (patch)
tree4cceafcf819e910bff95b89b90394d1174934ed9
parent1b5839f369ffc7ba6b4138c9ac4ea2baf98a3b13 (diff)
xfakebold (22aug18)
git-svn-id: svn://tug.org/texlive/trunk@48460 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/xfakebold/Changes1
-rw-r--r--Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.pdfbin78566 -> 78552 bytes
-rw-r--r--Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.tex2
-rw-r--r--Master/texmf-dist/tex/latex/xfakebold/xfakebold.sty14
4 files changed, 10 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/latex/xfakebold/Changes b/Master/texmf-dist/doc/latex/xfakebold/Changes
index 7484aef5a6c..64af8d5c421 100644
--- a/Master/texmf-dist/doc/latex/xfakebold/Changes
+++ b/Master/texmf-dist/doc/latex/xfakebold/Changes
@@ -1,5 +1,6 @@
xfakebold.sty ----------------
+v 0.04 2018-08-21 typo in \fake@bold
v 0.03 2018-08-07 small fixes and typos in the documentation
v 0.02 2018-07-25 fix bug in pdflatex part
v 0.01 2018-07-23 first CTAN version
diff --git a/Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.pdf b/Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.pdf
index 743c61b7d08..6732fcabe7b 100644
--- a/Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.pdf
+++ b/Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.tex b/Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.tex
index b57caba338f..710a6fa7a22 100644
--- a/Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.tex
+++ b/Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.tex
@@ -8,7 +8,7 @@
\usepackage{babel}
\usepackage[a4paper,tmargin=1cm,bmargin=1.5cm,includeheadfoot]{geometry}
\usepackage{listings}
-\title{\texttt{xfakebold}, v. 0.03\\ using bold characters with \texttt{pdflatex} or \texttt{lualatex}}
+\title{\texttt{xfakebold}, v. 0.04\\ using bold characters with \texttt{pdflatex} or \texttt{lualatex}}
\author{Herbert Voß}
\lstset{basicstyle=\ttfamily\small,language={[LaTeX]TeX},frame=lrtb}
diff --git a/Master/texmf-dist/tex/latex/xfakebold/xfakebold.sty b/Master/texmf-dist/tex/latex/xfakebold/xfakebold.sty
index c6532bc535a..70dc0e678c2 100644
--- a/Master/texmf-dist/tex/latex/xfakebold/xfakebold.sty
+++ b/Master/texmf-dist/tex/latex/xfakebold/xfakebold.sty
@@ -13,7 +13,7 @@
%% version 2005/12/01 or later.
%%
%%
-\ProvidesPackage{xfakebold}[2018/08/07 v0.03 using bold characters]
+\ProvidesPackage{xfakebold}[2018/08/21 v0.04 using bold characters]
\RequirePackage{ifluatex,ifxetex,xkeyval}
\def\setBold{}
@@ -35,16 +35,18 @@
\PackageWarning{fakebold}%
{^^J No LuaTeX or PDFTeX running!
^^J For Xe(La)TeX use the FakeBold option from package fontspec!
- \def\fakebold{0}}%
+ \def\fake@bold{-1}}%
\fi
\ifluatex
- \gdef\setBold{\pdfextension literal direct { 2 Tr \fake@bold\space w }\relax}
- \gdef\unsetBold{\pdfextension literal direct { 0 Tr 0 w }\relax}
+ \def\setBold{\pdfextension literal direct { 2 Tr \fake@bold\space w }\relax}
+ \def\unsetBold{\pdfextension literal direct { 0 Tr 0 w }\relax}
\typeout{We have LuaTeX}%
\else
- \gdef\setBold{\pdfliteral direct { 2 Tr \fake@bold\space w }\relax}
- \gdef\unsetBold{\pdfliteral direct { 0 Tr 0 w }\relax}
+ \ifdim\fake@bold pt < \p@ \else
+ \def\setBold{\pdfliteral direct { 2 Tr \fake@bold\space w }\relax}
+ \def\unsetBold{\pdfliteral direct { 0 Tr 0 w }\relax}
\typeout{We have pdfTeX}%
+ \fi
\fi