This is the mail archive of the
mailing list for the DocBook project.
Re: [Doc-SIG] Docbook "user exit"?
- From: Ng Pheng Siong <ngps at netmemetic dot com>
- To: Juergen Hermann <jh at web dot de>
- Cc: "docbook at lists dot oasis-open dot org" <docbook at lists dot oasis-open dot org>,"doc-sig at python dot org" <doc-sig at python dot org>
- Date: Sun, 16 Dec 2001 00:57:14 +0800
- Subject: DOCBOOK: Re: [Doc-SIG] Docbook "user exit"?
- References: <20011214000040.A985@madcap.netmemetic.com><E16Eewz-0007Aoemail@example.com>
On Fri, Dec 14, 2001 at 12:07:18AM +0100, Juergen Hermann wrote:
> >Is there a "user exit" mechanism in Docbook to allow me to call said code
> I could rewrite mine to emit docbook (it's a thing I'll need anyway), so you
> could pre-process sources and then include them as entities.
Yes, this sounds like a better approach. Thanks.
Here's a feature request: When your tool is munching a piece of Python
source into Docbook, have it somehow associate "labels" to the code.
This way, one can use these labels to refer to the Python code while
discussing it in the body text. Easier to keep the code and discussion text
in sync than using just plain line numbers (which one still needs to add to
the rendered Python code somehow).
Ng Pheng Siong <firstname.lastname@example.org> * http://www.netmemetic.com