Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 11-10-2017, 02:53 PM   #1
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
Cover Images Aren't Always Being Centered

I just did a test (two separate conversions) of converting a file where the cover image was centered before the conversion and was not centered after the conversion.

The original code (created by Calibre at some time in the past when adding the cover image) for the cover image page was, as follows:

<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
<meta name="calibre:cover" content="true"/>
<title>Cover</title>
<style type="text/css" title="override_css">
@page {
padding: 0;
margin: 0;
}
body {
text-align: center;
padding: 0;
margin: 0;
}
div {
padding: 0;
margin: 0;
}
img {
padding: 0;
margin: 0;
}
</style>
</head>

<body>

<div>

<img src="cover.jpeg" alt="cover" style="height: 100%"/>

</div>

</body>

</html>


After the first conversion of the original file (with SVG unchecked and Preserve Cover Ratio checked), the cover image page and the CSS codes were:

<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
<meta name="calibre:cover" content="true"/>
<title>Cover</title>
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
<link href="page_styles.css" rel="stylesheet" type="text/css"/>
</head>

<body class="calibre19">

<div class="calibre20">

<img src="cover.jpeg" alt="cover" class="calibre21"/>

</div>

</body>

</html>

.calibre20 {
display: block;
line-height: 1.2em;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;
padding-top: 0;
}
.calibre21 {
height: 100%;
line-height: 1.2em;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;
padding-top: 0;
width: auto;
}

(NOTE: There is no "text-align: center;" in calibre20 above.)


After the second conversion of the original file (with SVG checked), the cover image page and the CSS codes were:

<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
<meta name="calibre:cover" content="true"/>
<title>Cover</title>
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
<link href="page_styles1.css" rel="stylesheet" type="text/css"/>
</head>

<body class="calibre19">

<div class="calibre20">

<img src="cover.jpeg" alt="cover" class="calibre21"/>

</div>

</body>

</html>

.calibre20 {
display: block;
line-height: 1.2em;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;
padding-top: 0;
}
.calibre21 {
height: 100%;
line-height: 1.2em;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;
padding-top: 0;
width: auto;
}

(NOTE: There is no "text-align: center;" in calibre20 above.)


I don't recall this happening until the last few weeks. I've been having to add "text-align: center;" much more often lately.
deback is offline   Reply With Quote
Old 11-11-2017, 04:07 PM   #2
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
I've looked for a plugin or another way to embed fonts without using Calibre Convert, but I haven't found anything yet. Is there any way to do this or any plugin that's not in the plugin list in Calibre that will embed fonts without changing the cover images or anything else in the epub files? That's the only reason I'm using Convert for the project I'm working on now. Thanks for any help! (And sorry to be a nuisance...)
deback is offline   Reply With Quote
Advert
Old 11-11-2017, 04:47 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,779
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by deback View Post
I've looked for a plugin or another way to embed fonts without using Calibre Convert, but I haven't found anything yet. Is there any way to do this or any plugin that's not in the plugin list in Calibre that will embed fonts without changing the cover images or anything else in the epub files? That's the only reason I'm using Convert for the project I'm working on now. Thanks for any help! (And sorry to be a nuisance...)
The Editor
Tools: Embed Referenced Fonts
theducks is offline   Reply With Quote
Old 11-11-2017, 05:07 PM   #4
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
Thanks, and sorry I wasn't more specific. I'm looking for a way to add fonts to multiple files without editing them each manually and without using Convert. I'll just keep using Convert to add the fonts (and deal with the duplicate cover images and off-center cover images that happen now and then), along with Polish and Modify ePub to do some other things.
deback is offline   Reply With Quote
Old 11-11-2017, 10:51 PM   #5
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: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://www.mobileread.com/forums/sho...d.php?t=186697
kovidgoyal is offline   Reply With Quote
Advert
Old 11-12-2017, 10:13 AM   #6
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
I gave you all the details I had. I gave you all the codes from before conversion and after conversion from the files, which should be enough to see what the problem is.

The original file had the cover centered (see the code I provided from the original file). The converted file has the cover NOT centered (see the code I provided from the converted file).

None of the conversion settings I have would cause this problem, whether I've added any additional settings from the default settings or not.

This is a problem which occurs now and then and not all the time, just as the memory and crash problems occur now and then, especially after using the program for many hours, and just as my desktop icons get changed now and then, usually after using the program for many hours.

If you're not interested, then forget about it. I'll just have to deal with the problems that occur now and then.

This forum is too hostile and rude whenever I've taken the time to tell you about problems with the program.

I give up.
deback is offline   Reply With Quote
Old 11-12-2017, 10:49 AM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,779
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by deback View Post

This is a problem which occurs now and then and not all the time, just as the memory and crash problems occur now and then, especially after using the program for many hours, and just as my desktop icons get changed now and then, usually after using the program for many hours.

If you're not interested, then forget about it. I'll just have to deal with the problems that occur now and then.

This forum is too hostile and rude whenever I've taken the time to tell you about problems with the program.

I give up.
There are many people here who use Calibre 'for hours' without crashes, without desktop Icons changing. (My Calibre runs for days between system reboots. During that time: MDE, conversion, editor are launched may times)

There is something odd about your system (add-on utilities, malware, configuration).

Given your previous statements, you are compounding your issues by making basic EPUB errors . Covers do not duplicate if they are properly identified. A image of the cover IS NOT a 'cover'. A cover has 2 components: I(flagged as cover) mage and (flagged as cover)HTML file.

EPUB coding is not the same as WEB PAGE coding. There are similarities
theducks is offline   Reply With Quote
Old 11-12-2017, 11:29 AM   #8
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
I have no malware and no add-on utilities that would cause the (few) problems I have when using Calibre. My configuration of Windows is not much different from the original installation, and anything I've changed would not affect the performance of Calibre.

When I create EPUB files, I have no problems with Calibre. You have assumed that I make basic EPUB errors, but you are wrong. I'm a perfectionist and have done a lot of research on CSS coding and how to create EPUB files. The EPUB files I've been working on recently were not created by me. I am fixing several things in many EPUB files that were created by others, mainly publishers. As you probably know, publishers make errors all the time in their EPUB files. One example is that image files and HTML pages for the images are not coded correctly, so this is not something I've done wrong. I am taking the time to fix them (working in Calibre for up to 16 hours every day). Calibre fixes those problems sometimes, and sometimes, it doesn't. I have only pointed out a couple of things that Calibre doesn't fix.

I realize that EPUB coding is similar to HTML coding and that there are differences. Being a technical person in computer use for 33 years, running a 4-line 6-computer BBS for more than 7 years, building computers for 26 years, having a 4-computer home network, and having two very popular web sites in the 90s and early 00s, I'm very familiar with how to do both.

One thing I plan to do in the near future is to replace my power supply, motherboard, and hard drive. (I added an addl 8GB RAM chip, but it made no difference.) There's a possibility that a piece of hardware in this computer is in the beginning stage of failing and might be causing the "Calibre crashing" problems I've had recently, but I also have been a much heavier user of Calibre in the last four months or so than I used to be, so I really believe that's why I've noticed more problems than other "normal" users have.

Last edited by deback; 11-12-2017 at 12:47 PM.
deback is offline   Reply With Quote
Old 11-12-2017, 12:21 PM   #9
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,779
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by deback View Post
<snip> but I also have been a much heavier user of Calibre in the last four months or so than I used to be, so I really believe that's why I've noticed more problems than other "normal" users have.
I would be hard pressed to define 'Normal Calibre user'

We have: mostly CLI users, NAS (as a server) users, Professional ebook wranglers . Grandma's (and pa's), Old farts ( )

I started in this (computer) industry supporting DEC PDP-8L's . Been doing mid-end hardware for a while

