[l2h] The L2H 2002 Cannot deal CJK document correctly!
Edward Lee
edt1023@ms17.hinet.net
Thu, 25 Apr 2002 00:31:34 +0800
On Wed, Apr 24, 2002, Ross Moore wrote:
> >
> > Thanks, but I guess to config rc file maybe more convenient,
> > cause sometimes we might write an utf-8 or other charset HTML.
>
> Yes. Werner pointed out the same problem.
Werner must be a genius. :-)
I do have many things to learn from him.
> I'm going to update the LaTeX2HTML repository with the following
> patch to CJK.perl :
>
> landau.ics.mq.edu.au> cvs diff CJK.perl
> Index: CJK.perl
> ===================================================================
> RCS file: /home/latex2ht/cvs/latex2html/user/styles/CJK.perl,v
> retrieving revision 1.5
> diff -r1.5 CJK.perl
[...]
Thanks, it works well.
> Please advise ASAP if there is anything here that you think is incorrect
> or inadequate.
>
> Note how there is now a variable $CJK_AUTO_CHARSET which can be set in an
> initialisation file. If it is not set, then the first {CJK} or {CJK*}
> environment that has an encoding argument will change the encoding from
> the global default of 'big5'.
I have to say, this is a nice design.:)
> Please apply the patch, and report any problems.
[...]
> You're welcome.
> Thanks for making me look at CJK.perl .
> Until today, I'd never studied that package. :-)
Thanks again. I have a serial CJK documents to write, it will
spend me a long time. We will have many tests to go. :-)
Rgds,
Edward G.J. Lee