Re: Log package manual DocBook source

From: Date: Sat, 25 Sep 2004 22:02:00 +0000
Subject: Re: Log package manual DocBook source
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4873@lists.php.net to get a copy of this message
On Sep 25, 2004, at 4:49 PM, Daniel Convissor wrote:
On Sat, Sep 25, 2004 at 04:05:04PM -0500, Paul M Jones wrote:
how the various elements of a generic markup (header, bold, italic, monotype, colortext, etc) would be represented in DocBook.
FYI: DocBook is a structured document, not a formatted document. That means the XML elements describe what the content is, not what the content should look like. Example: <function>, <parameter>, etc.
Understood, and the Text_Wiki parser works the same way. Elements are treated semantically (most of the time) instead of stylistically. The default Text_Wiki markup can be extended to support all sorts of additional semantic markup via the [[macro]] notation style; e.g. [[function MyFunction]], [[param MyParam this="that"]] and so on.
I have a feeling that the people who wrote docs in wiki format didn't all use the same formatting, so making a converter is going to be very hard, if not impossible.
Not if they use whatever wiki markup we decide is best for Text_Wiki and the DocBook parser extensions for it. This is another reason I think a PEAR DocBook guru will be better at this than me: he will know not only the DocBook specifics but also how all the elements generally hang together, what links to what, and various other pieces of implicit knowledge. -- pmj

« previous php.pear.doc (#4873) next »