In MikTeX 2.9 under Windows, I'm trying to generate unicode HTML version of a book with the command

htlatex mybook.tex "xhtml,charset=utf-8" " -cunihtf -utf8" "-cvalidate"

Everything works fine, except the accented letters in the <title></title> element. The accents simply disappear.

Why does it happen and is there a way to avoid it?

Thanks for any hints,
Jaroslav
Title: escrzyaieuudtnuo ESCRZYAIEUUDTNUO - accent, caron, umlaut

ěščřžýáíéúůďťňüö ĚŠČŘŽÝÁÍÉÚŮĎŤŇÜÖ - accent, caron, umlaut

Author Name

26.5.2013

Book content in Czech language, containing letters with hatches and accents: ěščřžýáíéúůďťňüö ĚŠČŘŽÝÁÍÉÚŮĎŤŇÜÖ...

Felis justo nunc et a Curabitur nec habitasse Nullam dolor gravida. Fusce elit libero eget Curabitur condimentum amet facilisi diam eleifend Pellentesque. Enim In hac ut sapien a ac at Pellentesque laoreet Donec. Curabitur pellentesque felis leo Ut fringilla sollicitudin tristique eros at malesuada.

\documentclass[a4paper,11pt]{book}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\begin{document}
\title{ěščřžýáíéúůďť�üö ĚŠČ�ŽÝ�ÍÉÚŮĎŤŇÜÖ - 
accent, caron, umlaut}
\author{Author Name}
\date{26.5.2013}
\maketitle{}

Book content in Czech language, containing letters with hatches and accents: 
ěščřžýáíéúůďť�üö ĚŠČ�ŽÝ�ÍÉÚŮĎŤŇÜÖ...

Felis justo nunc et a Curabitur nec habitasse Nullam dolor gravida.
Fusce elit libero eget Curabitur condimentum amet facilisi diam
eleifend Pellentesque. Enim In hac ut sapien a ac at Pellentesque
laoreet Donec. Curabitur pellentesque felis leo Ut fringilla
sollicitudin tristique eros at malesuada.
\end{document}

Reply via email to