I am trying to use kpfonts
with tufte-handout
class. For some reason the table of contents font defaults to Computer Modern roman when compiled with lualatex
, rest of the document compiles correctly. The same code with xelatex
compiles correctly and the table of contents font is italics of kpfonts
. How can I get correct font for toc using lualatex
?
MWE
\documentclass{tufte-handout}
\usepackage[]{kpfonts}
\usepackage[T1]{fontenc}
\usepackage{lipsum}
\begin{document}
\tableofcontents
\section{LuaLaTeX}
\lipsum
\section{Two}
\lipsum
\section{Three}
\lipsum
\end{document}
LaTeX Font Warning: Font shape `TU/jkp/m/n' undefined (Font) using `TU/lmr/m/n' instead on input line 1.
something is detecting luatex and switching back to unicode and so breaks the legacy 8bit kp font setup. It's probably fixable but....