09-16-2013, 07:18 PM | #1 |
Evangelist
Posts: 425
Karma: 77256
Join Date: Sep 2011
Device: none
|
Left border for text within paragraph
Hi,
I'm making a ePub of a book that's been revised by the author several times. Later additions (from the original) are marked with a left rule next to the text. Something like this: If it's a matter of an entire paragraph, I can add a left border. But if I want one that only covers a few sentences, is that possible? I can only think of a div but that adds like breaks. |
09-16-2013, 08:26 PM | #2 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
The vast majority of our clients copyedit anywhere from 2-3-5 times...so you'll have to go back and remove these, too? When the next revision cycle comes out? Nyet, no, nein, nicht, don't do it. P.S.: I hope you're charging for edits. Just my $.02. Hitch |
|
Advert | |
|
09-16-2013, 11:58 PM | #3 |
Evangelist
Posts: 425
Karma: 77256
Join Date: Sep 2011
Device: none
|
The book is for myself. It's not a current book for a client but one that was published about a hundred years ago and went through about 8 or so editions. I'm trying to match the style of the printed version that indicates additions made after the first edition.
|
09-17-2013, 07:54 AM | #4 |
Obsessively Dedicated...
Posts: 3,200
Karma: 34977896
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
|
You might try inserting a graphic image of a vertical bar as a floated image. You can insert the image tag right at the beginning of the sentence that you want to mark.
Code:
/*in the CSS*/ .barleft {float: left; margin: 0 3px 0 -.5em; width: 3px; height: 5em; max-width: 10px; } /*in the HTML*/ <p>blah blah blah blah <img alt="" class="barleft" src="../Images/bar.png"/>NEW BLAH NEW BLAH NEW BLAH. old blah blah blah.</p> Of course, for different lengths of sentence you would have to style for different image heights, and it might not be all that accurate (although using ems for height might help). If it is only for personal reference, you might not be concerned about height of the bar. Or, maybe instead you could simply have a small image similar to a bullet to indicate that "here be changes." Maybe different font-faces for the different edits might be a way to go if you need it to display on a monochrome reader and can't use colored text. |
09-17-2013, 08:06 AM | #5 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
If this is for yourself, then why not save yourself the trouble and make a pdf out of it. PDF does this unusual sort of stuff without any trouble. If you can display it on your screen, you can print it to a pdf and it is a lot less work.
|
Advert | |
|
09-18-2013, 02:02 AM | #6 |
Evangelist
Posts: 425
Karma: 77256
Join Date: Sep 2011
Device: none
|
thanks grannyGrumpy for the suggestions. Since I was considering if it was possible with css, I hadn't thought of an image. Still am looking for a more accurate solution though it seems that it is just not possible at the moment.
mrmikel. ah but I have a PDF in the form of a scan. I could make a cleaner one but the want of an ePub is like any other, it's much easier to carry around and I'd have it with me always, like on my phone. |
09-18-2013, 10:44 AM | #7 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
|
09-19-2013, 03:26 AM | #8 |
Evangelist
Posts: 425
Karma: 77256
Join Date: Sep 2011
Device: none
|
Thanks Dale.
The sidebar helps for another epub I'm working on. For this one, all the additions of later editions either appear as additional (inline) paragraphs, or are additions within a paragraph. Since most of the changes are entire paragraphs, the border is ok. But for the still several sentences, I'll resort to something like putting them in parenthesis. A more elegant solution would be nice but just doesn't seem possible. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Border and text indent problem ePub to mobi | AlexBell | Conversion | 12 | 04-08-2012 08:37 AM |
Odd Paragraph Style behavior for text input | Sylver | Conversion | 8 | 02-11-2011 04:37 PM |
Continuous text with no paragraph breaks | midlifec | Calibre | 1 | 12-26-2010 04:09 PM |
PRS-700 Text border margins | Intri | Sony Reader | 2 | 11-17-2010 04:01 AM |
Text Analysis & Paragraph Detection | ahi | Workshop | 15 | 09-14-2009 11:28 PM |