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] Extra space in output with select: label nopage


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

Thanks,
David

> -----Original Message-----
> From: Bob Stayton [mailto:bobs@sagehill.net] 
> Sent: Tuesday, April 07, 2009 2:42 AM
> To: David Cramer; docbook-apps@lists.oasis-open.org
> 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
> bobs@sagehill.net
> 
> 
> ----- Original Message -----
> From: "David Cramer" <dcramer@motive.com>
> To: <docbook-apps@lists.oasis-open.org>
> 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: 
> 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]