[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: bug in href or toc?

> you obviously use wml::std::toc which creates a TableOfContent and adds
> a <a name..> to all <hX>
right, that's the WML feature I use

> IMHO wlm::std::toc is missing some features like excluding a <hX> from the
> TOC (even though <protect> might do it) and an additional <nobr> style

I would like this feature, too. But Denis Barbier send me this work
around, it builds a ToC of <h2> headers only:

<ul class="toc">
#use wml::std::toc style=ul
<define-tag toc_section endtag=required whitespace=delete>
<when <eq %0 2>>


[[s/<a href/<li><a href/g]]

|=| Werner Heuser = Keplerstr. 11A = D-10589 Berlin = Germany
|=| <wehe_AT_mobilix.org>      T. 0049 - (0)30 - 349 53 86
|=| http://MobiliX.org         How to Use UniX on Mobile Computers
|=| http://Xtops.DE            Laptops+PDAs pre-installed with UniX
|*| This is no time for phony rhetoric -- Lou Reed
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com