[pmwiki-users] Re: Re: %dlcol% (was: Cookbook -was PmWiki/DocumentationIndex))

chr at home.se chr at home.se
Mon Jun 20 10:24:50 CDT 2005


On Mon, 20 Jun 2005, Patrick R. Michaud wrote:

> On Mon, Jun 20, 2005 at 03:56:30PM +0200, chr at home.se wrote:
> > > Monday, June 20, 2005, 8:07:34 AM, chr wrote:
> > > > I tried getting the above to work by shoving into my config.php, but
> > > > nothing happens... am I missing something?
> > > 
> > > Did you use %dlcol% at the beginning of the paragraph containing the
> > > list?
> > 
> > I got it working. The problem I had is illustrated by the following 
> > markup that doesn't work:
> > 
> > 	: G : E
> > 	: A %dlcol% : B
> > 	: C : D
> > 
> > Thinking about it I assume that the very first definition somehow causes 
> > the style appearing in the second line to be ignored. Not sure if this is 
> > really a bug (although it's slightly unintuitive).
> 
> Well, yes...since we're styling the list, we have to have the
> style information on the first entry in the list (so it can be
> placed in the <dl> tag).  By the time we reach the second entry
> the list has already been started and it's too late to add it to
> the <dl> tag.

No worries. Btw, this recipy deserves it's own cookbook page... if we can 
come up with a suitable name I can write it. Then I'll add a big caveat 
about having to place the wiki style at the first list element.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list