01-13-2010, 08:06 PM | #16 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jan 2010
Device: iPhone
|
|
01-14-2010, 06:00 AM | #17 | |
Connoisseur
Posts: 51
Karma: 10
Join Date: Dec 2008
Location: Germany
Device: SONY PRS-500
|
Unable to enter CSS code
Quote:
I tried entering the suggested code from above by viewing one of my books (Nature news) but...the window that opens up when I click on the hammer icon (for Configure) displays only two options: Use white background and Hyphenate. There is a box displayed but I'm unable to enter any code there. I only have the options of clicking on OK and Cancel(ing). Am I doing something wrong? XG |
|
Advert | |
|
02-21-2010, 11:18 AM | #18 |
Junior Member
Posts: 4
Karma: 10
Join Date: Feb 2010
Device: android
|
anyone know how to get facing pages?
|
02-22-2010, 09:03 AM | #19 |
Member
Posts: 20
Karma: 10
Join Date: Sep 2009
Device: PRS 505
|
I'm still attempting to play with recipes and struggling. If I get something like this in the viewer,
<div id="page" class="sub"> <div id="header"> <div class="menu"><ul class="menu"><li class="menu-361 first"><a href="/" title="">Home</a></li> <li class="menu-703 active-trail active"><a href="/category/article-categories/cyprus" title="" class="active"> then is it a style sheet problem. |
03-15-2010, 03:02 PM | #20 |
Member
Posts: 11
Karma: 10
Join Date: Jun 2008
Device: Kindle 3, Samsung Galaxy SII
|
It's been impossible for me to find the box in the preferences dialog to add the styles. I've searched and searched but, no way. Where is it? General, Interface, Conversion....?
Thanks |
Advert | |
|
03-15-2010, 08:40 PM | #21 |
creator of calibre
Posts: 44,774
Karma: 25490594
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Its in the prefernces for the viewer (in the viewer itself) not in general preferences. Click the ammer icon in the viewer.
|
03-19-2010, 10:26 AM | #22 |
Member
Posts: 11
Karma: 10
Join Date: Jun 2008
Device: Kindle 3, Samsung Galaxy SII
|
OK. Thanks for your help.
|
03-20-2010, 03:28 PM | #23 |
Member
Posts: 13
Karma: 10
Join Date: Mar 2010
Location: Atlanta, GA
Device: Archos 5 32GB/Android - Aldiko
|
A rookie question. I have come across some eBooks that are in straight HTML and the formatting is rather primitive. In order to get them into an ePub format I have made modifications using a stylesheet in the HTML. When I use Calibre to convert from HTML to ePub, I find that all my H1 and H2 headings are formatted into separate files inside the ePub container. If my chapter heading has, say, two lines - one formatted in H1 and the other in H2 - the result is the chapter heading broken up into separate pages when Calibre displays it. What I am after is both lines of each chapter heading as well as the text of the chapter itself displaying on the same ePub 'page'. My concern is that when I send the book to my reader (an Archos 5 32GB Android running the Aldiko eReader) I'm going to have the same issue I'm having in Calibre. For the book in question I am looking at, there are 39 separate HTML documents in the ePub container. There are only 17 chapters and a TOC. I would think I should only see at most 18 or 19 separate files, not 39 of them. Does anyone have any suggestions on what to do to fix this?
A rank amateur would like to know. Thanks ahead of time for the he'p! ) |
03-20-2010, 05:59 PM | #24 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
|
|
03-20-2010, 11:32 PM | #25 | |
US Navy, Retired
Posts: 9,878
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
|
|
06-23-2010, 08:43 AM | #26 |
Member
Posts: 10
Karma: 10
Join Date: May 2010
Device: iPod Touch
|
Calibre seems to strip away styles applied to most HTML tags (including the HTML 'a' tag, which is especially frustrating in my case--I want to style navigation bar links) when using extra css (under the "look and feel of output" tab of the GUI, or the --EXTRA-CSS switch on the command line).
Is there a workaround? |
06-23-2010, 09:08 AM | #27 |
creator of calibre
Posts: 44,774
Karma: 25490594
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre does not strip away styles, it consolidates them into a single stylesheet.
|
06-23-2010, 09:25 AM | #28 | |
Member
Posts: 10
Karma: 10
Join Date: May 2010
Device: iPod Touch
|
If I add the following "extra css," the stylesheet that Calibre generates does not include the style.
Quote:
Last edited by marcot; 06-23-2010 at 09:46 AM. |
|
06-23-2010, 10:03 AM | #29 |
creator of calibre
Posts: 44,774
Karma: 25490594
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The calibre css parser does not supported pseudo selectors.
|
06-23-2010, 10:16 PM | #30 | |
Member
Posts: 10
Karma: 10
Join Date: May 2010
Device: iPod Touch
|
After some testing, my problem has become that I cannot apply any style to the calibrenavbar class. The CSS parser seems to ignore the following "extra-css" code when applied to the navbar, whether or not it includes pseudo selectors:
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom CSS for output | deckoff | Calibre | 1 | 08-29-2010 12:55 AM |
ePub with custom .css on a 505 | dicknskip | Sony Reader Dev Corner | 3 | 06-10-2010 12:34 AM |
User stylesheets for ePub files | salty-horse | Sony Reader Dev Corner | 12 | 02-23-2010 08:44 AM |
ePub conversion: override existing css with a custom one | sbin | Calibre | 1 | 01-09-2010 05:03 AM |
Calibre's generated css for epub | brewt | Calibre | 7 | 12-29-2008 10:59 AM |