diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/version-for-dvisvgm/pgfmanual-dvisvgm.cfg')
-rw-r--r-- | Master/texmf-dist/doc/generic/pgf/version-for-dvisvgm/pgfmanual-dvisvgm.cfg | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-dvisvgm/pgfmanual-dvisvgm.cfg b/Master/texmf-dist/doc/generic/pgf/version-for-dvisvgm/pgfmanual-dvisvgm.cfg index e6e29e1fda5..e07ee9cdd19 100644 --- a/Master/texmf-dist/doc/generic/pgf/version-for-dvisvgm/pgfmanual-dvisvgm.cfg +++ b/Master/texmf-dist/doc/generic/pgf/version-for-dvisvgm/pgfmanual-dvisvgm.cfg @@ -11,7 +11,12 @@ \usepackage[hypertex]{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 \usepackage{graphicx,xcolor} |