Re: example code



Try <imagedata format="linespecific"/>

Sasha

On Thu, 2002-06-20 at 13:47, Murray Cumming wrote:
> On Wed, 2002-06-19 at 21:47, Eric Baudais wrote:
> > Murray-
> > 
> > You can use an entity which is a file with the source code you want to
> > display.  Each entity will point to a file which will be included
> > automatically in the DocBook XML.  So, if you want example.cc to be
> > included in the document just put:
> > 
> > <!ENTITY example SYSTEM "example.cc">
> > 
> > between the square brackets at the end of the DTD.  Then you have
> > include the entity you made in the DocBook:
> > 
> > &example;
> > 
> > This will include the file example.cc wherever you want in the DocBook
> > file.
> 
> Thanks, that seems to need example.cc to be escaped, and source code
> isn't escaped. For instance, I get errors about "<" characters in the
> source code.
> 
> -- 
> Murray Cumming
> murrayc usa net
> www.murrayc.com
> 
> _______________________________________________
> gnome-doc-list mailing list
> gnome-doc-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-doc-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]