This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


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

inserting literal text files


Hi all,

Need some help for a simple problem:

I have to insert in my document some literal blocks of text from simple
text files (typically some code).
How do I achieve that?

I tried something like that:
<!ENTITY % Xsnippet   SYSTEM "fr/snippet.txt">
<!ENTITY snippet   &Xsnippet;>

in order to call the text in my document with &snippet;

But doesn't work...

Any idea?

Thanks, Camille.


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