Done: 2740472 
https://sourceforge.net/tracker/?func=detail&aid=2740472&group_id=21935&atid=373747
 

Thanks,
David

> -----Original Message-----
> From: Bob Stayton [mailto:[email protected]] 
> Sent: Tuesday, April 07, 2009 2:42 AM
> To: David Cramer; [email protected]
> Subject: Re: [docbook-apps] Extra space in output with 
> select: label nopage
> 
> Hi David,
> It's a bug.  Please file a bug report on it.
> 
> Bob Stayton
> Sagehill Enterprises
> [email protected]
> 
> 
> ----- Original Message -----
> From: "David Cramer" <[email protected]>
> To: <[email protected]>
> Sent: Monday, April 06, 2009 7:31 PM
> Subject: [docbook-apps] Extra space in output with select: 
> label nopage
> 
> 
> Hi there,
> I'm using the stock (1.72) stylesheets with only the following params 
> changed:
> 
> <xsl:param name="insert.link.page.number">yes</xsl:param>
> <xsl:param name="insert.xref.page.number">yes</xsl:param>
> 
> With the following markup:
> 
> <itemizedlist>
> <listitem>
> <para>Procedure: <xref linkend="testproc"/>.</para>
> </listitem><listitem><para>Table: <xref linkend="testtable"/>.</para> 
> </listitem> <listitem>
> <para xreflabel="select: nopage">Procedure "select: nopage": <xref 
> linkend="testproc" xrefstyle="select: nopage"/>.</para>
> </listitem><listitem><para>Table "select: nopage": <xref 
> linkend="testtable" 
> xrefstyle="select: nopage"/>.</para> </listitem> <listitem>
> <para>Procedure "select: label": <xref linkend="testproc" 
> xrefstyle="select: 
> label"/>.</para>
> </listitem><listitem><para>Table "select: label": <xref 
> linkend="testtable" 
> xrefstyle="select: label"/>.</para> </listitem> <listitem>
> <para>Procedure "select: label nopage": <xref linkend="testproc" 
> xrefstyle="select: label nopage"/>.</para>
> </listitem><listitem><para>Table "select: label nopage": <xref 
> linkend="testtable" xrefstyle="select: label 
> nopage"/>.</para></listitem>
> </itemizedlist>
> 
> I get this in my fo (extra space before the period; see attached gif):
> 
> <fo:block><fo:block>Procedure "select: label nopage": <fo:basic-link 
> internal-destination="testproc"><fo:inline 
> xmlns:xlink="http://www.w3.org/1999/xlink";>Procedure 1 
> </fo:inline></fo:basic-link>.
>     </fo:block></fo:block>
> 
> I can workaround it by doing:
> 
> <xsl:param name="insert.xref.page.number">maybe</xsl:param> 
> and then <xref 
> linkend="testtable" xrefstyle="select: label"/> for no page 
> number and <xref 
> linkend="testtable" xrefstyle="select: label page"/> for with 
> a page number.
> 
> Is this a bug (if so I'll log it) or am I doing something wrong :-)
> 
> Thanks,
> David
> 
> 
> 
> --------------------------------------------------------------
> ------------------
> 
> 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: 
> [email protected]
> > For additional commands, e-mail: 
> [email protected] 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to