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, 10:59 AM   #1
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
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, 02:19 PM   #2
Doitsu
Grand Sorcerer
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: 5,582
Karma: 22735033
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, 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
Old 07-05-2018, 02:16 AM   #4
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
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 07:33 AM
Slow txt to mobi convertion, performance at o(n^2) as lines of txt grow? forceps Calibre 6 11-26-2012 11:47 AM
Update Mobi header/file metadata without doing a Mobi to Mobi conversion RecQuery Conversion 2 06-30-2012 11:43 AM
HTML to TXT conversion alkr Calibre 3 10-02-2009 09:54 AM
Batch conversion of txt BlackVoid Sony Reader 8 11-17-2007 09:53 PM


All times are GMT -4. The time now is 06:34 PM.


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