OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: DOCBOOK-APPS: 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)



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC