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]

Re: Need help including c source


At 10:39 AM 10/18/01 -0700, Eric Richardson wrote:
>Yann Dirson wrote:
>
>>On Thu, Oct 18, 2001 at 09:12:49AM -0700, Eric Richardson wrote:
>>
>>>I'm trying to include C source into docbook but I'm having problems with 
>>>the #include <stdio.h>. I really would like to have the source compile 
>>>as is and include as is into the document.
>>Instead of using an entity, you can use:
>[...]

Another approach is the "literate programming" one of having the DocBook 
source write the C source when processed.  This approach interests me 
enough that I wrote the code to do it -- it's available at 
http://www.west-point.org/users/usma1978/36200/LitProg/SGMLWEB/index.htm.


Mark B. Wroth
<mark@astrid.upland.ca.us>


----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


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