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] Problem with xrefsstyle & title in olinks


Hi,
I isolated the problem.  Here is a workaround that you can add to your customization layer for 1.75.* to fix the problem.  It will be fixed in the next release of the stylesheets.
 
<xsl:template name="insert.targetdb.data">
  <xsl:param name="data"/>
 
  <xsl:choose>
    <xsl:when test="$data/self::ttl">
      <xsl:copy-of select="$data/node()"/>
    </xsl:when>
    <xsl:otherwise>
      <xsl:copy-of select="$data"/>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>
 
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net
 
 
----- Original Message -----
Sent: Tuesday, March 16, 2010 7:35 AM
Subject: [docbook-apps] Problem with xrefsstyle & title in olinks

Hi all,

 

the title won’t be displayed, if I’m using xrefstyle in olinks.  (But xref links work.)

 

Example 1:

XML code:

<olink targetdoc="MainDocumentation" targetptr="section.test" xrefstyle=“select: label title pageabbrev”/>

 

The code generates this:

“Chapter 1.2  (p. 5)”

 

Example 2:

XML code:

<olink targetdoc="MainDocumentation" targetptr="section.test" xrefstyle=“select: label quotedtitle pageabbrev”/>

 

The code generates this:

“Chapter 1.2 “ ” (p. 5)”

 

Example 3:

XML code:

<olink targetdoc="MainDocumentation" targetptr="section.test"/>

 

The code generates this:

“Chapter 1.2  “Test Title””

 

This is the generated target.db:

<div element="section" href="#section.test" number="1.2" targetptr="section.test"> <ttl>Test Title</ttl> <xreftext>Chapter 1.2, „Test Title“</xreftext> <obj element="figure" href="#d0e50375" number="1.22"> <ttl> “Test figure”</ttl> <xreftext>Figure 1.22, „Test figure“</xreftext> </obj> </div>

 

 

What’s wrong?


Mit freundlichen Grüßen / Best regards
Ina Frenzel
Assistentin Niederlassung Dresden

FACTON GmbH
Prager Str. 2
01069 Dresden

Tel.: +49-351-40223-0
Fax: +49-351-40223-15
Mail: Ina.Frenzel@facton.com
Web: www.facton.com

 

Geschäftsführer: Chris Nicolaes
Sitz der Gesellschaft: Prager Straße 2, 01069 Dresden
Handelsregister: Amtsgericht Dresden HRB 17304

“This email message is intended only for the person(s) to whom it is addressed
and as such is confidential. If you have received this communication in error,
please notify us immediately and delete the original message.
Thank you for your cooperation.”




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