Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 02-15-2016, 06:10 AM   #1
Waylander
Guru
Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.
 
Posts: 665
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 16GB, Kindle Paperwhite 6, Kobo Clara,
Removing Soft Scene Breaks

I tried to remove soft scene breaks in an azw3 from Ballantine Books using the heuristic processing tools, trying to replace the soft scene break with a hard scene break of three asterisk stars. This didn't work and I ended up losing the scene breaks completely.

The book has those really annoying small gaps between paragraphs, and the scene breaks are also really small. I usually either do what I tried above or remove margins and the remove paragraph spacing in the appearance section.

What else can I try? Bear in mind I'm a complete novice with css beyond the very basics so you'll have to lay it out step by step.

Last edited by Waylander; 02-19-2016 at 01:25 PM.
Waylander is offline   Reply With Quote
Old 02-19-2016, 01:25 PM   #2
Waylander
Guru
Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.Waylander ought to be getting tired of karma fortunes by now.
 
Posts: 665
Karma: 2905052
Join Date: Oct 2013
Device: Kindle Paperwhite 5 16GB, Kindle Paperwhite 6, Kobo Clara,
Anyone got any ideas? I'd really appreciate some help, because then I can go on to do more complex (for me) conversions for myself.
Waylander is offline   Reply With Quote
Advert
Old 02-20-2016, 01:01 AM   #3
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
There is actually no simple way to change scene breaks that is guaranteed to work for all books, because some publishers who use a space to mark scene breaks might also use the exact same style for spaces that are not scene breaks, and there is no certain way to know which are supposed to be scene breaks and which are suppposed to be something else without reading the book.

But assuming the publisher has used a unique style for scene breaks, say something like:
Code:
<p>... last line of previous scene.</p>
<p class="newscene">First line of next scene ...</p>
where p.newscene is something like:
Code:
p.newscene {
  margin-top: 1.5em;
  text-indent: 0;
}
Then you can search the html for:
Code:
</p>
<p class="newscene">
and replace it with something like:
Code:
</p>
<h6 class="myscenebreak">* * *</h6>
<p class="mynewscene">
and add h6.myscenebreak and p.mynewscene to the stylesheet:
Code:
h6.myscenebreak {
  font-size: 1em;
  font-weight: normal;
  margin-top: 1em;
  margin-bottom: 1em;
  text-align: center;
}
p.mynewscene {
  text-indent: 0;
}
However there are a million different ways the publisher can do the scenebreaks, the above is just one example, so you need to treat every book as a special case.
GeoffR is offline   Reply With Quote
Old 02-20-2016, 09:55 AM   #4
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 13,466
Karma: 239219453
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
If you want help with this specific book, you can send me a sample via PM (scene break included) and I'll look at it. That is, if sending a sample of a copyrighted work is permitted here.
But as the previous poster said, the next book is probably formatted in a different way and must be fixed using a different method.
Sirtel is offline   Reply With Quote
Old 02-20-2016, 10:25 AM   #5
theducks
Well trained by Cats
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: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Sirtel View Post
If you want help with this specific book, you can send me a sample via PM (scene break included) and I'll look at it. That is, if sending a sample of a copyrighted work is permitted here.
But as the previous poster said, the next book is probably formatted in a different way and must be fixed using a different method.
I don't think there is a problem with 2 or 3 Paragraphs (maximum) worth of code and the matching CSS sections
theducks is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Css for keeping scene breaks? Waylander Conversion 1 12-11-2013 09:12 AM
Questions about scene breaks in conversion lunixer Conversion 8 08-14-2011 03:36 AM
Managing Scene Breaks during Conversion Nathan0015 Conversion 8 06-17-2011 09:38 AM
Scene Breaks - Using more than one type ghostyjack Workshop 7 04-07-2011 07:33 AM
Maintaining scene breaks wellington Calibre 6 07-18-2010 08:43 PM


All times are GMT -4. The time now is 09:19 PM.


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