Check your Video card for a bad/clogged fan (or heatsink fins). I now buy 'fanless' (I am not a Gamer) cards , after losing many to bad fans.
theducks is offline   Reply With Quote
Old 11-12-2017, 12:35 PM   #10
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
About three months ago, I replaced a clogged (or dead, can't remember) fan in this computer and recently (about a month ago) sprayed out everything inside the computer box (which I do periodically).

I don't think my dual-monitor card has a fan, but if it does, I sprayed it. My computer box sits in a cubbyhole in the desk I use, so I also have a 5" fan (replaced a couple of weeks ago) on top of the box at the back that stays on all the time.

BTW, I've had no symptoms that any of the hardware is failing and I've also had no problems with other programs. I can't remember any crashes when using any other software. But it's been about four years since I replaced the motherboard, power supply, and hard drive, so I'm thinking it's time to update them all.

The crashes I've had usually occur when the Calibre editor is fixing errors (using Check Book) in large EPUB files. I figure the software just can't handle large files, especially when the program has been open for many hours. Closing out my browser, Explorer windows, and Editpad sometimes helps to avoid any crashes when it's working a long time to fix errors.

Last edited by deback; 11-12-2017 at 12:39 PM.
deback is offline   Reply With Quote
Old 11-12-2017, 02:32 PM   #11
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
Quote:
Originally Posted by theducks View Post
Check your Video card for a bad/clogged fan (or heatsink fins). I now buy 'fanless' (I am not a Gamer) cards , after losing many to bad fans.

After thinking about your suggestion for a while, I decided to open the case and check out the fan on my video card, since I don't remember a fan being on the card. Well, it's on the bottom of the card, and I'm positive I forgot about it being there, since I bought this Nvidia GEForce 9500 card a long time ago (probably when I hooked up my large-screen TV to my computer in 2004, but I could have bought a newer card at some time after that).

Anyway, I didn't intentionally lie when I said I had sprayed the fan if there was one. I will take that back and say that I had not sprayed the video card fan. It had lots of dust in it, there was dust caked on the blades, and the fan was not spinning. I wasn't surprised. So, I took the card out, took it apart, cleaned it all real good, screwed the 11 screws back in, and sprayed the inside of the case out (there was not much dust, since I had recently done that). Turned on the computer, and the fan is still not spinning (I didn't expect it to, though). So, I black-taped an extra new front-case fan that I had to the bottom middle of the case and hooked it into a power connector. So, we'll see if anything I just did helps solve any problems I've had in the last couple of months.

Thank you for that suggestion! I will buy a new video card when I order the motherboard and CPU. I'm not a gamer (other than playing Keno at videopoker dot com), but I'm looking at buying a Z370 MB motherboard and the i7-8700K CPU. Just have to figure out which Z370 motherboard to buy. I can install the hardware, but I don't keep up on motherboards and CPU chips much until it's time to upgrade them again.
deback is offline   Reply With Quote
Old 11-12-2017, 02:59 PM   #12
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,779
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by deback View Post
After thinking about your suggestion for a while, I decided to open the case and check out the fan on my video card, since I don't remember a fan being on the card. Well, it's on the bottom of the card, and I'm positive I forgot about it being there, since I bought this Nvidia GEForce 9500 card a long time ago (probably when I hooked up my large-screen TV to my computer in 2004, but I could have bought a newer card at some time after that).

Anyway, I didn't intentionally lie when I said I had sprayed the fan if there was one. I will take that back and say that I had not sprayed the video card fan. It had lots of dust in it, there was dust caked on the blades, and the fan was not spinning. I wasn't surprised. So, I took the card out, took it apart, cleaned it all real good, screwed the 11 screws back in, and sprayed the inside of the case out (there was not much dust, since I had recently done that). Turned on the computer, and the fan is still not spinning (I didn't expect it to, though). So, I black-taped an extra new front-case fan that I had to the bottom middle of the case and hooked it into a power connector. So, we'll see if anything I just did helps solve any problems I've had in the last couple of months.

Thank you for that suggestion! I will buy a new video card when I order the motherboard and CPU. I'm not a gamer (other than playing Keno at videopoker dot com), but I'm looking at buying a Z370 MB motherboard and the i7-8700K CPU. Just have to figure out which Z370 motherboard to buy. I can install the hardware, but I don't keep up on motherboards and CPU chips much until it's time to upgrade them again.
FWIW Spraying will not clear all lint on these type heatsinks. Disassembly is needed, then reverse air and a brush. (been there, could not see the after blast, clog with the fan in place)

Peel the blade hub label back and add a few drops of LIGHT oil for a short term fix (if it is gummed bearings).
theducks is offline   Reply With Quote
Old 11-12-2017, 03:27 PM   #13
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
If you're talking about the video card fan, I did dissemble it and cleaned it very well. I used a wet washcloth to clean the fan blades. I tried to peel back the label on the top, but I gave up on that when I could see it wasn't gonna peel back. Sprayed a little WD-40 into it, even though I know I shouldn't have. It can't hurt anything, since the fan no longer works.

If you're talking about the CPU heatsink, sometime earlier this year, I dissembled that and cleaned it very well.

I just ordered a new video card and still need to choose a motherboard and CPU chip. I'm not in a hurry to order the rest of the parts, including a new hard drive.

Last edited by deback; 11-12-2017 at 03:42 PM.
deback is offline   Reply With Quote
Old 11-12-2017, 08:55 PM   #14
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: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by deback View Post

I give up.

Sigh what makes you think that you know better than the person that wrote the code exactly what is needed to debug a conversion problems. The CSS before and after is NOT ENOUGH. CSS does not exist in isolation, its processing is affected by other things in the book. If you cannot be bothered to even follow the perfectly reasonable guidelines to ask for help, why on earth do you think anyone will be willing to waste their time trying to help you.

I also give up, good luck in your endeavors.
kovidgoyal is offline   Reply With Quote
Old 11-12-2017, 09:42 PM   #15
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
Quote:
Originally Posted by kovidgoyal View Post
Sigh what makes you think that you know better than the person "that" wrote the code exactly what is needed to debug a conversion problems. The CSS before and after is NOT ENOUGH. CSS does not exist in isolation, its processing is affected by other things in the book. If you cannot be bothered to even follow the perfectly reasonable guidelines to ask for help, why on earth do you think anyone will be willing to waste their time trying to help you.

I also give up, good luck in your endeavors.
I never said I thought I knew better than the person "who" wrote the code, but there is absolutely nothing else in my configuration that would affect the CSS codes that are in the original file for the titlepage.xhtml. I spent time typing it all up, so you would have all the details about what happened (and what happens often).

Calibre created the original code (in titlepage.xhtml) during the first conversion when the user changed the image file using conversion, so I thought (or assumed in error, since you wrote the code...my bad) that YOU would know why Calibre changes the code that Calibre created in the first place to a different code during a second conversion -- and more importantly, why Calibre doesn't include the "text-align: center;" in the CSS code for the image that's in the converted file's titlepage.xhtml, when it was in the original file's code for the image in the titlepage.xhtml file. I don't know how to say it all any clearer than this, but I realize that interpreting what I've typed will depend on the reader's understanding of what he or she read and whether he or she skimmed through it or took their time reading it in order to understand what was said.

I've never come across someone as hostile as you've been on this forum. I've seen where you've been that way with many others, and I'm sorry that you feel you have to react this way toward people. Hope you find peace with yourself.
deback is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicate Cover images Moonraker Calibre 3 07-30-2011 11:34 AM
Images...etc. aren't centered on my eReader! Please Help!!! Ephraim Sigil 14 01-03-2011 02:54 AM
"Chapter Titles & Images are not centered" Ephraim Sigil 0 12-20-2010 05:08 PM
Cover Images rogue_ronin Workshop 0 12-11-2009 03:51 PM
cover images Nate the great Workshop 7 10-25-2009 12:34 PM


All times are GMT -4. The time now is 08:33 AM.


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