This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Including only a part of an external source code
- From: Norman Walsh <ndw at nwalsh dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 24 Jan 2003 08:02:43 -0500
- Subject: DOCBOOK-APPS: Re: Including only a part of an external source code
- References: <3E31303B.5040301@mpi-sb.mpg.de>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
/ Joachim Ziegler <ziegler@mpi-sb.mpg.de> was heard to say:
| This markup always include the file as a whole - but sometimes I want
| to include only a part of a file, for example the C++ class
| definitons, then explain them, and later include hte rest of the code.
|
| Is there a way to do this with DocBook and one of its tools?
No, but I've occasionally tinkered with doing something about that.
Eric Wilde published an IETF draft on fragment identifers for
text/plain[1]. I might someday augment the text inclusion extension
function to support that fragment identifier scheme. Patches
gleefully accepted :-)
Be seeing you,
norm
[1] http://dret.net/netdret/docs/draft-wilde-text-fragment-00.html
- --
Norman Walsh <ndw@nwalsh.com> | The laws of conscience, which we
http://www.oasis-open.org/docbook/ | pretend to be derived from nature,
Chair, DocBook Technical Committee | proceed from custom.--Montaigne
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>
iD8DBQE+MTlzOyltUcwYWjsRAhWFAKCj5RJEN+3OGkNUN46dUqPI+UpNwgCgrVSs
4TKGiLDcQWCaex49CjpJ3tk=
=GrdH
-----END PGP SIGNATURE-----