This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] callout problems
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "Per Olesen" <polesen at nordija dot com>, <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 18 Feb 2004 11:23:21 -0800
- Subject: Re: [docbook-apps] callout problems
- References: <200402181916.54150.polesen@nordija.com>
One more parameter: use.extensions=1
You'll probably also want to remove that first line feed in
your programlisting, because line 1 is blank otherwise.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
----- Original Message -----
From: "Per Olesen" <polesen@nordija.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, February 18, 2004 10:16 AM
Subject: [docbook-apps] callout problems
> Hi,
>
> I have problems getting callouts to work properly in a programlistingco.
I'm
> able to get the callouts beneath the programlisting with the explanatory
> texts ok, but I get no callouts up in the actual programlisting. This is
how
> my docbook looks like:
>
> <programlistingco>
> <areaspec units="linecolumn">
> <area id="x-co" linkends="x" coords="1 50" />
> <area id="y-co" linkends="y" coords="2 50" />
> <area id="z-co" linkends="z" coords="3 50" />
> </areaspec>
> <programlisting>
> $ foo
> $ bar
> $ bleech
> $ oink
> </programlisting>
> <calloutlist>
> <callout arearefs="x-co" id="x">
> <para>this is x</para>
> </callout>
> <callout arearefs="y-co" id="y">
> <para>this is y</para>
> </callout>
> <callout arearefs="z-co" id="z">
> <para>this is z</para>
> </callout>
> </calloutlist>
> </programlistingco>
>
> It is the same problem if generating html from the docbook.
> These are the parameters I've been using with the stylesheets:
>
> HTML: -param draft.mode yes -param callout.graphics 0 -param
callout.unicode 1
> -param callout.extension 1
> FO: -param paper.type A4 -param draft.mode yes -param callout.graphics 0
> -param callout.unicode 1 -param callout.extension 1
>
> I've also tried "-param callout.graphics 1 -param callout.extension 1" for
> using graphics.
>
> I'm using Xalan and FOP 0.20.5. The FO is generated using the XSL
stylesheets
> v1.64.1.
>
> What am I doing wrong here?
>
> /Per
>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.