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: How do you %indent-programlisting-lines for anexternal file?



> 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


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