Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Other formats

Notices

Reply
 
Thread Tools Search this Thread
Old 07-02-2018, 11:59 AM   #1
Owl_
ioses_@libero.it
Owl_ began at the beginning.
 
Posts: 94
Karma: 10
Join Date: Mar 2017
Device: Kindle paperwhite3, Kobo aura one
Conversion of txt tabfile to mobi

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
Owl_ is offline   Reply With Quote
Old 07-02-2018, 03:19 PM   #2
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 4,315
Karma: 14277595
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Owl_ View Post
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.)
Doitsu is offline   Reply With Quote
Old 07-03-2018, 12:35 PM   #3
Owl_
ioses_@libero.it
Owl_ began at the beginning.
 
Posts: 94
Karma: 10
Join Date: Mar 2017
Device: Kindle paperwhite3, Kobo aura one
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
Old 07-05-2018, 03:16 AM   #4
Owl_
ioses_@libero.it
Owl_ began at the beginning.
 
Posts: 94
Karma: 10
Join Date: Mar 2017
Device: Kindle paperwhite3, Kobo aura one
Owl_ is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conversion Txt -> Azw3 or Mobi apeiron75 Calibre 1 06-10-2013 08:33 AM
Slow txt to mobi convertion, performance at o(n^2) as lines of txt grow? forceps Calibre 6 11-26-2012 12:47 PM
Update Mobi header/file metadata without doing a Mobi to Mobi conversion RecQuery Conversion 2 06-30-2012 12:43 PM
HTML to TXT conversion alkr Calibre 3 10-02-2009 10:54 AM
Batch conversion of txt BlackVoid Sony Reader 8 11-17-2007 10:53 PM


All times are GMT -4. The time now is 02:36 AM.


MobileRead.com is a privately owned, operated and funded community.