08-02-2020, 11:25 AM | #1 |
Enthusiast
Posts: 30
Karma: 10
Join Date: Aug 2011
Device: none
|
block quotes (in nonfiction)
I'm used to using extra indenting (rather than quote marks) to identify a long quote -- for print and PDF documents. But is indenting reliable across multiple different e-readers, including older ones? If not, is there any other formatting, such as italics, that would be more reliable? How do people usually handle long quotes in nonfiction ebooks?
(I'm asking here because I'd like to know for both epub and Kindle formats, but please let me know if a different forum would be better.) Thanks! |
08-02-2020, 11:53 AM | #2 |
A Hairy Wizard
Posts: 3,101
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
It ultimately comes down to the styling you want to use. There is a specific tag you can use for long block quotes...<blockquote>yadda, yadda, yadda</blockquote>. That tag has been around forever, so it should be supported in just about any reader/app out there.
You can then use your CSS to style it however you wish: Spoiler:
Last edited by Turtle91; 08-02-2020 at 11:58 AM. |
Advert | |
|
08-02-2020, 01:32 PM | #3 |
Running with scissors
Posts: 1,552
Karma: 14325282
Join Date: Nov 2019
Device: none
|
I don't know if this is the best way to do it but I use width with margin-left and margin-right set to auto and haven't noticed any problems yet.
Code:
blockquote, div.block { margin-left: auto; margin-right: auto; margin-top: 1em; width: 85%; } Code:
blockquote + p, div.block + p { margin-top: 1em; } Last edited by hobnail; 08-02-2020 at 01:35 PM. |
08-03-2020, 03:22 AM | #4 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
To better accommodate narrow screens / large fonts, it may be better to use only margin-left (say 2em, or 5%) and no margin-right.
|
08-04-2020, 02:16 PM | #5 |
Running with scissors
Posts: 1,552
Karma: 14325282
Join Date: Nov 2019
Device: none
|
|
Advert | |
|
08-04-2020, 03:31 PM | #6 |
Addict
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
I usually do something similar to your approach but I think I'm going to switch to Jellby's as it (I assume) is meant to prevent lines that are so short they are unpleasant to read on e.g. a smartphone.
|
08-05-2020, 03:19 AM | #7 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Just that, if you already have a narrow screen with short lines, and add both left and right margin, you may be left with ultra-short lines in the blockquote. Reasonable top, left and bottom margin should be enough to set the blockquote apart from the surrounding text. As an aside, don't force justification if you're not doing it for the main text (and you shouldn't). Another "trick" I sometimes use is replacing text-indent inside the blockquote with some vertical spacing between paragraphs (not a full line, something like 0.5em).
|
08-05-2020, 12:04 PM | #8 | |
Running with scissors
Posts: 1,552
Karma: 14325282
Join Date: Nov 2019
Device: none
|
Quote:
|
|
08-07-2020, 09:59 PM | #9 | ||||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Like Turtle91 said, in HTML that can be created using <blockquote>: Code:
<p>As Einstein wrote in <i>Article Title</i>:</p> <blockquote> <p>This is a long quote.</p> <p>And this is some more of a really long quote.</p> <p>And this is the end.</p> </blockquote> Quote:
Quote:
If a specific HTML entity exists, it's best to use it so devices can treat it properly... even if the device overrides CSS (like many Android readers) or doesn't have CSS at all. Similar reasoning why you want to use <i> or <em> instead of <span class="italics">, or <h1> instead of <div class="heading1">. <div> + <span> are completely blank slates... where <em> and <h1> tell the device something + may enable extra underlying functionality:
Quote:
These past few years, for similar reasoning, I've also been tempted to remove the right margin on my blockquotes to squeeze in more text. I've been doing a lot more reading on my cellphone, and some of these large blockquotes take up enormous amount of screen. This type of spacing is also called "block indent". (Paragraphs with no indent + gap between each paragraph.) |
||||
08-07-2020, 11:19 PM | #10 |
Running with scissors
Posts: 1,552
Karma: 14325282
Join Date: Nov 2019
Device: none
|
I have things that are "blocks" but not really block quotes; letter, telegram, poem, notice (sign), etc. So I use, for example, <div class="block poem">. The common / shared stuff is in the css for block, then the specific stuff is in the others (div.letter, div.poem, etc.).
It seems to me that I could instead use Code:
div.poem, div.letter, div.telegram, etc. { /* common block stuff here */ } div.poem { /* poem specific stuff here */ } Last edited by hobnail; 08-07-2020 at 11:24 PM. |
08-08-2020, 09:24 AM | #11 | |
A Hairy Wizard
Posts: 3,101
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
Code:
div { /* common block stuff here */ } div.poem { /* poem specific stuff here */ } div.letter { /* letter specific stuff here */ } div.news { /* news article specific stuff here */ } div.email { /* email specific stuff here */ } Last edited by Turtle91; 08-08-2020 at 09:28 AM. |
|
08-08-2020, 11:51 AM | #12 | |
Running with scissors
Posts: 1,552
Karma: 14325282
Join Date: Nov 2019
Device: none
|
Quote:
My understanding is that the unadorned div could be at the bottom and would still have lower precedence and be overridden by the ones above. |
|
08-08-2020, 03:12 PM | #13 | |
Addict
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
Quote:
|
|
08-08-2020, 03:26 PM | #14 | |
Running with scissors
Posts: 1,552
Karma: 14325282
Join Date: Nov 2019
Device: none
|
Quote:
But it's sort of funny; when I rework a Project Gutenberg book; they'll have all of those things that I use my block class for, letters, poems, etc. in a div and sometimes the div is in a blockquote, but it all has double quotes around it. I've taken to removing them since it's set off with indentation and obviously a "quote." |
|
08-08-2020, 03:54 PM | #15 | |
Addict
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to convert straight quotes to smart 'curly' typographer's quotes | bookman156 | ePub | 52 | 06-20-2016 03:09 PM |
Block Quotes / Moon+Reader | lazorbeam | Android Devices | 11 | 03-03-2016 11:20 AM |
Pocket and displaying (block)quotes | Anak | Kobo Reader | 3 | 12-06-2013 10:35 PM |
Textile output problem with block quotes? | Snorkledorf | Conversion | 4 | 03-07-2012 08:33 PM |
Conversion from azw: block quotes | pbw | Conversion | 0 | 02-14-2012 05:42 PM |