Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-16-2015, 01:34 AM   #1
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,586
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
Structure Detection - trying to learn

I'm trying to better understand the "Structure Detection" preferences in Calibre conversions.

1. Is the purpose of "Structure Detection" primarily (or entirely) to determine where page breaks are inserted and/or files are split? Anything else it does?

2. Most of my ebook conversions are EPUB to AZW3 or MOBI. If the EPUB is well-made, with each chapter and section split into a separate file, can I safely set Detect chapters to "/", Chapter mark "none" and Insert page breaks before to "/"? Will doing this ensure that the resulting AZW3/MOBI has the same page breaks as the original EPUB?

3. Occasionally I build my own ebook from a single HTML file using <h1> and <h2> for chapter headings. If I specify <h1> and <h2> for chapters in the Table of Contents prefs and use CSS to insert the proper page breaks (page-break-before: always), can I leave the Structure Detection settings "off" per above?

4. If I leave Structure Detections settings "off" per above, will that have any affect on how the Table of Contents is built?

Thank you for any insights and enlightenment!
odamizu is offline   Reply With Quote
Old 09-16-2015, 01:38 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Most of this is discussed in http://manual.calibre-ebook.com/conv...ture-detection
kovidgoyal is offline   Reply With Quote
Advert
Old 09-16-2015, 12:47 PM   #3
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,586
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
Thanks! I did read the Calibre manual before posting my question, but sadly, I did not understand enough of it Perhaps this requires more technical understanding than I have

I generally leave the Structure Detection settings alone (defaults), and that works fine for the most part. But on a couple ebooks recently, I started getting unwanted page breaks. Fiddling with the settings solved the problem, but I didn't really understand why. It was more, "hmmm ... let's see what happens if I try this -- oho! that solves it, not sure why."

I guess what I really want to know is:

1. If an EPUB has proper page breaks specified either using file splits and CSS (e.g., page-break-before: always), can I safely turn off Structure Detection and get the same page breaks?

2. The manual says "When the input document has a Table of Contents in its metadata, calibre will just use that." For an EPUB, does that mean the .ncx file?

Thanks! (and sorry for my densitude)
odamizu is offline   Reply With Quote
Old 09-16-2015, 02:08 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
1. yes

2. yes
kovidgoyal is offline   Reply With Quote
Old 09-16-2015, 08:00 PM   #5
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,586
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
Excellent. Thanks much! (not just for the answers but also for your most excellent Calibre program )
odamizu is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RTF Structure Detection? philhxc Conversion 1 11-09-2011 02:01 AM
Structure Detection Problems Jonnster Conversion 21 05-12-2011 02:12 PM
structure detection - documentation ? cybmole Calibre 27 01-12-2011 02:14 AM
Trouble w structure detection jeff47 Calibre 1 10-13-2010 12:51 AM
Structure detection v5.5 and v6.2 AlexBell Calibre 2 07-29-2009 10:11 PM


All times are GMT -4. The time now is 12:20 PM.


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