[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK: Inserting external code into docbook
On Thu, Oct 24, 2002 at 03:06:55PM +0200, Joachim Ziegler wrote: > Am Mittwoch, 23. Oktober 2002 18:26 schrieb Bob Stayton: > > Looking back in the archives, it seems that this is how you > > do it with 4.1.2: > > > > <programlisting> > > <inlinemediaobject> > > <imageobject> > > <imagedata fileref="myfunc.c" format="linespecific"/> > > </imageobject> > > </inlinemediaobject> > > <programlisting> > > Yes, this is valid with 4.1.2 > > But why isn't there an easier mechanism/markup for verbatim inclusion of text > files? I suppose that this is something which occurs frequently. (?) There is an easier way, and it was adopted in the 4.2 DTD: <programlisting><textobject><textdata fileref="mycode.c" /></textobject> </programlisting> I can't explain why something like it was not added earlier. -- Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 Caldera International, Inc. fax: (831) 429-1887 email: bobs@caldera.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC