Patrick R. Michaud said...
> On Fri, Feb 09, 2007 at 05:56:59PM -0000, marc wrote:
> > 
> > I've also moved $HTMLHeaderFmt['handytoc'] into the function (and thus 
> > removed Markup("handytoc1"), because I like to keep <head> as small as 
> > possible.
> 
> I haven't looked at the recipe details, but does this change
> allow (:toc:) to still work even when it appears in a sidebar
> and not the main contents?  

(:htoc:), yes. Although, I use $HTMLFooterFmt, since, as you say...

> (Markup functions called from sidebars are unable to manipulate the 
> contents of the <head> section of output, because by that point 
> the <head> has already been output.)

$HTMLHeaderFmt won't work.

-- 
Cheers,
Marc


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to