I'm running MiKTeX under Windows 7, trying to compile some LaTeX to HTML using htlatex.
htlatex appears to be converting every instance of 'ff' and 'fi' with a NUL byte in the HTML. Was wondering if anybody had any insight!
Here's the config file I'm using (some stuff I got on the internet that is probably the whole problem):
\Preamble{xhtml}
\Configure{HtmlPar}
{\EndP\Tg<p>}
{\EndP\Tg<p>}
{\HCode{</p>\Hnewline}}
{\HCode{</p>\Hnewline}}
\Configure{emph}{\ifvmode\ShowPar\fi\HCode{<em>}}{\HCode{</em>}}
\Configure{textbf}{\ifvmode\ShowPar\fi\HCode{<b>}}{\HCode{</b>}}
\begin{document}
\EndPreamble
And here is an example tex file that illustrates my problem:
\documentclass{article}
\begin{document}
\section{Letters}
\subsection{Valid Letters}
AA Aa aA aa\\
BB Bb bB bb\\
CD Cd cD cd\\
\subsection{Invalid Letters}
FF Ff fF ff\\
FI Fi fI fi\\
\section{Strings}
a string of text\\
a fine string of text\\
a definition of an efficient and fine string of text\\
finally, the problem is solved!\\
\end{document}
And here is output I get after running the the command
htlatex example.tex MyFonts.cfg "xhtml, NoFonts, -css" -utf8 -shell-escape
1 Letters
1.1 Valid Letters
AA Aa aA aa
BB Bb bB bb
CD Cd cD cd1.2 Invalid Letters
FF Ff fF
FI Fi fI2 Strings
a string of text
a ne string of text
a denition of an ecient and ne string of textnally, the problem is solved!
If I look in the HTML output, all occurences of 'ff' and 'fi' have been replaced by the NUL character. Does anybody know why?
Thanks!
NoFontsgives error; if I remove it, I get errors because of-utf8and-shell-escape. – egreg Feb 27 '14 at 00:15htlatex minimal.tex MyFonts.cfg "xhtml, -css"– Robert Kelly Feb 27 '14 at 00:20a fine string of textin the.htmlfile. – egreg Feb 27 '14 at 00:22