[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Calloutlist continue numbering
Hi Jacques, The problem is that the stylesheet restarts the numbering for co within each container element that co is expected to appear. This template in fo/callout.xsl could be customized to add table: <xsl:template match="co" mode="callout-bug"> <xsl:call-template name="callout-bug"> <xsl:with-param name="conum"> <xsl:number count="co" level="any" from="programlisting|screen|literallayout|synopsis" format="1"/> </xsl:with-param> </xsl:call-template> </xsl:template> Also, I should mention that entry is not a valid parent element for co. You might want to check the DTD to see how to make your content valid. Bob Stayton Sagehill Enterprises DocBook Consulting bobs@sagehill.net ----- Original Message ----- From: "Jacques Foucry" <jacques@foucry.net> To: "docbook-apps" <docbook-apps@lists.oasis-open.org> Sent: Friday, January 27, 2006 3:01 AM Subject: [docbook-apps] Calloutlist continue numbering > Hello, > > Yes, the subject is not very useful :-) > > I have a problem with calloutlist output. > > My document look like this > > <section> > <title>first section</title> > <para> > <table> > <title>fist table</title> > <tgroup cols="2"> > <row> > <entry> > <graphic.../> > <co id="IDone"/> > <entry> > <entry> > <graphic.../> > <co id="IDtwo"/> > <entry> > </row> > <table> > <calloutlist> > <callout arearef="IDone">blabla</callout> > <callout arearef="IDtwo">blabla</callout> > </calloutlist> > </para> > </section> > > > <section> > <title>second section</title> > <para> > <table> > <title>second table</title> > <tgroup cols="2"> > <row> > <entry> > <graphic.../> > <co id="foo"/> > <entry> > <entry> > <graphic.../> > <co id="bar"/> > <entry> > </row> > <table> > <calloutlist> > <callout arearef="foo">blabla</callout> > <callout arearef="bar">blabla</callout> > </calloutlist> > </para> > </section> > > And the result is that the second calloutlist doesn't start at 1 but > at 4. I don't find how to tell that the second calloutlist is an > other and must be start at 1. > > I use XEP to generate the PDF. > > Help will be really appreciate. > > Thanks in advance, > Jacques > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]