This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: How do you %indent-programlisting-lines for anexternal file?
- To: docbook-apps at lists dot oasis-open dot org
- Subject: Re: DOCBOOK-APPS: How do you %indent-programlisting-lines for anexternal file?
- From: Brian Dellert <aspider at pobox dot com>
- Date: Tue, 29 May 2001 19:02:57 -0500
> tried this, but I believe that it will work.
>
> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
> <!ENTITY programFile SYSTEM "./source.pl">
> ]>
>
It works if source.pl does not contain anything that looks like
markup. However, if source.pl contains < and > signs, jade errors out.
I've attached a new source.pl that demos this.
>From what I've read, Normal Walsh put together the <inlinegraphic>
hack to allow the external file to be treated like CDATA.
Unfortunately, it doesn't seem to get indented properly.
Perl program