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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-25-2012, 05:15 AM   #1
olafgarten
Junior Member
olafgarten began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2012
Device: HTC One X running Alkido
Chapters are all in CAPS

Hi, i have a PDF file with no page-breaks or anything between chapters, i wnat to convert it to e pub, but with chapter detection. all the chapter names are in caps.

Any help is greatly apreciated.
olafgarten is offline   Reply With Quote
Old 12-25-2012, 12:20 PM   #2
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
What I have used is:
Code:
//*[re:test(., '^[A-Z][A-Z][ A-Z-]+$')]
This is the start of an element (^) followed by two capital letters followed by at least one more capital letter or space or dash ([ A-Z-]+) with this pattern all the way to the end of the element ($).

Sometimes the ^ and/or the $ needs to be left off, but they prevent false positives when they work at all.
wallcraft is offline   Reply With Quote
 
Enthusiast
Reply

Tags
calibre, chapter, conversion, pdf

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Small Caps djulian Kindle Formats 2 04-05-2012 08:48 AM
Titles and caps? VydorScope Writers' Corner 4 10-11-2011 02:14 PM
azw to mobi: Not detecting chapters/page break at chapters and no TOC RachDvn Calibre 3 01-16-2011 09:53 AM
Unutterably Silly ANGRY CAPS Not_A_Crook Lounge 56 12-10-2009 01:16 AM
ePub Chapters vs. Stanza Chapters kjk Sigil 4 09-14-2009 10:50 AM


All times are GMT -4. The time now is 04:06 PM.


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