This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: preprocessing source code to use in DocBook?
- To: "Michael D. Crawford" <crawford at goingware dot com>
- Subject: Re: DOCBOOK-APPS: preprocessing source code to use in DocBook?
- From: Jirka Kosek <jirka at kosek dot cz>
- Date: Wed, 07 Nov 2001 08:44:45 +0100
- Cc: docbook-apps at lists dot oasis-open dot org
- List-Id: <docbook-apps.lists.oasis-open.org>
- References: <3BE8A048.7040805@goingware.com>
"Michael D. Crawford" wrote:
> Is there a readily available and simple tool for filtering text files into files
> where all the metacharacters have been converted into entities? This would save
> a lot of typing.
You can use CDATA sections:
<programlisting><![CDATA[#include <stdio.h> // don't worry about <>& in
CDATA
...
...]]></programlisting>
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>