Mobileread
Conversion of txt tabfile to mobi
#1  Owl_ 07-02-2018, 10:59 AM
Hi. Does anyone know how to modify the txt tabfile to obtain a good html file for mobipocket creator? (I'm going to obtail a mobi dictionary starting from the tabfile. Unfortunately mobipocket creator gave me until now a normal ebook)

Any idea o suggestion it's welcome
thanks
Reply 

#2  Doitsu 07-02-2018, 02:19 PM
Quote Owl_
Does anyone know how to modify the txt tabfile to obtain a good html file for mobipocket creator?
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.)
Reply 

#3  Owl_ 07-03-2018, 11:35 AM
Quote Doitsu
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)
Reply 

#4  Owl_ 07-05-2018, 02:16 AM
Reply 

Today's Posts | Search this Thread | Login | Register