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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 05-12-2011, 06:08 PM   #1
SomeNewGuy
Junior Member
SomeNewGuy began at the beginning.
 
Posts: 9
Karma: 10
Join Date: May 2011
Device: none
A basic question

Can someone explain how exactly the process of converting works?? Why does it take so long to finish?? And why is it that difficult??
SomeNewGuy is offline   Reply With Quote
Old 05-12-2011, 11:22 PM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,841
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by SomeNewGuy View Post
Can someone explain how exactly the process of converting works?? Why does it take so long to finish?? And why is it that difficult??
GIGO is why it takes long(er)

Convert from what?

PDF is probably the worst. (OK, Clay tablets.They won't fit into any floppy drive )
PDF is a finished PAGE. How the page is put together does not need to be assembled in Linear order. It is like a Puzzle. You keep placing pieces until it is done. Same with PDF.
Guessing the Order the pieces need to appear can be a challange

Some formats don't allow flexibility on style and layout. Simple TXT (like made with Notepad.exe) have nothing but spaces and characters. No font faces or font sizes. (HTML is a text file with markup tags that the viewer can interpert).

DOC files are loaded with all the fonts and stuff, the problem is the messy internals result in huge sized (files) conversions.

Some of the other source types are somewhere in between TXT and (X)HTML(the core of EPUB) with detectable, formatting content.
theducks is online now   Reply With Quote
Old 05-13-2011, 07:08 AM   #3
neilmarr
neilmarr
neilmarr ought to be getting tired of karma fortunes by now.neilmarr ought to be getting tired of karma fortunes by now.neilmarr ought to be getting tired of karma fortunes by now.neilmarr ought to be getting tired of karma fortunes by now.neilmarr ought to be getting tired of karma fortunes by now.neilmarr ought to be getting tired of karma fortunes by now.neilmarr ought to be getting tired of karma fortunes by now.neilmarr ought to be getting tired of karma fortunes by now.neilmarr ought to be getting tired of karma fortunes by now.neilmarr ought to be getting tired of karma fortunes by now.neilmarr ought to be getting tired of karma fortunes by now.
 
neilmarr's Avatar
 
Posts: 7,229
Karma: 6000059
Join Date: Apr 2009
Location: Monaco-Menton, France
Device: sony
Good to have your company, SNG. Have you tried using the free Calibre Library software (download here: http://www.calibre-ebook.com)?

As TheDucks says, though, it's often a matter of Garbage-In-Garbage-Out. A badly prepared digital file will not convert well and a file padlocked bty DRM software won't convert at all without first stripping the DRM (morally justified, I feel, but still not legal).

Good luck and best wishes. Neil
neilmarr is offline   Reply With Quote
Old 05-13-2011, 08:11 AM   #4
jbcohen
Wizard
jbcohen ought to be getting tired of karma fortunes by now.jbcohen ought to be getting tired of karma fortunes by now.jbcohen ought to be getting tired of karma fortunes by now.jbcohen ought to be getting tired of karma fortunes by now.jbcohen ought to be getting tired of karma fortunes by now.jbcohen ought to be getting tired of karma fortunes by now.jbcohen ought to be getting tired of karma fortunes by now.jbcohen ought to be getting tired of karma fortunes by now.jbcohen ought to be getting tired of karma fortunes by now.jbcohen ought to be getting tired of karma fortunes by now.jbcohen ought to be getting tired of karma fortunes by now.
 
jbcohen's Avatar
 
Posts: 2,779
Karma: 3718494
Join Date: Oct 2010
Location: The CIC of the Cumberland
Device: Kindle 5 Paperwhite and a Simple touch Nook
This is actually a good question that I have not been able to come up with a satisfactory answer for and depends on how far one wants to go in understanding the conversion process. Please feel free to correct me as what follows may be flawed:

The process, on a software level, involves the use of multiple conversion tables. which table gets used depends on what format the file is in to begin with and what format the file needs to wind up in. For example there is one table for pdf to epub and another for html to epub. What is a table? A spreadsheet with row A being individual characters in the input format and B is the characters in the output format. When a conversion is completed each individual character in the file is compared against the table, spreadsheet, and the oposite value is subsituted in the converted file. As the file to be converted gets longer so does the conversion process as each character needs to be converted one by one. Obviously computers are better at this an faster at it then humans are but it still takes a while. The dificulties come in when special characters such as !@#$% are used in the source file and sometimes do not have a corresponding value in the table. Other times there may not be a one to one conversion as the output format may not have a character corresponding to it, however this is rare.
jbcohen is offline   Reply With Quote
Old 05-13-2011, 09:16 AM   #5
SomeNewGuy
Junior Member
SomeNewGuy began at the beginning.
 
Posts: 9
Karma: 10
Join Date: May 2011
Device: none
For now I just want to be able to do this one that I need to finish, but I`m looking into all possibilities, since I`m job-less at the moment and this is something new, maybe an opportunity for something.
SomeNewGuy is offline   Reply With Quote
Old 05-13-2011, 12:38 PM   #6
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,841
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by SomeNewGuy View Post
For now I just want to be able to do this one that I need to finish, but I`m looking into all possibilities, since I`m job-less at the moment and this is something new, maybe an opportunity for something.
So what format is your source in?
Calibre will convert straight Text fairly nicely if you prepare you source.
Go read the conversion suggestions at: http://calibre-ebook.com/help
and see what has the best fit.
If you have 'Open Office',and have a DOC file, look at Writer2EPUB plugin.

Then fine tune the output with a Text/XHTML editor (EPubs are Zip files in a with rules) or Sigil to K.I.S.S.
theducks is online now   Reply With Quote
Old 05-13-2011, 01:03 PM   #7
SomeNewGuy
Junior Member
SomeNewGuy began at the beginning.
 
Posts: 9
Karma: 10
Join Date: May 2011
Device: none
They haven`t told me what the format is, yet. I know that it`s a Front Page book, that`s all. This is just a preparation for me, since I took a job I didn`t know how to do but I think that I`m doing fine for now, I`ll read those suggestions for now
SomeNewGuy 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
Development documentation question (basic) Coleccionista Development 5 03-01-2011 04:07 PM
Content server - basic question Viseguy Calibre 2 09-04-2010 11:32 PM
Might be a basic question... emonti8384 Amazon Kindle 12 01-12-2010 07:58 PM
OK: a REALLY basic question ChicagoIrish Sony Reader 15 08-19-2009 04:08 PM
Basic question about the PRS-505 aegir Sony Reader 10 11-04-2008 02:20 AM


All times are GMT -4. The time now is 02:17 PM.


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