![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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? |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | ||
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
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> Quote:
|
||
![]() |
![]() |
![]() |
|
![]() |
||||
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 |