[pmwiki-users] Re: Table of Contents (Was: picks up Q:-markup)

chr at home.se chr at home.se
Fri Jan 28 02:43:49 CST 2005


On Thu, 27 Jan 2005, Jonathan Scott Duff wrote:

> On Fri, Jan 28, 2005 at 09:29:43AM +1300, John Rankin wrote:
> > On one page, put (:toc:) as usual.
> > This should include Q: markups.
> > 
> > On the other put (:toc Q:) (no spaces between the Q and :)
> > This should exclude Q: markups.
> 
> That sure seems backward in a way. It's like adding something to get
> less. Sure that works when you're adding negative numbers, but there's a
> handy unary minus to let you know that you're taking something away. 
> 
> So ... how about (:toc -Q:) or (:toc !Q:) or something to that effect.
> Or even (:tocq:) adds Q: markup entries and (:toc:) does not.

I agree, (:toc Q:) looks backward.. and from a user's perspective, why
wouldn't this put 'Q' as the heading of the TOC?

Besides, I think there could be an option to be more verbose, for 
instance:

	(:toc include-questions=yes:)

Now I'll get to your previous mail on this subject :-)

/Christian

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





More information about the pmwiki-users mailing list