[pmwiki-users] Re: ordered lists - arbitrary start number
Jonathan Scott Duff
duff at pobox.com
Thu Jun 30 20:30:43 CDT 2005
On Fri, Jul 01, 2005 at 01:38:49AM +0200, chr at home.se wrote:
> On Thu, 30 Jun 2005, Patrick R. Michaud wrote:
>
> > On Thu, Jun 30, 2005 at 11:34:26AM -0500, Patrick R. Michaud wrote:
> > > I suppose we could key on whitespace here, so that "#2517" produces
> > > the first, while "# 2517" produces the second. I also wonder if this
> > > should be a wikistyle:
> > >
> > > # %start=2517% text
> >
> > Correction -- Given the HTML 4 spec it should probably be "value",
> > so that we end up with
> >
> > # %value=2517% text
>
> What would %value=25% produce when used elsewhere?
Presumably nothing.
> I like it, except that it's not clear to me that %value=25% is specific to
> enumerated lists. Would it be too much to write something like
>
> # %enum value=25%
If Pm is going to just mimic CSS's list-style-type it could be like
so:
#%decimal value=25%forty-seven!
#%lower-roman value=25%twenty-three!
#%upper-alpha value=25%fifty-six!
#%armenian value=25%hut hut hut!
with perhaps %value=25% as a short-hand for %decimal value=25%
Suddenly I feel my PmWikiPhilosophy#2 sense tingling :)
-Scott
--
Jonathan Scott Duff
duff at pobox.com
More information about the pmwiki-users
mailing list