This is the mail archive of the 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?

On Tue, May 29, 2001 at 07:02:57PM -0500, Brian Dellert wrote:
> > tried this, but I believe that it will work.
> > 
> > <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
> > <!ENTITY programFile SYSTEM "./">
> > ]>
> >
> It works if does not contain anything that looks like
> markup. However, if contains < and > signs, jade errors out.
> I've attached a new that demos this.

My assumption was that anything that would work inline with the source
document would also work if read out of a file.  This implies that if you
place the text of directly into the document source file without
modification, you would have the same complaints from jade.  Is that the
behavior that you saw from jade?

Another suggestion, though less appealing than the solution you're after, is
to include a section in your make file (assuming you use make to manage your
documents) to maintain a CDATA version of the program file.


where foo wraps a CDATA section around the contents of and writes
the results to source.sgml.

Lane Stevens
Terrapin Technologies, Inc.

To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to:

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