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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-04-2011, 09:13 PM   #1
p3aul
Captain Courageous
p3aul doesn't litterp3aul doesn't litter
 
p3aul's Avatar
 
Posts: 238
Karma: 102
Join Date: Apr 2009
Device: calibre, PRS 505
Smile TOC in the GUI

Hi!

I want to convert text files in the GUI to EPUB. The problem is how to detect chapters. some of my books have the word chapter, but others might say CHAPTER, others have roman numerals alone. others may just be a number followed by a period. Still others may just have the words like One, Two, Three and so forth. Kovid helped me out once before when I had Chapters within Parts by placing this in the preferences:

//*[name()='h1' or name()='h2' or name()='h3']

could someone help me out?
Thanks,
Paul
p3aul is offline   Reply With Quote
Old 01-04-2011, 09:27 PM   #2
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 2,905
Karma: 4329385
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"/AuraH2O
I believe checking the 'Preprocess Input file" option on the Convert - StructureDetection page is supposed to be pretty good at detecting these common types of chapter headings.

If that doesn't work for you try reading up on the details of "Process using Markdown" for TXT input (on the Convert - TXT Input page). This will definitely work but you will have to do some very simple edits to your TXT file before converting.
jackie_w is offline   Reply With Quote
 
Advertisement
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GUI suggestion carpii Calibre 3 02-27-2010 01:32 PM
Making a TOC for LRFs? Issues with Calibre + LRF TOC editor not working Magitek LRF 0 05-06-2009 02:25 PM
Gui confusements. brewt Calibre 8 12-30-2008 01:16 PM
Mobi2Mobi GUI Batch Jad Kindle Formats 8 10-22-2008 08:22 AM
iLiad GUI for the iLiad tribble iRex Developer's Corner 1 06-01-2007 03:29 PM


All times are GMT -4. The time now is 04:18 AM.


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