This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Inserting external code into docbook
- From: Joachim Ziegler <ziegler at algorilla dot de>
- To: Bob Stayton <bobs at caldera dot com>, DocBook <docbook at lists dot oasis-open dot org>
- Date: Thu, 24 Oct 2002 15:06:55 +0200
- Subject: Re: DOCBOOK: Inserting external code into docbook
- Organization: Algorilla
- References: <200210231742.46136.ziegler@algorilla.de><20021023092609.A16330@caldera.com>
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. (?)
> layer or on the command line. The parameters are
> use.extensions=1 and textinsert.extension=1. Both must be
> set for it to work.
I get the following error:
$ java -classpath /usr/lib/saxon-6.5/saxon.jar com.icl.saxon.StyleSheet -o
Pythonbuch.html Pythonbuch.xml htmlsheet.xsl use.extensions=1
textinsert.extension=1
No insertfile extension available.
Processing terminated by xsl:message at line 812
What does that mean?
Bob, could these extensions be a subject for your "Using the DocBook XSL
Stylesheets"?