Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 09-16-2013, 07:18 PM   #1
democrite
Evangelist
democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.
 
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.
democrite is offline   Reply With Quote
Old 09-16-2013, 08:26 PM   #2
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
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:
Originally Posted by democrite View Post
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.
I know that this isn't answering your question, but...seriously? Tell him/her to keep their Proof sheet and look it up by either ADE page number (or whatever) or by searching for the replace text. Man, you gotta be kidding me. I certainly wouldn't do this for our clients. They are perfectly capable of finding their edits, trust me on this. We're 2,000+ books into this, and if you try to do this, you'll drive yourself to insanity.

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
Hitch is offline   Reply With Quote
Advert
Old 09-16-2013, 11:58 PM   #3
democrite
Evangelist
democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.
 
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.
democrite is offline   Reply With Quote
Old 09-17-2013, 07:54 AM   #4
GrannyGrump
Obsessively Dedicated...
GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.
 
GrannyGrump's Avatar
 
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>
The negative left margin would make it display out in the margin, rather than flush with the text.

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.
Attached Thumbnails
Click image for larger version

Name:	barLeft-screenshot.jpg
Views:	171
Size:	58.7 KB
ID:	111217  
Attached Files
File Type: epub verticalBar.epub (2.7 KB, 105 views)
GrannyGrump is offline   Reply With Quote
Old 09-17-2013, 08:06 AM   #5
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
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.
mrmikel is offline   Reply With Quote
Advert
Old 09-18-2013, 02:02 AM   #6
democrite
Evangelist
democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.
 
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.
democrite is offline   Reply With Quote
Old 09-18-2013, 10:44 AM   #7
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
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
You might try a sidebar. see https://wiki.mobileread.com/wiki/Example_ePub in our wiki.

Dale
DaleDe is offline   Reply With Quote
Old 09-19-2013, 03:26 AM   #8
democrite
Evangelist
democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.democrite will give the Devil his due.
 
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.
democrite is offline   Reply With Quote
Reply


Forum Jump

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


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


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