bugtex4ht - Bugs: bug #261, add full support for kpfonts when...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #261: add full support for kpfonts when compiling in SVG mode for math

Submitted by:  Nasser M. Abbasi <nma123>
Submitted on:  Thu 30 Jul 2015 06:13:48 PM EEST  
 
Category: NonePriority: 5 - Normal
Severity: 3 - MinorStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Thu 30 Jul 2015 06:13:48 PM EEST, original submission:

First reported at tex4ht mailing list: reference link:
http://tug.org/pipermail/tex4ht/2015q3/001240.html

When compiling the following MWE and asking tex4ht to use SVG for math, it reports missing fonts

---------------------------------------
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{ntheorem}
\newtheorem{theorem}{Theorem}
\usepackage{amsmath}
\DeclareMathOperator{\Res}{Res}
\usepackage{kpfonts}

\begin{document}
\ifdefined\HCode
\Configure{Picture}{.svg}
\fi

\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}
\end{document}
------------------------------

compile using htlatex foo.tex gives

warning --- Couldn't find font `jkpsy.htf' (char codes: 0--128)
warning --- Couldn't find font `jkpmi.htf' (char codes: 0--239)
warning --- Couldn't find font `jkpmi.htf' (char codes: 0--239)
warning --- Couldn't find font `jkpmn7t.htf' (char codes: 0--170)
warning --- Couldn't find font `jkpmn7t.htf' (char codes: 0--170)
warning --- Couldn't find font `jkpbn8t.htf' (char codes: 0--255)
warning --- Couldn't find font `jkpmit8t.htf' (char codes: 0--255)
warning --- Couldn't find font `jkpmn8t.htf' (char codes: 0--255)

Compiling to png works ok, i.e. when replacing the line
\Configure{Picture}{.svg}
with
\Configure{$}{\PicMath}{\EndPicMath}{}

But math looks better in SVG.
Tl 2015.

Nasser M. Abbasi <nma123>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by nma123 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray