OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK: Including code


Vladimir Ivanovic wrote:
> 
> I'm writing a manual that includes many code fragments. The manual has
> several chapters that are separate files (see "DocBook:...", p. 30). I
> would prefer not to insert the actual code into my DocBook chapters, but
> rather just a reference to a file that contains the code. Then I can
> include code I know compiles and passes a sanity check.
>
> Is there any way of including a file without having to change the master
> file?

<programlisting><inlinegraphic format="linespecific"
fileref="file-to-include.ext"/></programlisting>

-----------------------------------------------------------------
  Jirka Kosek  	                     
  e-mail: jirka@kosek.cz
  http://www.kosek.cz


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC