On Thu, Nov 09, 2006 at 02:08:54PM +0100, Jens Seidel wrote: > (I droped Lucas, as it becomes out of topic related to the FTBS. Osamu > and I are subscribed to the bug.) > > Hi Danai, > > On Thu, Nov 09, 2006 at 03:34:15AM +0100, Danai SAE-HAN wrote: > > Okay, I checked out the SGML-generated .tex file, and it seems very > > much that Perl or something else misinterprets some of the CJK > > characters. > > > > The command I used to create the .tex file was: > > debiandoc2latex -l zh_TW.Big5 reference.zh-tw.sgml
Then debantex script from debiandoc-sgml was used. This was I vaguely remenber for woody environment work around. > > Examples of these misinterpreted characters: > > > > in titledoc.sgml: 程 -> 琵{ > > > > in preface.sgml: 開 -> 跚} > > 閱 -> 閱textbackslash{} > > 誤 -> 蓋textasciitilde{} > > Misinterprets? I remember that this was intentional! Extract from > fixlatex script which is applied after the SGML/Perl magic: > > ("zh_TW") > perl -p \ > -e 's/([\x80-\xff])\\textbackslash\{\}/$1\\/g;' \ > -e 's/([\x80-\xff])\\textasciitilde\{\}/$1\~/g;' \ > -e 's/([\x80-\xff])\\textasciicircum\{\}/$1\^/g;' \ > -e 's/([\x80-\xff])\\\}/$1\}/g;' \ > -e 's/([\x80-\xff])\\\{/$1\{/g;' \ > -e 's/([\x80-\xff])\\\_/$1_/g;' <$1 | > bg5conv >$2 This part is not used when building debian-reference. Package special bin/fixlatex is used instead. It will be nice to remove these old junk. It seems to fail when it does not find required fonts. The best package to install font issue is latex-cjk-all package. Let me see.