View Single Post
Old 07-03-2018, 11:35 AM   #3
Owl_
Enthusiastic reader
Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.Owl_ ought to be getting tired of karma fortunes by now.
 
Posts: 423
Karma: 3860889
Join Date: Mar 2017
Location: Italy
Device: Kindle paperwhite3, Kobo aura one, kobo touch 2.0, Kobo Clara HD,Poke2
Quote:
Originally Posted by Doitsu View Post
Make sure to save it as a UTF8 file with a BOM (byte order mark).

Also there are several different versions of tab2opf.py floating around.

Try this version of tab2opf.py with the -utf parameter. E.g.

Code:
python tab2opf.py -utf mytabfile.txt
You also might want to use KindleGen instead of Mobipocket Creator.

Also double-check that the .opf file contains the following section:

Code:
<x-metadata>
<output encoding="utf-8"></output>
<DictionaryInLanguage>en</DictionaryInLanguage>
<DictionaryOutLanguage>it</DictionaryOutLanguage>
</x-metadata>
(You'll need to manually change the language codes generated by tab2opf.py.)
Ok the tab2opf.py works well. Do you think that it's possible to modify the tab2opf.py file in order to customize the text in the popup windows (I mean the n° pt of the the entries' font and of the following text, the type of font. And if it's possible, to align the text with the entries)
Owl_ is offline   Reply With Quote