View Single Post
Old 08-11-2013, 12:25 AM   #6
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: 45,378
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Reference mode only works with <p> tags, it doesn't care about classes. This is because <div> tags can be nested, so there is no good way of getting a single useful number out of them, the same visual position in the book could correspond to several different nested <div>s. And you would get weird jumps in numbering, for example, if the visually first para is numbered 1, the visually second one may or may not be numbered 2 depedning on the presence of nested divs.

Last edited by kovidgoyal; 08-11-2013 at 12:28 AM.
kovidgoyal is online now   Reply With Quote