Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 07-31-2012, 07:07 PM   #1
MrB
Very Slow Learner
MrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-books
 
Posts: 51
Karma: 788
Join Date: Jul 2012
Location: UK
Device: none
Question Keeping stuff together

When I registered I warned you I'm a total beginner and I'd be needing some very basic help, so here's Question 1:

How do I make sure that the source of a quote remains attached to the quote? e.g. If I wanted to set out something like this:

"Red hair, sir, in my opinion, is dangerous."
P.G. Wodehouse

At the moment, depending on whether or not I maximise the page, the source sometimes appears on its own on the following page.

Many thanks.
MrB is offline   Reply With Quote
Old 07-31-2012, 09:27 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: 2,588
Karma: 14407087
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
Quote:
Originally Posted by MrB View Post
When I registered I warned you I'm a total beginner and I'd be needing some very basic help, so here's Question 1:

How do I make sure that the source of a quote remains attached to the quote? e.g. If I wanted to set out something like this:

"Red hair, sir, in my opinion, is dangerous."
P.G. Wodehouse

At the moment, depending on whether or not I maximise the page, the source sometimes appears on its own on the following page.

Many thanks.
On what device or reader? You'd have to work pretty hard, if that were the only text on a "page" (screen), to make it large enough to break. However, you can try putting the text inside a div, and/or using a keep-together, BUT, be warned, many devices won't honor a keep-together in CSS.

HTH,
Hitch
Hitch is offline   Reply With Quote
 
Advertisement
Old 08-01-2012, 02:08 AM   #3
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 2,962
Karma: 1280000
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Kindle Fire HDX 8.9 , Kindle for PC
in Css you can have properties like
page-break-before: avoid
page-break-after: avoid
cybmole is offline   Reply With Quote
Old 08-01-2012, 07:41 AM   #4
MrB
Very Slow Learner
MrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-books
 
Posts: 51
Karma: 788
Join Date: Jul 2012
Location: UK
Device: none
Thank you both for your suggestions. Perhaps I should have made it clear that I have half a dozen of these quotes on the same page.

Hitch, I don't have a device. At the moment I'm simply using Sigil to convert to e-pub and looking at it on Adobe Digital Editions which I've downloaded to this laptop.

Time to get to grips with CSS methinks!

Thanks again.
MrB is offline   Reply With Quote
Old 08-01-2012, 08:23 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,086
Karma: 1444487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
If you really MUST make sure they stay together make a graphic image of it.
mrmikel is offline   Reply With Quote
Old 08-01-2012, 09:37 AM   #6
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: 6,253
Karma: 4801165
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
If you have something like:

Code:
<blockquote>
<p>"Red hair, sir, in my opinion, is dangerous."</p>
<div class="attribution">P.G. Wodehouse</div>
</blockquote>
just add "page-break-before: avoid;" the the div.attribution style. (I'm afraid some readers will not always honour it, though.)

If you don't, maybe you should.
Jellby is offline   Reply With Quote
Old 08-01-2012, 05:48 PM   #7
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: 2,588
Karma: 14407087
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
Quote:
Originally Posted by Jellby View Post
If you have something like:

Code:
<blockquote>
<p>"Red hair, sir, in my opinion, is dangerous."</p>
<div class="attribution">P.G. Wodehouse</div>
</blockquote>
just add "page-break-before: avoid;" the the div.attribution style. (I'm afraid some readers will not always honour it, though.)

If you don't, maybe you should.
Jellby's right (his CSS-fu is mighty, BTW--you could do FAR worse than to crack open some of his ePUBs and emulate him, if you are learning); the problem is, many devices do NOT honor keep-togethers or avoids. And yes, if you're going to be making books more than once, you should a) wrangle with CSS--I originally learned from W3schools, cracking open ePUBs that my then-betters had made (and I still do), and trial-and-error, with a LOT of emphasis on the "error" part, and b) try to find a device.

I won't get into a device recommendation here--that would be like a declaration of war, trust me, and it's irrelevant to Sigil--but having a device is VERY helpful. (You can find used Nooks, etc., cheaply on Craigslist, methinks.) I'm always surprised by new stuff on devices (like the time with very, very unhappy surprise hyphenation issues on Nooks.)

HTH,
Hitch
Hitch is offline   Reply With Quote
Old 08-01-2012, 10:14 PM   #8
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,059
Karma: 5939999
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Theducks learned his CSS the same way as Hitch.

Find books you like the look of and steal (borrow heavily ) the CSS ideas, trowing in your own twists.
Ducks learned about reverse engineering while on the bench.
theducks is online now   Reply With Quote
Old 08-02-2012, 01:45 AM   #9
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 2,962
Karma: 1280000
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Kindle Fire HDX 8.9 , Kindle for PC
Quote:
Originally Posted by Jellby View Post

just add "page-break-before: avoid;" the the div.attribution style. (I'm afraid some readers will not always honour it, though.)

If you don't, maybe you should.
My Sony reader honours it, so any device which uses ADE to render should do so also.

PS I've used it in <p... styles also, does not have to be in a <div.
& I learnt it my inspecting CSS in other books then googling.
cybmole is offline   Reply With Quote
Old 08-06-2012, 02:53 PM   #10
MrB
Very Slow Learner
MrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-booksMrB has learned how to read e-books
 
Posts: 51
Karma: 788
Join Date: Jul 2012
Location: UK
Device: none
Thank you all very much for sharing your wisdom.

Time for some action, not words (or rather, time for action on words!)

Thanks again.
MrB is offline   Reply With Quote
Old 09-03-2012, 09:33 AM   #11
exaltedwombat
Evangelist
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 454
Karma: 1703930
Join Date: Nov 2011
Device: none
It's quite ridiculous that every wp or dtp program doesn't have a function "Export as EPUB" that actually creates code that works on any device!

But, while readers continue to be quirky, I can continue to make a few pennies from knowing the tricks of eBook conversion! :-)
exaltedwombat is offline   Reply With Quote
Old 09-03-2012, 05:32 PM   #12
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: 2,588
Karma: 14407087
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
Quote:
Originally Posted by exaltedwombat View Post
It's quite ridiculous that every wp or dtp program doesn't have a function "Export as EPUB" that actually creates code that works on any device!

But, while readers continue to be quirky, I can continue to make a few pennies from knowing the tricks of eBook conversion! :-)
It's only ridiculous if someone believes that there is such a thing as "code that works on any device." ;-)

Don't I WISH! However, anyone who is competent in Word's styles can use Jutoh to produce perfectly serviceable basic ePUBs and MOBIs for their own eBook production (like DIY authors, etc.).

Hitch
Hitch is offline   Reply With Quote
Old 09-05-2012, 10:25 AM   #13
Oldpilot
Groupie
Oldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with others
 
Posts: 184
Karma: 2572
Join Date: Aug 2010
Device: Kindle
Occam's Razor:

"Red hair, sir, in my opinion, is dangerous." (P.G. Wodehouse)
Oldpilot is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keeping Pagination in ePub azores ePub 5 03-28-2012 01:17 PM
Keeping Wifi on? Tsaukpaetra Kindle Developer's Corner 4 11-15-2011 02:39 PM
Keeping it clean cypherslock Kobo Tablets 3 11-01-2011 08:42 PM
Keeping track of my stuff Bro Pete Writers' Corner 19 03-07-2011 07:17 PM


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


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