This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Need help including c source
- To: docbook <docbook-apps at lists dot oasis-open dot org>
- Subject: Re: DOCBOOK-APPS: Need help including c source
- From: "M. Wroth" <mark at astrid dot upland dot ca dot us>
- Date: Thu, 18 Oct 2001 20:43:14 -0700
- List-Id: <docbook-apps.lists.oasis-open.org>
- References: <3BCEFF81.5060801@milagrosoft.com><20011018190104.B6946@kasba.alcove-fr>
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>