View Single Post
Old 03-23-2012, 02:10 PM   #1
SkookumPete
Enthusiast
SkookumPete is a rising star in the heavensSkookumPete is a rising star in the heavensSkookumPete is a rising star in the heavensSkookumPete is a rising star in the heavensSkookumPete is a rising star in the heavensSkookumPete is a rising star in the heavensSkookumPete is a rising star in the heavensSkookumPete is a rising star in the heavensSkookumPete is a rising star in the heavensSkookumPete is a rising star in the heavensSkookumPete is a rising star in the heavens
 
Posts: 42
Karma: 13888
Join Date: Jun 2011
Device: Kindle
calibre duplicating HTML files

Apologies if this has been asked before; had no idea what to search for.

I'm "adding" a book by loading this file:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" href="dill.css" type="text/css"/>
</head>
<body>

<h1>Table of Contents</h1>
<p>
<a href="FrontMatter.html">a</a><br/>
<a href="DillText.html">b</a><br/>
<a href="DillNotes.html">c</a></br>
</p>

</body>
</html>

DillText and DillNotes have links to one another. Calibre is adding these files AND it is creating two duplicate files called dilltext1 and dillnotes1, and including all four files in the MOBI conversion. There are no references in my own files to dilltext1 or dillnotes1.

What do I need to do, please?

Thx.

EDIT: Well, it's a very odd thing, but I solved the problem by using lower-case only in the hrefs shown above.

Last edited by SkookumPete; 03-23-2012 at 03:36 PM.
SkookumPete is offline   Reply With Quote