From 4694e110689e772e25bbac7f6c89a952e214d908 Mon Sep 17 00:00:00 2001 From: Henri Menke Date: Thu, 23 May 2019 20:10:11 +1200 Subject: [PATCH] Use T1 for DVI output for now, see also https://github.com/mgieseki/dvisvgm/issues/2 --- doc/generic/pgf/macros/pgfmanual-en-macros.tex | 2 +- doc/generic/pgf/text-en/pgfmanual-en-main-preamble.tex | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/generic/pgf/macros/pgfmanual-en-macros.tex b/doc/generic/pgf/macros/pgfmanual-en-macros.tex index c326d973e..a53537a99 100644 --- a/doc/generic/pgf/macros/pgfmanual-en-macros.tex +++ b/doc/generic/pgf/macros/pgfmanual-en-macros.tex @@ -440,7 +440,7 @@ \removeats{#1}% \pgfmanualentryheadline{% \pgfmanualpdflabel{\textbackslash\strippedat}{}% - \declare{\texttt{\string#1}}#2% + \declare{\expandafter\texttt\expandafter{\string#1}}#2% }% \index{\strippedat @\protect\myprintocmmand{\strippedat}} } diff --git a/doc/generic/pgf/text-en/pgfmanual-en-main-preamble.tex b/doc/generic/pgf/text-en/pgfmanual-en-main-preamble.tex index 6debf3ff2..8c73417a4 100644 --- a/doc/generic/pgf/text-en/pgfmanual-en-main-preamble.tex +++ b/doc/generic/pgf/text-en/pgfmanual-en-main-preamble.tex @@ -167,6 +167,11 @@ % pgfmanual-en-macros.tex defines an environment named filedescription \let\filedescription\relax \usepackage[utf8]{luainputenc} + % dvisvgm does not support OpenType fonts so we have to bite the bullet and + % use T1 where quotes are weird. In LuaTeX \outputmode=0 means DVI. + \ifnum\outputmode=0 + \usepackage[T1]{fontenc} + \fi \else \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc}