Bookshelf | Reports | Community | KDP Select

Home » Amazon KDP Support » Ask the Community » Formatting

Thread: Formatting an ebook properly in Word or in WordPerfect, OpenOffice or HTML


Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 439 - Pages: 30 [ Previous | 1 2 3 4 5 6 7 | Next ] - Last Post: Nov 7, 2017 8:23 PM Last Post By: Barry A. Ellswo... Threads: [ Previous | Next ]
playitagainhist...

Posts: 4
Registered: 12/13/07
Re: Guidelines on creating Table of Contents, Cover & Beginning links properly
Posted: Dec 9, 2010 7:27 PM   in response to: man2010 in response to: man2010
Click to report abuse...   Click to reply to this thread Reply
Or... just use a program called Legend Maker, which does all that stuff (and more) automatically.
man2010

Posts: 2,048
Registered: 01/01/10
Re: MBP_TOC.HTML file
Posted: Dec 10, 2010 12:18 AM   in response to: bevehoward in response to: bevehoward
Click to report abuse...   Click to reply to this thread Reply
[i]Might I impose on you to post that file as well?[/i]

the file is attached. If you read the main post from start to finish this should answer all questions about TOC ;-)

If you are curious, KindleGen will not let you build a sample book from the files I provided because there are a lot of dead and missing links in the truncated book file.
man2010

Posts: 2,048
Registered: 01/01/10
Re: Guidelines on creating Table of Contents, Cover & Beginning links prope
Posted: Dec 10, 2010 12:40 AM   in response to: bevehoward in response to: bevehoward
Click to report abuse...   Click to reply to this thread Reply
[i]your book, ... is also now waiting to be read...[/i]

thanks
bevehoward

Posts: 250
Registered: 09/22/10
Re: MBP_TOC.HTML file
Posted: Dec 10, 2010 7:08 AM   in response to: man2010 in response to: man2010
Click to report abuse...   Click to reply to this thread Reply
Thanks for the toc file... a quick look suggests to me that it's structure contains clues on how to make and simplify toc entries within a book source html file.

Testing necessary... will report back.

Highly appreciated,
Beverly Howard
informandenligh...

Posts: 84
Registered: 03/16/10
Re: Guidelines on creating Cover, ToC, Beginning, and NCX; plus HTML template
Posted: Dec 21, 2010 10:02 AM   in response to: man2010 in response to: man2010
Click to report abuse...   Click to reply to this thread Reply
Many thanks, MAN2010, for a most useful post!!

I have now got my book 'in review' status!
man2010

Posts: 2,048
Registered: 01/01/10
Re: Guidelines on creating Cover, ToC, Beginning, and NCX; plus HTML template
Posted: Dec 21, 2010 8:10 PM   in response to: informandenligh... in response to: informandenligh...
Click to report abuse...   Click to reply to this thread Reply
you're welcome
ilgaj

Posts: 1
Registered: 01/17/11
Re: Guidelines on creating Cover, ToC, Beginning, and NCX; plus HTML template
Posted: Jan 20, 2011 5:05 PM   in response to: man2010 in response to: man2010
Click to report abuse...   Click to reply to this thread Reply
Wow! Thanks for the wonderful how-to. I'm new to coding for Kindle books, but have done HTML coding since before the year 2000.

The only thing I would like to add to your instructions is that I have been using a wonderful program called Arachnophilia to do HTML coding. It's a very basic program that types the HTML for you by clicking on a button. I would recommend using it instead of Notepad.

Just Google it, but download the non-Java (old) version. I like that version better because it takes up very little disk space and is super easy to install. Best is that it's free (Careware).

Arachnophilia also allows a preview, which opens a browser window with your HTML document in it. It does a pretty good job of showing what you will get.

If you make a mistake with the coding such as forgetting an end code, then the color of your coding changes, making it obvious you have a mistake.

Try it - you'll like it much better than coding in Notepad.

ilgaj
man2010

Posts: 2,048
Registered: 01/01/10
Re: Guidelines on creating Cover, ToC, Beginning, and NCX; plus HTML template
Posted: Jan 20, 2011 7:13 PM   in response to: ilgaj in response to: ilgaj
Click to report abuse...   Click to reply to this thread Reply
Thanks for this suggestion. I will test this program and may add it to the "guidelines". I am not an IT professional and it is nice to receive some pointers from one ;)
jwarham2

