View Single Post
Old 03-02-2010, 04:48 PM   #22
zelda_pinwheel
zeldinha zippy zeldissima
zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.zelda_pinwheel ought to be getting tired of karma fortunes by now.
 
zelda_pinwheel's Avatar
 
Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
Quote:
Originally Posted by Valloric View Post
Not anymore, no. The chapter break inserting actual code in the book was an ugly hack (which you apparently put to good use), so 0.2.0 uses JavaScript to read all relevant content (starting from the caret element) and create a new chapter. Nothing is being inserted anymore.

But there should be a way to do the split from the Code View. Add it to the tracker.
i put that code to the same good use. i'll also be very happy to see some way of automating chapter splits in Sigil 0.2. maybe something as simple as adding "file split" to a "special" list of elements you can use in the s&r dialogue, and replace all occurences of "<h3" (or whatever h you're using for your chapters) with "filesplit <h3". that would be great.
zelda_pinwheel is offline   Reply With Quote