Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 07-29-2013, 04:28 PM   #1
ficbot
Wizard
ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.ficbot ought to be getting tired of karma fortunes by now.
 
Posts: 2,409
Karma: 4132096
Join Date: Sep 2008
Device: Kindle Paperwhite/iOS Kindle App
Best way to format quotes?

I am putting together some ebooks off of a public domain website (The Baldwin Project) for my own reading and use. I have found that the book chapters, which I am cutting and pasting straight into Sigil, are blessedly composed of good, clean HTML. They are pasting in as <div> </div> paragraphs; I have been replacing the <div> tags with <p> tags and adding heading formatting to use for the table of contents, and the books are coming out looking very nice.

The only problem I am having is that these books cite a lot of poetry in them as brief little quotes at the top of the chapter. When I import the books into Calibre, I re-convert them to epub to remove the spacing between paragraphs and add an indent, and this is messing up how the quotes look.

If I can use special formatting on these before I convert them to set off the text as a blockquote, will they stay formatted as I want to once Calibre adds the indents? Or should I convert them as I have been, then go back and edit the quote parts after, as a blockquote or centred line or something? What is the best practice for this sort of thing?

Finally, not related to the above question, but I am wondering if its okay to share the books here. The website posts books which are all in the public domain, so technically the text of free for grabs. And I am doing my own formatting and tweaking of it. But the site's editor did take original page scans, clean them up and put in her own work on them. So should I just keep them for personal use, or given that the texts are public domain, is it ok to share them?
ficbot is offline   Reply With Quote
Old 07-30-2013, 03:14 AM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
I would advise not to use Calibre for that, but make the changes in your stylesheet yourself. Calibre makes a mess out of the stylesheet and will mess up your code.
Toxaris is offline   Reply With Quote
Advert
Old 07-30-2013, 03:31 AM   #3
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by ficbot View Post
If I can use special formatting on these before I convert them to set off the text as a blockquote, will they stay formatted as I want to once Calibre adds the indents? Or should I convert them as I have been, then go back and edit the quote parts after, as a blockquote or centred line or something? What is the best practice for this sort of thing?
I would recommend learning some CSS, and formating with something like:

Code:
<h1>Chapter 4</h1>

<div class="epigraph">
<div class="line">’Twas brillig, and the slithy toves</div>
<div class="line">Did gyre and gimble in the wabe:</div>
<div class="line">All mimsy were the borogoves,</div>
<div class="line">And the mome raths outgrabe.</div>
</div>

<p>After three whole chapters of adventures, the fourth chapter starts here...</p>
One could be less verbose in the epigraph coding too. The CSS will make sure the epigraph's alignment and margins are correct, and the poem lines are formatted accordingly. Have a look at this thread for some ideas.

Quote:
Finally, not related to the above question, but I am wondering if its okay to share the books here. The website posts books which are all in the public domain, so technically the text of free for grabs. And I am doing my own formatting and tweaking of it. But the site's editor did take original page scans, clean them up and put in her own work on them. So should I just keep them for personal use, or given that the texts are public domain, is it ok to share them?
If the author (and translator, and illustrator, etc.) died more than 70 years ago, it's OK to post it here. But if there is extra content (commentaries, notes, etc.) you should consider this content's author too. In any case, it's of course good manners to at least acknowledge the source of your text.
Jellby is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change single quotes to double quotes Elfwreck Workshop 16 04-26-2013 10:06 AM
Single quotes to double quotes? lunixer General Discussions 35 10-10-2010 05:47 AM
convert straight quotes to curly quotes alansplace Calibre 3 09-25-2010 03:51 PM
Quotes novels.books Astak EZReader 4 10-26-2009 09:56 PM
Other Fiction Dickens, Charles: David Copperfield with US format smart quotes v1, 23rd Aug 2009 ectoplasm ePub Books 6 08-24-2009 05:08 PM


All times are GMT -4. The time now is 10:03 PM.


MobileRead.com is a privately owned, operated and funded community.