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: DOCBOOK: including C source files


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)


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