function if_last_section($atts, $thing) { global $thissection; assert_section(); return parse(EvalElse($thing, !empty($thissection['is_last']))); }
function if_active_section($atts, $thing) { global $thissection, $s; assert_section(); return parse(EvalElse($thing, $thissection['name'] == $s)); }