This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Including code
/ Vladimir Ivanovic <ivanovic@parc.xerox.com> was heard to say:
| Is there any way of including a file without having to change the master
| file?
Yes, because you don't have to use entity references. The current
workaround is this:
<programlisting><inlinemediaobject>
<imageobject>
<imagedata format="linespecific" fileref="program.code"/>
</imageobject>
</inlinemediaobject></programlisting>
There's an RFE to extend <textobject> for this purpose, which will be
a little less ugly looking.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Another month ends. All targets
http://www.oasis-open.org/docbook/ | met. All systems working. All
Chair, DocBook Technical Committee | customers satisfied. All staff
| eager and enthusiastic. All pigs
| fed and ready for take off.