summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-09-21 21:52:09 +0000
committerKarl Berry <karl@freefriends.org>2019-09-21 21:52:09 +0000
commit7c74b17e05b7a738deafbfa10ccfb7821decd590 (patch)
tree5daf091003e93b4cf41eba2a849ba370d3d08f4c /Master
parentd0e3b160872236c22d9a94dd242e0ae64d21327a (diff)
xfakebold (21sep19)
git-svn-id: svn://tug.org/texlive/trunk@52144 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/xfakebold/Changes1
-rw-r--r--Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.pdfbin78552 -> 78838 bytes
-rw-r--r--Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.tex4
-rw-r--r--Master/texmf-dist/tex/latex/xfakebold/xfakebold.sty29
4 files changed, 18 insertions, 16 deletions
diff --git a/Master/texmf-dist/doc/latex/xfakebold/Changes b/Master/texmf-dist/doc/latex/xfakebold/Changes
index 64af8d5c421..923320521b5 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.05 2019-09-21 fix pdflatex
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
diff --git a/Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.pdf b/Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.pdf
index 6732fcabe7b..d9b058589a1 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 710a6fa7a22..d2bd92ef2b8 100644
--- a/Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.tex
+++ b/Master/texmf-dist/doc/latex/xfakebold/xfakebold-doc.tex
@@ -1,4 +1,4 @@
-% $Id: xfakebold-doc.tex 793 2018-08-06 16:39:25Z herbert $
+% $Id: xfakebold-doc.tex 1087 2019-09-21 11:53:40Z herbert $
\listfiles
\documentclass[english]{article}
\usepackage{dejavu-otf}
@@ -8,7 +8,7 @@
\usepackage{babel}
\usepackage[a4paper,tmargin=1cm,bmargin=1.5cm,includeheadfoot]{geometry}
\usepackage{listings}
-\title{\texttt{xfakebold}, v. 0.04\\ using bold characters with \texttt{pdflatex} or \texttt{lualatex}}
+\title{\texttt{xfakebold}, v. 0.05\\ 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 70dc0e678c2..51d030dedf6 100644
--- a/Master/texmf-dist/tex/latex/xfakebold/xfakebold.sty
+++ b/Master/texmf-dist/tex/latex/xfakebold/xfakebold.sty
@@ -1,8 +1,8 @@
-% $Id: xfakebold.sty 793 2018-08-06 16:39:25Z herbert $
+% $Id: xfakebold.sty 1087 2019-09-21 11:53:40Z herbert $
%%
%% This is file `xfakebold.sty',
%%
-%% Copyright (C) 2018 Herbert Voss
+%% Copyright (C) 2019 Herbert Voss
%%
%% It may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
@@ -13,40 +13,41 @@
%% version 2005/12/01 or later.
%%
%%
-\ProvidesPackage{xfakebold}[2018/08/21 v0.04 using bold characters]
+\ProvidesPackage{xfakebold}[2019/09/21 v0.05 using bold characters]
\RequirePackage{ifluatex,ifxetex,xkeyval}
\def\setBold{}
\def\unsetBold{}
-\def\fake@bold{0.3}%
+\def\fake@bold{0.4}%
\DeclareOptionX{bold}{%
\def\fake@bold{#1}%
- \ifdim\fake@bold pt > \p@
+ \ifdim\fake@bold pt > 0pt
\else
\PackageWarning{fakebold}{The value must be greater than 0. Will chooose 0.3}%
\def\fake@bold{0.3}%
\fi}
\ProcessOptionsX
-
+\typeout{We use fakebold with factor \fake@bold}%
\ifxetex
\typeout{We have XeTeX}%
\PackageWarning{fakebold}%
{^^J No LuaTeX or PDFTeX running!
^^J For Xe(La)TeX use the FakeBold option from package fontspec!
\def\fake@bold{-1}}%
-\fi
-
-\ifluatex
+\else
+ \ifluatex
\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
- \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}%
+ \else
+ \ifdim\fake@bold pt < \z@ \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
\fi
+\endinput \ No newline at end of file