[Pmwiki-users] Re: Re: [[include: ... ]] part of a page

Christian Ridderström chr
Thu May 6 15:50:29 CDT 2004


On Tue, 4 May 2004, Patrick R. Michaud wrote:

> I'm open for discussion/reactions from the group on the suggestions given
> by J. Meijer (below).  Many seem plausible to me.  If we followed it, 
> the result might be something like:
> 
>    [[include:SomePage#soup]]       -- everything after #soup (cf. HTML)
>    [[include:SomePage#soup#nuts]]  -- from #soup to #nuts
>    [[include:SomePage#1#soup]]     -- everything before #soup
>    [[include:SomePage#soup#]]      -- from #soup to the next anchor
>    [[include:SomePage#1#]]         -- everything up to the first anchor
>    [[include:SomePage#10]]         -- line 10 through end of SomePage
>    [[include:SomePage#10#]]        -- line 10 through the next anchor
> 
>    [[include:SomePage#1#10]]       -- first ten lines 
>    [[include:SomePage#5#10]]       -- lines 5 through 14
>    [[include:SomePage#soup#1]]     -- one line starting with #soup
>    [[include:SomePage#soup#5]]     -- five lines starting with #soup

I could have sworn I sent in another suggestion... anyway, how about:

	[[include:SomePage#5-10]]	-- include lines n:o 5-10

that seems very intuitive to me.

/Christian

-- 
Christian Ridderstr?m                           http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list