RE: How to upload a MOBI?
(03 Oct 2012 12:34 AM)phaeton Wrote:(02 Oct 2012 03:26 PM)J.S.Egan Wrote: Okay - do NOT do that for the spaces! Instead, we can add some space before ALL the sub-titles - we'll do that later!
Using separate files is fine.
Ok thanks. What about my idea to wrap a chapter at a time, then preview, instead of the whole MS at one go please?
P
You can do each chapter seperately (good idea!)
But if you wnat to preserve all the globale indexing, headings etc, it can be nice to look at them by assembling the whole thing
eg. make a file called "book.html" with:
<html>
<head>
<title>My book</title>
</head>
<body>
<p>Here's my book so far</p>
<p>
<object type="text/html" data="intro.html"></object>
<object type="text/html" data="chapter1.html"></object>
</p>
<!-- this is a comment line could be a place maker for other chapters -->
</body>
</html>
and then your chapters can be done individually (but you should leave out the <html><body></body></html> wrappers on the chapters, since it's already in the "book.html" file)
eg chapter1.html
<h1>Chapter1</h1>
<p>loren ipsos........</p>
<p>another paragragh</p>
<h3>End of chapter 1<h3>
<hr>
You can comment out or leave in chapters in the book.html file as you need.
(The "proper" way to include chunks of html in another html file is to use an include tag, but this only really works when every thing is sitting on a server, which assembles them all. It doesn't work when you are looking at the files on your own computer with a web browser)
Chris




