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

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 07-20-2009, 09:55 AM   #1
fading
Member
fading began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jul 2009
Device: Kindle
TOC issues

Hi,

I am trying to produce my first ever PRC file - so that I can get it working on the Kindle.

What I have is a PDF file.

It has been suggested I separate the pages of this PDF file and convert them to JPGs which I have done.

So, I've got the mobipocket software and uploaded all of the JPGs.

What I can't seem to figure out is how to create a table of contents.

All of the help sections I've seen are talking about html files, but I don't have the knowledge to do this, and I figure there must be another way of doing this. I just want to manually program the TOC to go to the various chapters in my book.

Can this be done?

Ideally I just need a sample/template TOC that I can work from.

Can anyone help?

Thanks,

Sam
fading is offline   Reply With Quote
Old 07-20-2009, 12:48 PM   #2
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 65,448
Karma: 43770933
Join Date: Nov 2006
Location: UK
Device: Kindle Voyage, iPad Mini, iPhone 4, MS Surface Pro, N7
No, you cannot have a TOC if your book consists purely of JPEG files. A hyperlink in a TOC needs to jump to a location in an HTML file.

Sorry!
HarryT is online now   Reply With Quote
 
Advertisement
Old 07-20-2009, 01:38 PM   #3
pdurrant
Santa Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 33,315
Karma: 90609350
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Unless the PDF itself is really a collection of images, it would be better to extract the text (preferably to HTML) and then work from that.

Quote:
Originally Posted by fading View Post
Hi,

I am trying to produce my first ever PRC file - so that I can get it working on the Kindle.

What I have is a PDF file.

It has been suggested I separate the pages of this PDF file and convert them to JPGs which I have done.
pdurrant is online now   Reply With Quote
Old 07-20-2009, 01:42 PM   #4
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 65,448
Karma: 43770933
Join Date: Nov 2006
Location: UK
Device: Kindle Voyage, iPad Mini, iPhone 4, MS Surface Pro, N7
Mobi Creator generally does a quite reasonable job of conversion on PDFs. Have you tried simply letting Mobi convert it?
HarryT is online now   Reply With Quote
Old 07-22-2009, 06:12 AM   #5
fading
Member
fading began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jul 2009
Device: Kindle
Thanks

Hi guys,

Thanks for your replies here.

Harry - I have tried get Mobi to convert my PDF, but the issue is that all of the formatting goes out of the window, the fonts are lost, and everything (including the pictures in the book) seems to get aligned to the left.

I think it was suggested that I use JPGs as nothing can possibly get changed or shifted around.

However - saying that, the issue I've had with JPGs is that the text becomes very grainy once I've created the ebook from the JPGs, and by zooming idn even by one quota the text becomes almost illegible!

I guess I can live without having a table of contents, but is there going to be a way of me importing JPGs (or other image formats) into the Mobi creator without incurring a massive loss in quality.

I have attached an example of how it looks - I have included just a front cover (fine) and one sample page from the book (very grainy).

Thanks,

Sam
Attached Files
File Type: prc AB Guitar.prc (138.0 KB, 127 views)
fading is offline   Reply With Quote
Old 07-22-2009, 10:16 AM   #6
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 65,448
Karma: 43770933
Join Date: Nov 2006
Location: UK
Device: Kindle Voyage, iPad Mini, iPhone 4, MS Surface Pro, N7
JPEG is a very poor choice of format for images that contain text or images. JPEG achieves its small file size by "throwing away" information from the image, and "blurring out" the details. This works great for "real world" photographs (which is why digital cameras use JPEG images), but for text it's horrible - lines blur and lose definition - it's like looking at your text through a pair of out-of-focus glasses.

Use a file format like TIFF of GIF, not JPEG. It doesn't do this.
HarryT is online now   Reply With Quote
Old 07-22-2009, 10:33 AM   #7
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,310
Karma: 4898871
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
PNG would be a better choice... if mobipocket supported PNG.
Jellby is online now   Reply With Quote
Old 07-22-2009, 10:36 AM   #8
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
I suggest using PDFRead, it does the PDF to JPG conversion for you and has options like making each PDF page into several images. I don't think it adds a TOC, although in principle it could if there was one in the PDF.

