This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
inserting literal text files
- To: docbook at lists dot oasis-open dot org
- Subject: DOCBOOK: inserting literal text files
- From: Camille Begnis <camille at mandrakesoft dot com>
- Date: Sun, 30 Jan 2000 22:53:31 -0400
- Organization: MandrakeSoft
- References: <3E44162A0A0AD21192A200AA00AD2D73107324@cloanto.com>
- Reply-To: docbook at lists dot oasis-open dot org
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.