Quote:
Originally Posted by ghostyjack
A few things I've noticed:
1. When importing a HTML file that includes the CSS code in it (and not in a separate CSS file) and then inserting a chapter break, all the css code now appears in the new xhtml file. I take it Sigil can't at present extract the CSS code and place it in a CSS file so that when splitting the file, I don't have to modify the CSS code in every split.
|
The intent is always to preserve original content the way it was. If your HTML file has CSS style tags, it will have them when you open it in Sigil.
If you want those style rules in a separate CSS file:
- Open Code View;
- Cut the CSS code;
- Right-click "Styles" folder in the Book Browser and create a new CSS file;
- Paste in the CSS.
- Add a new link element to you chapter.
Takes about 10 seconds.
Quote:
Originally Posted by ghostyjack
2. When splitting a file all the new files are xhtml files, but the first file is showing as a html file (a html file was opened in Sigil to create the book) and I can't rename it. Is this typical behaviour?
|
Already on the tracker. Although I still wonder why you people care whether the extension is htm, html, xhtml or whatever. Your Reading System doesn't care, and no one will be able to even see those files when you make an epub.