There isn't unfortunately a really satisfactory PDF to MOBI (or any reflowable ebook format) utility at present. You could try calibre 0.6 beta, because at least if this does not center the images you can file a bug report and it will get fixed (MOBI does not center images by default). Calibre uses a different PDF to HTML utility under the hood than MobiPocket Creator does, so the result may be different (although in general not better).
wallcraft is offline   Reply With Quote
Old 07-22-2009, 11:45 AM   #9
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 65,448
Karma: 43770933
Join Date: Nov 2006
Location: UK
Device: Kindle Voyage, iPad Mini, iPhone 4, MS Surface Pro, N7
I've personally found the best PDF converter to be BD.
HarryT is online now   Reply With Quote
Old 07-22-2009, 11:54 AM   #10
fading
Member
fading began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jul 2009
Device: Kindle
Due to the nature of the book I'm working on, it's too complex to use the original PDF really, or it would involved a lot of manual work to put everything back into the right places.

I'm actually thinking about not bothering with a TOC, it's not the end of the world.

The issue I'm having now is getting the images that I'm using as the pages of the book to look good. We've established that JPGs are no good. I've just tried GIFs and they're considerably better, but still very grainy when it comes to zooming in on small-ish text.

I haven't tried PNGs yet, but will do so now. Does anyone know an optimal resolution to save PNG files at so that they will look as best as they can in Mobi?

Thanks,

Sam
fading is offline   Reply With Quote
Old 07-22-2009, 12:55 PM   #11
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,310
Karma: 4898871
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by fading View Post
I haven't tried PNGs yet, but will do so now. Does anyone know an optimal resolution to save PNG files at so that they will look as best as they can in Mobi?
As I said, the mobipocket format does not support PNG. Maybe the creator can convert PNG to GIF or JPG, but you won't get anything new.
Jellby is online now   Reply With Quote
Old 07-22-2009, 01:07 PM   #12
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 65,448
Karma: 43770933
Join Date: Nov 2006
Location: UK
Device: Kindle Voyage, iPad Mini, iPhone 4, MS Surface Pro, N7
Mobi Creator accepts PNG files as input but, as you say, all it does is convert them to JPEG, so you're no better off.
HarryT is online now   Reply With Quote
Old 07-23-2009, 08:30 AM   #13
fading
Member
fading began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jul 2009
Device: Kindle
True

This is true - it does only accept PNGs as inputs and converts them to JPG, but that is also true for GIFs. It converts GIFs to JPGs as well, and yet somehow the result is noticeably better than starting off with JPGs.

Odd....

I've been using this PDFRead software to put the PDF in, which is a better solution, but I'm still getting grainy text - anyone have any useful info about how to optimize the settings in your favour using PDFRead?

Thanks,

Sam
fading is offline   Reply With Quote
Old 07-23-2009, 08:55 AM   #14
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,310
Karma: 4898871
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by fading View Post
This is true - it does only accept PNGs as inputs and converts them to JPG, but that is also true for GIFs. It converts GIFs to JPGs as well, and yet somehow the result is noticeably better than starting off with JPGs.
MobiPerl, at least, includes GIF files without conversion.
Jellby is online now   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
Charging Issues and Screen Issues srj321 Sony Reader 2 07-12-2010 12:52 AM
CoolReader Doesn't See TOC? Blossom Astak EZReader 6 07-04-2010 10:34 AM
Creating TOC thibaulthalpern PDF 3 03-27-2010 05:21 PM
TOC in Calibre? fading Calibre 5 08-14-2009 06:53 AM
Making a TOC for LRFs? Issues with Calibre + LRF TOC editor not working Magitek LRF 0 05-06-2009 02:25 PM


All times are GMT -4. The time now is 09:01 AM.


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