[tex4ht] is it possible to use kpfonts with tex4ht?
Nasser M. Abbasi
nma at 12000.org
Wed Jul 29 05:34:42 CEST 2015
I was reading this post
http://tex.stackexchange.com/questions/59702/suggest-a-nice-font-family-for-my-basic-latex-template-text-and-math
And I liked the pkfonts shown there. But when I tried to compile the file
with htlatex, the display math came up ok, but the inline math did not,
and I see many errors about missing fonts:
texfot htlatex foo.tex
[stderr] --- warning --- Couldn't find font `jkpex.htf' (char codes: 0--197)
[stderr] --- warning --- Couldn't find font `jkpsy.htf' (char codes: 0--128)
[stderr] --- warning --- Couldn't find font `jkpmi.htf' (char codes: 0--239)
[stderr] --- warning --- Couldn't find font `jkpmi.htf' (char codes: 0--239)
[stderr] --- warning --- Couldn't find font `jkpmn8r.htf' (char codes: 1--255)
[stderr] --- warning --- Couldn't find font `jkpbn8r.htf' (char codes: 1--255)
[stderr] --- warning --- Couldn't find font `jkpmit8r.htf' (char codes: 1--255)
[stderr] --- warning --- Couldn't find font `jkpmn8r.htf' (char codes: 1--255)
This is too bad, since it looks really nice in pdf.
Is there something one can do to fix the above to that it work for inline
math as well? Need another package may be?
Here is MWE, by Mico post from the above link:
=================================
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{ntheorem}
\newtheorem{theorem}{Theorem}
\usepackage{amsmath}
\DeclareMathOperator{\Res}{Res}
\usepackage{kpfonts}
\begin{document}\pagestyle{empty}
\begin{theorem}[Residue Theorem]
Let $f$ be analytic in the region $G$ except for the isolated
singularities $a_1,a_2,\dots,a_m$. If $\gamma$ is a closed
rectifiable curve in $G$ which does not pass through any of the
points $a_k$ and if $\gamma\approx 0$ in $G$, then
\[
\frac{1}{2\pi i}\int_\gamma\! f = \sum_{k=1}^m
n(\gamma;a_k)\Res(f;a_k)\,.
\]
\end{theorem}
\end{document}
===========================
Using TexLive 2015 on Linux mint.
thanks,
--Nasser
More information about the tex4ht
mailing list