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

Re: Bug report



Denis Barbier <barbier@imacs.polytechnique.fr> writes:

> When you invoke toc.wml, you redefine the <h1>..<h6> tags.

I didn't know about this. Is it documented ? (I must admit I'm usually
lost in WML doc).

> What you want is to redefine this new tags once again. You could try
> this:
> 
> <copy-var *user-functions*::h2 *user-functions*::myh2>
> <define-container h2>
> <set-var %attributes>
>   <myh2 align=center %attributes>%body</myh2>
> </define-container>
> 
> It's tricky, but i see no other solutions.

Thank for the trick, I'll try it.

d.
-- 
 David.Mentre@irisa.fr -- http://www.irisa.fr/prive/dmentre/
 Opinions expressed here are only mine.
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com