09-29-2024, 10:14 AM | #1 |
Evangelist
Posts: 431
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Move text from prior file
I'm tweaking an ebook which is arranged as:
Code:
part1.xhtml /* contains chapter title */ chapter1.xhtml /* chapter text */ part2.xhtml /* contains chapter title */ chapter2.xhtml /* chapter text */ ... It would be simple but not easy to do this manually. |
09-29-2024, 03:17 PM | #2 |
Wizard
Posts: 1,351
Karma: 6794938
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Select both files
From the context menu, select "Merge selected text files". Then perform your S&R operation if still needed. |
Advert | |
|
09-29-2024, 03:20 PM | #3 |
Well trained by Cats
Posts: 30,440
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Why are they separate?
Are you still using H tags for styling? (and Calibre tends to split on those during conversion) A P tag with the same CLASS, looks the same |
09-29-2024, 03:38 PM | #4 |
Evangelist
Posts: 431
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
|
09-29-2024, 03:42 PM | #5 | |
Evangelist
Posts: 431
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
A P rather than H tag for a heading means I can't alter how the line-spacing appears on my Kobo, resulting in too much blank space between lines of large heading text, at least too much for my taste. IOW, the don't look the same due to rendering oddities, even if they should look the same. See https://www.mobileread.com/forums/sh...d.php?t=363801 And what's wrong with |
|
Advert | |
|
09-29-2024, 04:09 PM | #6 |
Bibliophagist
Posts: 40,372
Karma: 156982136
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Unless the book creators decided to have multiple classes with the same name differentiated by the tag type.
One ebook I recently cleaned up had div.chapter-title, p.chapter-title and h3.chapter-title classes, all of which had different styles. |
09-29-2024, 04:20 PM | #7 | |
Well trained by Cats
Posts: 30,440
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:
The the surgery just gets a bit trickier. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
File Move | Huskey | Library Management | 3 | 06-13-2024 07:03 PM |
How To Move Text To The Right. | Gibbo | Editor | 4 | 04-23-2022 06:51 PM |
.MOBI file not readying properly in Calibre (prior to conversion) | Saylan | Library Management | 2 | 02-01-2021 08:25 PM |
Move Footnote text above Footnotes after Conversion | hidden.platypus | Conversion | 2 | 10-16-2016 09:12 AM |
Move file to root | woodnboats | enTourage Archive | 1 | 05-15-2011 10:08 PM |