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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Re: [docbook-apps] Unexpected xref behavior; is this a case for Two-pass processing


I'm not able to duplicate that behavior.
When I create a customization with just those two parameters
set, the xrefs to figures don't have the page number in the
FO output.  This is with the 1.64.1 stylesheets.

Perhaps something else in your customization is
turning insert.xref.page.number back on?

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Steve Whitlatch" <swhitlat@getnet.net>
To: <docbook-apps@lists.oasis-open.org>
Sent: Saturday, January 24, 2004 6:33 PM
Subject: [docbook-apps] Unexpected xref behavior; is this a case for
Two-pass processing


> In my XSL customization layer, I use:
>   <xsl:param name="xref.with.number.and.title" select="0">
>   <xsl:param name="insert.xref.page.number">no</xsl:param>
>
> In the XML document, I have:
>   <figure id="Figure1">
>    .
>   .
>   .
>   <xref linkend="Figure1"/>
>
> But the output is:
>   Figure 1 [3]
>
> For now, I just want to get rid of the part that includes the page
> number. I expected the above XSL to do that, but no.
>
> Also, it seems that specifying inclusion/exclusion of the page number
> should be in only a single parameter, and specifying the title and
> page number should not be tied together.
>
> Perhaps we could have:
> <xsl:param name="xref.with.number" select="">
> <xsl:param name="xref.with.title" select="">
> and we don't need
> <xsl:param name="insert.xref.page.number"></xsl:param>
>
> At least not for xrefs.
>
> If there is a case to be made that we need
> <xsl:param name="insert.xref.page.number"></xsl:param>
> OK, but we still need to break the number and title inclusion/
> exclusion params into two, no?
>
> A textual reference to a figure that is on the same page as the figure
> need not include the page number. Later, I will look for a technique
> by which inclusion of the page number can be turned on and off
> depending on whether the reference and the target are on the same
> page. Any tips?
>
> System:
> **********************
> DocBook XML DTD 4.2, DocBook XSL stylesheets 1.64-1,
> FOP-0.20.5, Linux,
> xsltproc --version
> Using libxml 20604, libxslt 10101 and libexslt 801
> xsltproc was compiled against libxml 20604, libxslt 10101 and libexslt
> 801
> libxslt 10101 was compiled against libxml 20604
> libexslt 801 was compiled against libxml 20604
>
> Thanks,
>
> Steve Whitlatch
>
>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>




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