[pmwiki-users] Re: Binding several classes in wiki styles

Patrick R. Michaud pmichaud at pobox.com
Thu Dec 1 17:59:46 CST 2005


On Thu, Dec 01, 2005 at 10:48:13PM +0100, Dominique Faure wrote:
> BTW, I'd love to have a way to "parametrize" style definitions. 
> ...
> For now, the only way I found to have ajustable width for term lists is to add:
> 
>  $WikiStyleApply['descr'] = 'dd';
>  $WikiStyle['descr']['apply'] = 'descr';
> 
> and write:
> 
> %define=dw descr margin-left:8em%
> :Term1 %dlcol%:%dw% Definition1...
> :Term2 :%dw% Definition2...
> 
> which is also not very writer-friendly. Any idea how to achieve this?

It'll probably have to happen as some sort of markup that allows
authors to define custom css rules that appear in the <head>
section of the document.  So far I've been avoiding this because
I think it's too complex for most authors to be able to deal with.

Pm




More information about the pmwiki-users mailing list