Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 12:05 PM   #1
fogice
Groupie
fogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of light
 
Posts: 175
Karma: 12092
Join Date: May 2014
Device: Kobo Libra 2
Help with "Split at Multiple Locations" catching too much

I have a book where the author put the entire text in one file with no chapter breaks. Instead, there are break sections with "* * *".

I tried to set up a split based on "class = p1", which the author used for the section breaks. Unfortunately, it also catches paragraphs where "class = p11", "class = p12", etc.

How can I restrict this correctly? The "*" symbol only appears in the section breaks, if that helps.
fogice is offline   Reply With Quote
Old Yesterday, 04:02 PM   #2
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,322
Karma: 6700864
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Are there any chapter headings using the <h > tags? You could split on those.

If not, then I would run a Search and replace.
Search <p class="p1">* * *</p>
Replace <h2>* * *</h2>

Then split on the h2 tags. Then run another S&R to delete those tags once finished.
Karellen is online now   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre-generated epub (from .docx) gives "e21027" "multiple opf files" on KindleGen GhostRider Conversion 2 08-28-2024 10:14 AM
Split at multiple locations : Help Needed gtriever Editor 18 12-04-2023 06:12 PM
"split" book record if it has multiple formats birkmaggs Library Management 8 09-29-2018 07:38 PM
hierarchy feature using rough "Dewey number" instead of "genre" - multiple DDCs? kite Library Management 4 10-13-2014 09:53 AM
"Locations" vs. Pages in K3 - AAAAAAAH! friktion Amazon Kindle 105 10-08-2010 03:01 AM


All times are GMT -4. The time now is 03:22 AM.


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