This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: I Need to insert C-language code into DocBook XML
- From: Yann Dirson <ydirson at fr dot alcove dot com>
- To: dbook at centrum dot cz
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 13 Mar 2002 10:24:47 +0100
- Subject: Re: DOCBOOK-APPS: I Need to insert C-language code into DocBook XML
- References: <20020312210846Z684149-10010+718@mail.centrum.cz>
On Tue, Mar 12, 2002 at 10:08:39PM +0100, dbook@centrum.cz wrote:
> I have problem - how to put into DocBook XML content of file with
> C-language code?
> Problem is, that this content must be placed in external file
> (source.c), no directly in DocBook XML.
You can use <imagedata fileref="source.c" format="linespecific"> (in a
(inline)mediaoject).
--
Yann Dirson <Yann.Dirson@fr.alcove.com> http://www.alcove.com/
Technical support manager Responsable de l'assistance technique
Senior Free-Software Consultant Consultant senior en Logiciels Libres
Debian developer (dirson@debian.org) Développeur Debian