Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 09-25-2010, 04:35 PM   #16
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by crutledge View Post
What you describe is downright scarey! I have had no problem converting Sigil ePub to MOBI using Calibre. I use an external CSS.

e.g.

Code:
p {
  margin: 0; 
  padding: 0 0 5px 0; 
  text-indent: 1.5em;
}
Please let us know what you find.

The only thing I really dont't like is the putrid blue/purple color of the links.

Code:
a {
color: #000000;
}
doesn't work.
Hey, Crutledge:

(BTW: did my basic at Ft. Jackson SC):

I realized--see the note that I added to my original post--that if you name any of your css classes starting with a DIGIT, i.e., "1Text," (as does BookDesigner, FWIW), for reasons I do not quite understand, Calibre will ignore all those classes, and default back to the underlying class, i.e., <p>. So in other words, if I had <p class="1Text">, when I converted it, Calibre would use the <p> styling, ignoring the "1Text" class. Not sure why, but I had to redo a boatload of mobis for clients, and wasn't any too damned happy about it. (They or I).

My other Calibre "issue" isn't really a Calibre problem; my issue is that if I drop a carefully hand-crafted epub onto KindleGen, it ignores the TOC completely. Cannot figure out why--wish we had a KindleGen forum here. I have to take my epubs and convert them to mobis in Calibre; then BACK into epub in Calibre, then drag that SECOND Calibre-created epub onto the KindleGen, in order to get a clickable TOC. It's really irksome.

Does ANYONE have any idea what, in the toc.ncx, or the meta, KindleGen is ignoring or not seeing?

EDIT: I know the answer to this now; it's just a PITA. Amazon's standards in the toc.ncx and the opf are just ever-so-slightly different than a proper epub...so of course, you can't get there from here.

Crutledge--you should be able to change the color of your links; not really quite sure why you cannot. I have never bothered to do so, as I stick with what people expect...I'll experiment with it sometime shortly and let you know what I find.

Hitch

Last edited by Hitch; 09-25-2010 at 07:53 PM. Reason: Added info about Amazon.
Hitch is offline   Reply With Quote
Old 09-25-2010, 05:33 PM   #17
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 657
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
crutledge, try
Quote:
a:link{color: #000000;}
a:visited{color: #000000;}
a:hover{color: #000000;}
a:active{color: #000000;}
which would turn them all to Black, alter #colour to suit
Perkin is offline   Reply With Quote
Advert
Old 09-26-2010, 04:17 AM   #18
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Better use "color: inherit;", so that links take the same colour as normal text.
Jellby is offline   Reply With Quote
Old 09-26-2010, 09:59 AM   #19
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Link color

Somehow a couple of posts where the following CSS entrys were recommended for link color control have disappeared.

Anyway, I have tried all of these and none of them work in Calibre.
If they work for you, please tell me where I'm going wrong.

Code:
a:link {
	color: #000000;
}
a:visited{
	color: #000000;
}
a:hover{
	color: #000000;
	}
a:active{
	color: #000000;
	}
crutledge is offline   Reply With Quote
Old 09-26-2010, 10:08 AM   #20
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 657
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
Quote:
Originally Posted by crutledge View Post
none of them work in Calibre.
What do you mean by that?

If I use the codes in the stylesheet.css in sigil, then view them however
(reader/Firefox/calibre-viewer), they all display as I want.
Perkin is offline   Reply With Quote
Advert
Old 09-26-2010, 11:12 AM   #21
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: 31,054
Karma: 60358908
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 crutledge View Post
Somehow a couple of posts where the following CSS entrys were recommended for link color control have disappeared.

Anyway, I have tried all of these and none of them work in Calibre.
If they work for you, please tell me where I'm going wrong.

Code:
a:link {
	color: #000000;
}
a:visited{
	color: #000000;
}
a:hover{
	color: #000000;
	}
a:active{
	color: #000000;
	}
If your additional styles: appears listed before the defaults, the defaults cascade into effect.

BTW
color: black ;
is acceptable HTML

BTW webscriptions uses:
Code:
a[href] {
    color: blue;
    text-decoration: underline;
    cursor: pointer
    }
note the [HREF], I believe this case, the color blue applies: Always
theducks is offline   Reply With Quote
Old 10-01-2010, 12:39 AM   #22
TheCrazier
Member
TheCrazier began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Jul 2010
Device: Nook
Quote:
Originally Posted by Hitch View Post
Actually, to add to what Cap said:

I'd further add that I've run into a moderately serious problem when converting epub->mobi in Calibre, which is that if you use EXTERNAL stylesheets in Sigil, when you convert your xhtml epub Sigil file in Calibre, if you have any styling, (for indented parras, for example), you lose all the formatting except on any pages you imported which had their own internal css sheet--at least, I think that's what's happening. I'm going back to a file I'm working on today and replacing all the ss calls to the external ss and see if this resolves the problem with the epub->mobi conversion issue.

I've abruptly discovered that a BUNCH of books I've done lately (and converted from epub->mobi) have no indented paragraphs, despite being styled that way with text:indent in the external css, and working fine in epubs. I figured I would start here.

(For those of you discussing CSS).

NEVER MIND!! note to self: do NOT name css styles beginning with numbers. Calibre HATES it.

Hitch
I noticed that too and it frustrates the hell out of me...i edit through sigil, and from that send to my nook through calibre and for some reason the styles disapear when i converted it to epub....what works for me is using calibre's options when converting, it can indent when you remove spacing between paragraphs but it also has an add blank lines between paragraphs so essentially you can have both
TheCrazier is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Paragraph breaks thedevilsjester Calibre 2 09-07-2010 12:26 PM
Paragraph spacing jhempel24 Calibre 5 08-24-2010 12:14 AM
Paragraph question shrktank Calibre 2 11-29-2009 12:07 AM
trouble with indentions on conversion rick98761 Workshop 4 03-14-2009 03:57 PM
What is so unusual about this paragraph? Madam Broshkina Lounge 11 04-24-2008 03:04 PM


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


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