Quote:
Originally Posted by tecgeo
Thanks. I get the first part but I am not a programmer by vocation. Where do I find the CSS? Is that in Calibre somewhere?
|
The CSS, if there is any, may be in your HTML file at the top, in the <head>...</head> section between <style>...</style> tags.
Alternatively, it may be in an external .css file (often in the same dir as the HTML file). If this is the case then there will be a link in the <head>...</head> section at the top of the HTML file looking something like
Code:
<link rel=stylesheet type="text/css" media=all href=xyz.css>
Quote:
Originally Posted by tecgeo
I was hoping there was a way to grab the existing title value and stick it in the ToC.
|
Do you mean your HTML headings look something like this?
Code:
<h1 title="Chapter 1"></h1>
If so, there may be an easy way for Calibre to deal with them but unfortunately I don't know what it is. Maybe someone more expert will be able to help.
In the meantime, if this was my file, I would open it in a good text editor (e.g. Notepad++) and use mass Find/Replace to convert the old format to the new using simple regular expressions. But this is only an option if you're comfortable with regular expressions. I would then re-import the new HTML into Calibre and convert as usual.