View Single Post
Old 04-09-2013, 11:41 AM   #13
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Yup, do your thing in Wordperfect and then select all, copy, go to Sigil new document, and paste. You can save as a text file, but it might end up throwing in carriage returns which might appear as breaks at the end of each line or each line is a paragraph.

CSS-Cascading Style Sheet. What is means is that instead of putting in styling information every time you want to change the text from standard paragraph text, you use a stylesheet in which you define what you want to happen every time you use that class.

Say you are writing about cities of the world. You want them to be bold and and italicized in the document. You can put both of these into the text every time you want them to be that way. Or you could define a class of .cities in a stylesheet. In the stylesheet you define what .cities means. The advantage of this is if you decide they should be underlined or whatever, you simply change the definition in the stylesheet and presto, everyplace where you have called forth that class in your document is changed.

Otherwise you have to go through your document and change every single one. You can try doing it by search and replace, but you might change something you did not intend, so you probably end up doing it one by blinking one.

A stylesheet can look like this:
.capt {margin-left:30%; margin-right:30%; font-size:80%; text-align:left;text-indent:0px;}
h2, h3, h4 {text-align:center;}
.quote {margin-left:5%; margin-right:5%;text-indent:0px;}
p
{
text-indent:30px;
}

All paragraphs are indented, headers 2-4 are centered and captions have the margins brought in from both sides are centered and have smaller text, and quotes have margins brought in from both sides so as to stand out from the surrounding text.

To make a quote paragraph it would start like this:

<p class="quote">This is a quote paragraph</p>

If you don't define a class you have to put in the information that is shown in the stylesheet into the document every time you want it.

There is info on CSS at:
http://www.w3schools.com/css/default.asp
but not all css for web pages works in epubs. That is why it is useful to check your work from time to time in your reader.

Last edited by mrmikel; 04-09-2013 at 01:14 PM.
mrmikel is offline   Reply With Quote