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] Error when creating CHM with japanese content


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:when test="string($lang-attr) = ''jp">
            <xsl:import href="../../htmlhelp/jp.xsl"/>
            <xsl:import href="../../htmlhelp/common_lang.xsl"/>

Any ideas?


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
> 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
> ------------------------------------------------------------------

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