Reimplement chapters functionality from the chapters plugin using clones, hoist, and script buttons: http://sourceforge.net/forum/forum.php?thread_id=1461953&forum_id=10226

I implemented some proof of concept code that implements "Hoist Buttons". No persistence yet. To try it out, download the attached mod_scripting.leo file and hit the "interactive test" button. This leo file contains both the chapter_hoist plugin and a rewritten mod_scripting plugin (see http://sourceforge.net/forum/forum.php?thread_id=1467975&forum_id=10228). If you like what you see in the interactive test, then you can copy the @file chapter_hoist.py and @file mod_scripting.py files into your plugin area and use them as plugins.

"Hoist Buttons" instructions

mod_scripting.leo