summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pgf/version-for-luatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-05-05 21:38:50 +0000
committerKarl Berry <karl@freefriends.org>2019-05-05 21:38:50 +0000
commit675266a469958f9238613ad9e8ce6ae637736923 (patch)
tree869733d71acafaa19a1ce89c0c430d475448ae03 /Master/texmf-dist/doc/generic/pgf/version-for-luatex
parent89916d9520fa753d876b1c3d0b300c91be1eb5d3 (diff)
pgf
git-svn-id: svn://tug.org/texlive/trunk@51018 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/version-for-luatex')
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-luatex/pgfmanual-luatex.cfg7
1 files changed, 6 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-luatex/pgfmanual-luatex.cfg b/Master/texmf-dist/doc/generic/pgf/version-for-luatex/pgfmanual-luatex.cfg
index 7b57d3ed418..1523589539d 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-luatex/pgfmanual-luatex.cfg
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-luatex/pgfmanual-luatex.cfg
@@ -11,7 +11,12 @@
\usepackage[hyphens]{url}
\usepackage[pdfborder={0 0 0}]{hyperref}
\makeatletter
-\expandafter\g@addto@macro\csname ttfamily \endcsname{\ignoreligaturesinfont\font\relax}
+\g@addto@macro\selectfont{%
+ \long\edef\longf@family{\f@family}%
+ \ifx\longf@family\ttdefault
+ \ignoreligaturesinfont\font\relax
+ \fi
+}
\makeatother
% Just make sure to compile this using lualatex.