05-20-2011, 05:00 PM | #1 |
Enthusiast
Posts: 26
Karma: 22
Join Date: May 2011
Device: Kindle 3
|
Unwanted page numbers and font change
Dear all,
I'm having trouble with a few ebooks as they have some unwanted page numbers and font change. Please see the two screen-shots below Any idea how to get rid of this strange font change (Calibres font size rescaling does not help) and how to remove these page numbers in the middle of the text? Every help is appreciated. Many thanks in advance. Best regards, SoulStyle |
05-20-2011, 08:18 PM | #2 |
Well trained by Cats
Posts: 30,447
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
A convesion Guru may come by. Personally, I use Sigil on the file and build specific REGEX replaces (may take a few dozen) to fix all the variations). Last edited by theducks; 05-20-2011 at 08:25 PM. |
Advert | |
|
05-21-2011, 04:33 AM | #3 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
I don't know what would cause the font changes, but the page numbers mostly appear if your source is a page-based layout like PDF. You can easily get rid of them using the search & replace function within Calibre's conversion settings. There's a short tutorial available.
You can, of course, also correct the font changes during that step, but that would necessitate knowing what causes the change in the first place... |
05-21-2011, 05:07 AM | #4 |
Junior Member
Posts: 1
Karma: 10
Join Date: May 2011
Device: kindle
|
Your bold writing as well as the page numbers are all a different "class" from your regular text.
Page numbers are '<b class="calibre4">##</b>', while the bold text is '<span class="none2"></span>'. If you did a replace "<span class="none2">" with "<span class="none4">", your text should even out. |
05-21-2011, 11:40 AM | #5 | |
Wizard
Posts: 1,613
Karma: 6718541
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
Quote:
|
|
Advert | |
|
05-21-2011, 05:58 PM | #6 |
Enthusiast
Posts: 26
Karma: 22
Join Date: May 2011
Device: Kindle 3
|
Many thanks for all the hints. Regarding the font change, I could not figure out what was causing it and modifying class="s21" to match class="s22" did not work as strange enough both classes didn't contain and font size or "bold" instructions.
What did the trick was replacing '<span class="none2"> with '<span class="none4"> Regarding the stupid page numbers a regex in Sigil (boah, mighty stuff but as a first time contact pretty heavy ) I just replaced <b class="calibre4">\d*</b> with nothing and here we go. Again, thnx for the support BR, SoulStyle |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is there a hack for displaying page numbers rather than location numbers? | nesler | Kindle Developer's Corner | 16 | 02-15-2011 01:00 AM |
ePub - Changing Font size doesn't change page numbers | higgs | Sony Reader | 46 | 03-26-2010 03:36 PM |
unwanted table-change (vertical align) by calibre | NASCARaddicted | Calibre | 2 | 01-27-2010 04:35 AM |
epub - unwanted page break after image | mrmikel | Calibre | 5 | 07-10-2009 08:35 AM |
feed to lrf, how do I change font (or have default font) | lovemov | Calibre | 3 | 03-16-2009 11:57 PM |