Posts: 40
Registered: 01/24/11
Re: Guidelines on creating Cover, ToC, Beginning, and NCX; plus HTML template
Posted: Jan 24, 2011 2:02 AM   in response to: man2010 in response to: man2010
Click to report abuse...   Click to reply to this thread Reply
Thank you for your excellent post on TOCs. However, I am still having a problem. I have created the NCX file and declared it in the manifest of the OPF file but when I edit the <spine> section from <spine> to <spine toc="toc2">, the MBC build fails and there is no message to explain the failue. It just hangs up. If I put the spine back to it's original saetting then the build completes with no errors but, of course, there is no NCX TOC.

I would appreciate any help you miht be able to give me.
man2010

Posts: 2,048
Registered: 01/01/10
Re: Guidelines on creating Cover, ToC, Beginning, and NCX; plus HTML template
Posted: Jan 24, 2011 6:55 PM   in response to: jwarham2 in response to: jwarham2
Click to report abuse...   Click to reply to this thread Reply
the procedure I described for NCX only works with KindleGen, I tried using it with MobiPocket Creator myself once or twice and it failed. If you use KindleGen as described in the main post, then everything should go smoothly.

Message was edited by: man2010
jwarham2

Posts: 40
Registered: 01/24/11
Re: Guidelines on creating Cover, ToC, Beginning, and NCX; plus HTML template
Posted: Jan 24, 2011 8:47 PM   in response to: man2010 in response to: man2010
Click to report abuse...   Click to reply to this thread Reply
OK thanks very much for your help
jwarham2

Posts: 40
Registered: 01/24/11
Re: Guidelines on creating Cover, ToC, Beginning, and NCX; plus HTML template
Posted: Feb 5, 2011 3:35 PM   in response to: man2010 in response to: man2010
Click to report abuse...   Click to reply to this thread Reply
Interestingly, I have now found that if you amend the opf file as described, the MPC build fails. However, if you run KindleGen to build a MOBI file, MPC will subsequently build normally. I do not know why but it works.
man2010

Posts: 2,048
Registered: 01/01/10
Re: Guidelines on creating Cover, ToC, Beginning, and NCX; plus HTML template
Posted: Feb 5, 2011 9:13 PM   in response to: jwarham2 in response to: jwarham2
Click to report abuse...   Click to reply to this thread Reply
Interesting. I am guessing this has to do with the changed toc-mbp_toc_intermediary.xml file in the _opfcache folder because none of these programs changes the .opf file while building the final book.

That file is also key to the fate of the mbp_toc.html file. If the intermediary has an older "Date modified" on it than the .opf file, both KindleGen and MPC will rebuild mbp_toc.html. This problem can be prevented if you change your system date while editing the .opf file.
jsf1000

Posts: 14
Registered: 02/27/11
Re: Guidelines on creating Cover, ToC, Beginning, and NCX; plus HTML template
Posted: Mar 6, 2011 3:27 PM   in response to: man2010 in response to: man2010
Click to report abuse...   Click to reply to this thread Reply
I'm trying to get KindleGen to work and am having more negatives than positives at the moment.

I'm not an HTML wizard, but I'm no dummy either. My first several websites in the 90s were written from scratch. My code for my book is really pretty straight forward.

The first time I tried to use KG (using my MPC opf file as a start), I kept getting "opt version: try to minimize <default>" error

then a return to the c-prompt

thinking it was complaining about my cover size, which was a bit over what you recommended, I reformatted as per your very nice instructions. I finally got KG to work, but the MPC-created TOC (which worked fine in the prc format) gave all hyperlink errors.

Saving you the long version, I ended up starting over, got down to my basic files, generated a prc file with my TOC (embedded in the file with a div ID tag, referenced in MPC's "guide" funtion) rather than MPC's TOC. I ran Kindlegen and voila! Got a lovely mobi file.

Except the "go to beginning" was taking you the wrong place. I went and checked the file. I'd put the "start" tag you recommended in the right place, but it wasn't working. I tried moving that tag to the beginning of the book, saved...and this time when I tried to run KindleGen, I got that expletive deleted "opt version: try to minimize <default>" msg again.

Does any of this make sense to you?
notjohn

Posts: 15,239
Registered: 01/06/10
Re: Guidelines on creating Cover, ToC, Beginning, and NCX; plus HTML template
Posted: Mar 6, 2011 5:04 PM   in response to: jsf1000 in response to: jsf1000
Click to report abuse...   Click to reply to this thread Reply
[i]I'm not an HTML wizard, but I'm no dummy either. My first several websites in the 90s were written from scratch. My code for my book is really pretty straight forward.
[/i]
Then probably your best bet is to upload the html and skip all the intermediary stuff.
Legend
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums