Bug#397676: [debiandoc-sgml-pkgs] Bug#397676: Bug#397571: debian-reference: FTBFS: ERROR: reference.zh-tw.pdf could not be generated properly

Danai SAE-HAN (=E9=9F=93=E9=81=94=E8=80=90) danai.sae-han at edpnet.be
Fri Dec 8 00:20:11 CET 2006


From: Frank Küster <frank at kuesterei.ch>

> Osamu Aoki <osamu at debian.org> wrote:
> 
> > On Sat, Dec 02, 2006 at 02:42:15PM +0100, Danai SAE-HAN  wrote:
> >> I'm confident that this bug (#397571) is solved after new
> >> debiandoc-sgml and debian-reference packages have been released.
> >
> > Thanks.  I uploaded debiandoc-sgml and one more package today.
> >
> > I will do debian-reference later.(once debiandoc-sgml hit unstable)
> 
> I have tried this, and there are still issues.
> 
> First of all, debian-reference as currently in sid (is there a public
> repository somewhere?) needs to depend (at least) on latex-cjk-chinese
> and latex-cjk-chinese-arphic-bkai00mp.

debian-reference hasn't been updated yet in sid.
You can get the source from http://qref.sourceforge.net/ .

After building it, you get the unified .sgml files.
Then make the TeX files using these commands:
  debiandoc2latex -l ja reference.ja.sgml
  debiandoc2latex -l zh_TW reference.zh-tw.sgml
  debiandoc2latex -l zh_CN reference.zh-cn.sgml


> If I install these packages, reference.zh-tw.pdf still fails.  The first
> error is:
> 
> ! Improper alphabetic constant.
> <to be read again> 
>                    \textbackslash 
> l.102 ...textbf{shell <AB><FC><A5>O}<BD>d<A8><D2><A8><D3><B2>[<BB>\textbackslash
>                                                   {}<A8>t<B2><CE><BA><DE><B2>z<AA><BA><A6>U<AD><D3><AD><B1><A6>V<A1>C
> <A5>]<AC>A...
> A one-character control sequence belongs after a ` mark.
> So I'm essentially inserting \0 here.
> 
> This looks like an encoding problem?

Hmmm, I created the TeX file outside a pbuilder environment, copied it
into a pbuilder environment and it works, of course after installing
latex-cjk-all, latex-cjk-japanese-wadalab and
latex-cjk-chinese-arphic-{bkai00mp,bsmi00lp,gbsn00lp,gkai00mp}

I can compile it, until line 4174 because I hit a TeX capacity
excession with pdflatex (still unpatched).

  Chapter 5.
  [67] [68] [69
  ! TeX capacity exceeded, sorry [max level recursion of virtual fonts=10].
  <to be read again>
                     \endgroup \set at typeset@protect
  l.4174 \chapter
                 {Debian ���������
  !  ==> Fatal error occurred, the output PDF file is not finished!
  Transcript written on reference.zh-cn.log.

So compiling works, but TeXlive does need to be patched.  Could you
try it with the following files?
  http://users.edpnet.be/vanmeel/TeX/reference.zh-cn.tex (in GB2312)
  http://users.edpnet.be/vanmeel/TeX/reference.zh-tw.tex (in Big5)


I just received Jens' e-mail, so I'll have a look at that as well.


Danai SAE-HAN
韓達耐

-- 
題目:《傷春》
作者:陳與義(1090-1138)

廟堂無計可平戎,坐使甘泉照夕峰。
初怪上都聞戰馬,豈知窮海看飛龍。
孤臣霜發三千丈,每歲煙花一萬重。
稍喜長沙向延閣,疲兵敢犯犬羊鋒。




More information about the Debiandoc-sgml-pkgs mailing list