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] Using DocBook XSL stylesheets with Japanese data - extra quotation marks inserted


On Mon, May 19, 2003 at 01:47:46PM -0400, Nancy P Harrison wrote:
> Hi,
> 
> We are using the XSL stylesheets to transform XML reference pages to HTML. 
> However, wherever we have a cross reference to a section heading 
> (<refsect[1|2|3]><title>) the text generated, while it is displayed 
> correctly (as underlined blue text) is surrounded by quotation marks. And 
> not Japanese quotation marks, (which look like small right angles at the 
> bottom left (open quote) or upper right (closed quote) of the text but 
> regular English double quotation marks (" ").
> 
> In English, these quotation marks are not generated for xrefs at all, and 
> we can't figure out how to get rid of them.
> 
> Anyone out there run into this before and have some suggestions?

Hi Nancy,
I can't duplicate your problem.  When I create a xref whose
linkend points to a refsect1, my generated HTML in English
using the 1.60.1 XSL stylesheets looks like this:

<a href="#myrefsect1" title="My refsect title">the section called &#8220;My
refsect title&#8221;</a>

That is, there are quotes around the title using the Unicode
quote character.

When I change the document element to have a lang="ja"
attribute, I get:

<a href="#myrefsect1" title="My refsect title">My refsect title&#38917;</a>

The numeric character after the title is Japanese, but I
don't know what it means.  

In both cases, the generated text comes from the gentext
files en.xml or ja.xml in the 'common' subdirectory of the
distribution, in the section of the files with context name
"section-xref".  For example:

<l:template name="refsect1" text="%t&#38917;"/>

Are you using a customization of the stylesheet that changes
the behavior of xref or modifies the gentext?

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com


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