develooper Front page | perl.perlpoint | Postings from August 2002

Re: lists

Thread Previous
From:
Robert Inder
Date:
August 7, 2002 13:53
Subject:
Re: lists
Message ID:
f513ctqfkxs.fsf@auk.3lg.org

>>>>> Jerrad Pierce writes:
    > To: perlpoint@perl.org
    > Subject: lists
    > Date: Wed, 07 Aug 2002 14:01:57 -0400

    > pp2html claims to support deifntion lists,
    > and the parser seems to have some code for it...
    > but nowhere is the syntax for marking up definition lists given.

It is given in the reference manual for pp2html.

It is also documented in a file parser-paragraphs.pp in the
"doc" directory of PerlPoint-Package.

The answer is...

:Item 1:Here is the description of the first item.

:Item 2:Here is the description of the second item.

    > It seems the ability to embed lists would be useful, somehthing like:

    > * Foo

    > * * Bar

    > giving

    > <ul>
    > <li>Foo<ul>
    > <li>Bar</li>
    > </ul></li>
    > </ul>


This is sort-of there:

    * One

    * Two

    >

    * Two A

    * Two B

    <

    * Three

could (indeed should) produce what you want, though in fact it
actually produces...

    <UL>
    <LI>One</LI>
    <LI>Two</LI>
    </UL>
    <UL>

    <UL>
    <LI>Two A</LI>
    <LI>Two B</LI>
    </UL>
    </UL>

    <UL>
    <LI>Three</LI>
    </UL>

Robert.

-- 
Robert Inder         Interactive Information,     07770 30 40 52 (general)
07808 492 213        3, Lauriston Gardens,        0131 229 1052  (fax)
                     Edinburgh EH3 9HH 
                     SCOTLAND UK




Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About