This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Questions about including code
- To: Dan York <dyork at e-smith dot com>
- Subject: Re: DOCBOOK: Questions about including code
- From: Jorge Luiz Godoy Filho <godoy at conectiva dot com>
- Date: Fri, 20 Jul 2001 17:11:28 -0300
- Cc: Vladimir Ivanovic <ivanovic at parc dot xerox dot com>, docbook at lists dot oasis-open dot org,Erik Hilsdale <hilsdale at parc dot xerox dot com>
- Organization: Conectiva S.A. / Conectiva Inc.
- References: <200107200146.f6K1kaQ03338@banff.parc.xerox.com><20010720120226.B19136@e-smith.com>
On Fri, 20 Jul 2001, dyork@e-smith.com wrote:
> Vladimir,
>
>> 2. Since the inlinegraphic element is going away in DocBook V5.0,
>> is there a portable way of specifying included code in both V4.0
>> and V5.0?
> I also use the construct:
>
> <programlisting>
> <![CDATA[
> this is my code
> ]]>
> </programlisting>
>
> This doesn't do the include of the text, like you did, but it does
> allow me to put & and < characters inside of the <![CDATA[]]> item.
How about using this, to make things easier:
<programlisting format="linespecific"><inlinemediaobject>
<imageobject>
<imagedata fileref="yourfile.here" format="linespecific"/>
</imageobject>
</inlinemediaobject>
</programlisting>
Be seeing you,
--
Godoy. <godoy@conectiva.com>
Desenvolvimento de Soluções -- Solutions Development
Conectiva S.A - www.conectiva.com.br - +55 (41) 360-2600
Conectiva Inc. - www.conectiva.com - +55 (41) 360-2600
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org