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: preprocessing source code to use in DocBook?


"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>


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