View Single Post
Old 08-27-2010, 03:36 AM   #1
JaneFancher
Zealot
JaneFancher has a complete set of Star Wars action figures.JaneFancher has a complete set of Star Wars action figures.JaneFancher has a complete set of Star Wars action figures.JaneFancher has a complete set of Star Wars action figures.JaneFancher has a complete set of Star Wars action figures.
 
JaneFancher's Avatar
 
Posts: 123
Karma: 496
Join Date: Feb 2009
Location: Spokane, Washington
Device: Kindle2
Problems since upgrading to 7.15

I have done several ebook conversions using Calibre and Sigil to create ToCs and embed fonts. I've been very happy. But when I brought Calibre up today, it wanted to upgrade. I allowed it to and went ahead with my most recent conversion. Suddenly, I had two problems. My cover wasn't retaining its aspect ratio and my ToC was duplicating entries. With Sigil's help and a previous book I tracked the problem with the covers to this css code:

What should have been: preserveAspectRatio="xMidYMid meet"

Was: preserveAspectRatio="none"

I changed that and all is well. But why has it suddenly stopped putting that in? I've never changed any default settings in Calibre before...is there some toggle I need to flip now?

As for the ToC...That has me totally puzzled. In the html file, I use a simple "h1" and "h2" instead of "p" in the html code for the paragraph containing the chapter and subchapter headings. Then I call for it in Calibre using either a simple "h1" or "/h1" in the chapter "xpath expression" entry. This has always worked in the past. Now, it's listing the Sections first, then starting over with the ToC as it should, except it's leaving out half the sub-sections after section 1. It's hard to explain, so I've attached a link to a screencap image. As you can see, the "sections" are listed first without their subsections, then the other level one entries begin and the sections are relisted with their associated subsections.

It's not that I can't fix it...simply saving the file in Sigil fixes the ToC problem, but I don't understand why it's happening all of a sudden.

http://www.box.net/shared/p7iylg5lz8

Any insights w/b appreciated.

Last edited by JaneFancher; 08-27-2010 at 03:50 AM. Reason: image wasn't showing, so made a link
JaneFancher is offline   Reply With Quote