I have been fishing all day boss but got not a single bite. I ate the minnow (since it seemed the only nourishment I am going to get for a while) and decided to lay down my pole for the day and get a beer or two or three. For those not understanding the fishing metaphor, Kovid believes in the maxim: "Give a man a fish and he will eat for a day. Teach a man to fish and he will eat for a lifetime." Somehow he believes I have the ability to figure this out. I have no idea what gave him that impression!!!
I read the the source code of the BasicNewsRecipe as you suggested but nothing jumped out at me. I thought I might need to import the metadata TOC to make the template_css work but that was of no use.
So here is what I have done so far:
1. Searched the forum for similar issues.
2. Read almost the entire calibre User Manual.
3. Done web research on Python template_css.
4. Done web research on CSS coding and style sheets.
5. Made modification to my recipe over 30 times in both the template_css and the extra_css.
6. "Debugged" the converted file and looked at the "input" toc.ncx, style.css and the html file. In the html, there are only the following tags: <div>, <p>, <span>, <a> and <blockquote> tags, all of which I have tried to change font size, color, decoration and font weight.
Eight hours later, I am no closer to the answer than I was in the beginning. None of the foregoing has made one iota of difference. In my reading, the calibre User Manual says:
Quote:
Then there is the metadata TOC. A metadata TOC is a TOC that is not part of the book text and is typically accessed by some special button on a reader. For example, in the calibre viewer, you use the Show Table of Contents button to see this TOC. This TOC cannot be styled by the book creator. How it is represented is up to the viewer program.
|
In light of the foregoing, I wonder if I am not just spinning my wheels trying to accomplish that which can not be done.
I am 90% finished with writing a recipe for Kindle users (.mobi) that will enhance the appearance and ease of reading comic strips on their device. I do not know if the code will work under Epub or any other format as I have no way to test it.
I am hoping Kovid or some other kind member of the forum will help me finish this project. I have undertaken due diligence and put in the time trying to figure this out, doesn't that entitle me to more than a minnow?