View Single Post
Old 04-12-2011, 04:20 PM   #7
FatDog
Witless protection Agent
FatDog ought to be getting tired of karma fortunes by now.FatDog ought to be getting tired of karma fortunes by now.FatDog ought to be getting tired of karma fortunes by now.FatDog ought to be getting tired of karma fortunes by now.FatDog ought to be getting tired of karma fortunes by now.FatDog ought to be getting tired of karma fortunes by now.FatDog ought to be getting tired of karma fortunes by now.FatDog ought to be getting tired of karma fortunes by now.FatDog ought to be getting tired of karma fortunes by now.FatDog ought to be getting tired of karma fortunes by now.FatDog ought to be getting tired of karma fortunes by now.
 
Posts: 290
Karma: 1002898
Join Date: Nov 2009
Location: Los Angeles
Device: Kindle
Quote:
but do I really have to add the stylesheet link to every section file? that's less elegant
I am having the same problem.

I cut/paste text into Sigil to create 1 HTML file. Then I add in my stylesheet to get indentation and things the way I like it. (My needs are pretty basic so the stylesheet is pretty simple).

Then I find the chapter breaks in the text and use the "Add Chapter Break" menu to break the huge HTML into smaller chunks.

But 002...00N HTML files do not inherit the stylesheet from the first page. The second, third, HTML files also seem to put some empty tags between paragraphs that I then have to use Search/Replace to remove to avoid tag-bloat. Then I have to use more regex to put in the stylesheet tag in the 002-00N pages.

I understand that the pre-story HTML pages for the copyright, TOC, Preface, etc. might require a more complicated stylesheet than later pages. But it seams natural to me that if you break up 1 big HTML file into smaller chapter-sized files with the "Insert Chapter Break" feature - the resulting pages should include the stylesheet and follow the format of the original/massive HTML page.

Or - be able to right-click a style-sheet and choose a menu item that says "Apply stylesheet to all Chapters" and let Sigil do the search and replace.

Note: I am enjoying Sigil. I sit with it on an old Dell laptop while keeping an eye on the TV with the rewind button if I miss something. I'm not creating new content in epub but converting legacy content. I know I am not playing to Sigil's strengths using it to convert, but the ability to convert and see the results and edit small changes is wonderful.

Last edited by FatDog; 04-12-2011 at 04:28 PM.
FatDog is offline   Reply With Quote