View Single Post
Old 03-29-2013, 02:50 AM   #1
Kimble
Member
Kimble began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Nov 2010
Device: Kindle. Boox Leaf2
Copying CSS headers to following chapters in Sigil

Is there any way to automate the copying of altered CSS headers to subsequent chapters in Sigil?


This is the background to the question -

I am preparing a book of poetry in Sigil. It then goes to Calibre to convert to Mobi and is emailed to my Kindle to check appearance, formatting etc.

I started in Sigil with a single file of 36 poems, experimented with style sheet commands to get a format that looked good, and then separated the poems so they act as chapters to make the TOC work as simply as possible.

I then noticed that when the Kindle splits a long line it right justifies the first section, which creates large spaces between words and looks awkward and mis-matched to the rest of the poem.

So I went back into Sigil to add a text-align: left; command to the CSS for my p.poem style.

I sent the new mobi to the Kindle, no change in the longer lines. It took an hour or so of investigating how to get the Kindle to obey the command before I found I'd made a Sigil mistake.

My mistake was in thinking that putting the CSS command in the top file, what was once the only CSS sheet in the doc, it would be obeyed by subsequent chapters. Wrong. So I manually copied the command to every chapter's CSS. Success.

My question:
Is there any way to automate the copying of altered CSS headers to subsequent chapters in Sigil?
Kimble is offline   Reply With Quote