This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: DOCBOOK: including C source files
- From: Bob McIlvride <robert at cogent dot ca>
- To: Docbook Apps <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 03 Apr 2002 07:51:58 -0500
- Subject: DOCBOOK-APPS: Re: DOCBOOK: including C source files
- Organization: Cogent Real-Time Systems, Inc.
- References: <20020402211224.GA13125@bach.as.arizona.edu>
Hi John,
You might want to try a way that many people on this list use to include
code. It works well, avoids conflicts with "<" and "&" characters, and
automatically inserts the latest code any time the document is processed.
You can read our explanation of it here:
http://developers.cogentrts.com/cogent/prepdoc/pd-screensandsourcecode.html
(towards the bottom of the page)
Hope that helps.
Cheerio!
Bob
John Gruenenfelder wrote:
...
> I'm including the source in an appendix. In the document's internal subset,
> I've declared entities for each source file, like so:
> <!entity cubesat-c SYSTEM "../cubesat.c">
...
---------------------------------------
Robert McIlvride (robert@cogent.ca)
Cogent Real-Time Systems (www.cogent.ca)