This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [docbook-apps] Error when creating CHM with japanese content


Hi,

Thanks for the help. It worked fine when I installed the East-Asian language
pack for Windows XP, and added the following parameters:

  <xsl:param name="htmlhelp.encoding" select="'Shift_JIS'"/>
  <xsl:param name="default.encoding" select="'Shift_JIS'"/>
  <xsl:param name="chunker.output.encoding" select="'Shift_JIS'"/>

Since we have 10 different languages and Japanese needs a different encoding
how do I go about to customize my parameters to switch from "window-1252" to
"Shift_JIS" when building the Japanese files? Should I use xsl:if or
xsl:choose to switch parameters or load another xsl-file with proper
parameters, e.g. something like this(without know enough xsl):

        <xsl:choose>
          <xsl:when test="string($lang-attr) = ''jp">
            <xsl:import href="../../htmlhelp/jp.xsl"/>
          </xsl:when>
          <xsl:otherwise>
            <xsl:import href="../../htmlhelp/common_lang.xsl"/>
          </xsl:otherwise>
        </xsl:choose>

Any ideas?

/Kenneth

--------------------------------------------------------
Kenneth Johansson	Technical Documentation Manager
Sectra Imtec AB
Teknikringen 20		E-mail: ke-joh AT sectra DOT se
SE-583 30 Linköping	Phone:	+46 13 23 52 00
SWEDEN			Web:	http://www.sectra.se

> -----Original Message-----
> From: Jirka Kosek [mailto:jirka@kosek.cz]
> Sent: den 16 augusti 2004 16:43
> To: Kenneth Johansson
> Cc: 'DOCBOOK-APPS'
> Subject: Re: [docbook-apps] Error when creating CHM with
> japanese content
>
> Kenneth Johansson wrote:
>
> > I get a strange error when I'm building japanese CHM using
> a makefile.
> > The XSL-step works fine but HTMLHelp Workshop hangs during
> compilation
> > of keyword ("Keyword processing...") I think.
> >
> > Any ideas?
>
> AFAIK Japanese help can be generated only on Japanese
> Windows. This might be source of your problems.
>
> 					Jirka
>
> --
> ------------------------------------------------------------------
>    Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
> ------------------------------------------------------------------
>    Profesionální ¹kolení a poradenství v oblasti technologií XML.
>       Podívejte se na ná¹ novì spu¹tìný web http://DocBook.cz
> ------------------------------------------------------------------
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]