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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-06-2009, 09:53 PM   #1
JJH1947
Junior Member
JJH1947 began at the beginning.
 
JJH1947's Avatar
 
Posts: 7
Karma: 10
Join Date: Jan 2009
Device: None
Multiple HTML Files

Regarding this information in the Calibre User Manual
--
In order to convert a collection of HTML files in a specific oder, you have to create a table of contents file. That is, another HTML file that contains links to all the other files in the desired order. Such a file looks like:

<html>
<body>
<h1>Table of Contents</h1>
<p style="text-indent:0pt">
<a href="file1.html">First File</a><br/>
<a href="file2.html">Second File</a><br/>
.
.
.
</p>
</body>
</html>
--
do the Second, Third, etc. files need to include HTML header information or should they be treated as if the one original file was sliced at, let's say, the end of each chapter. In other words, if the one original file only contained one <body> and one <html> statement, should the Second, Third, etc. files contain <body> and <html> statements or not?
JJH1947 is offline   Reply With Quote
Old 04-07-2009, 12:25 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 24,805
Karma: 4369673
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
they should contain <html> and <body>. But if you have one html file to start with, why are you splitting it up into multiple files?
kovidgoyal is online now   Reply With Quote
Old 04-07-2009, 02:00 AM   #3
JJH1947
Junior Member
JJH1947 began at the beginning.
 
JJH1947's Avatar
 
Posts: 7
Karma: 10
Join Date: Jan 2009
Device: None
I guess this shows my ignorance of exactly how Calibre operates. If I have one HTML file, I do not need to split it -- correct?
JJH1947 is offline   Reply With Quote
Old 04-07-2009, 02:33 AM   #4
pepak
Fanatic
pepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura about
 
Posts: 594
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-505
Correct. Calibre will do the splitting.
pepak is offline   Reply With Quote
Old 04-07-2009, 10:24 AM   #5
JJH1947
Junior Member
JJH1947 began at the beginning.
 
JJH1947's Avatar
 
Posts: 7
Karma: 10
Join Date: Jan 2009
Device: None
Thank you!
JJH1947 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
Merging multiple HTML files into one HTML file skoobwoman Workshop 44 01-01-2012 01:43 PM
[Old Thread] Joining multiple html files RosanaE Calibre 4 04-22-2011 06:56 PM
TOC filter and Multiple HTML Files Beedrew Calibre 1 07-20-2010 10:32 PM
Txt files - Convert to Epub - Multiple files into one book - noob help Cernan Calibre 6 05-18-2010 10:12 AM
Converting multiple HTML files into a single hyperlinked PDF? Jürgen Hubert Reading and Management 6 01-11-2010 07:44 AM


All times are GMT -4. The time now is 03:22 AM.


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