[tex4ht] Epub index entries with umlauts (and other special characters)

"Jürgen Hubert" jhubert at gmx.de
Wed Sep 19 17:10:00 CEST 2018


> Von: "Michal Hoftich" <michal.h21 at gmail.com>

> Hello Jürgen,
> 
> > So... what am I still doing wrong?
> 
> The issue is of course with the diacritics. The text used in the index
> entry is used in command definition used for cross-referencing.
> Because you use TeX commands for diacritics (like \"o), it produces an
> error. It works with direct Unicode characters (ö), so easiest
> solution is to use Unicode. And Unicode engine, preferably LuaTeX:
> 
> tex4ebook -lm index -c myconfig.cfg -e mybuild.mk4 Test2.tex
> 
> 
> should work.

It did work - thanks! I've implemented it in my actual ebook file (not just the test file):

https://drive.google.com/open?id=1gt7eQDAciKNx_n1eqktKX0TGd1jNb5nQ

For comparison, here is the PDF version:

https://drive.google.com/open?id=11bjQXdV5Mm79Z0voGxvaKWkDTsmbdvQ2

Best regards,

- Jürgen



More information about the tex4ht mailing list