This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Including only a part of an external source code


-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]