[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#207810: More details to Bug#207810



Jens Seidel <tux-master@web.de> schrieb:

> Hi,
>
> I want to give a little more information to the undocumented "CJKbookmarks" 
> hyperref option.

Thank you very much. I have forwarded the bug upstream, namely to the
maintainer of hyperref, Heiko Oberdiek. I also Cc: this mail to him.

> First of all I uploaded http://people.freenet.de/jese/reference.zh-cn.tex.
> You can run latex on this file, to verify the incompatibility of hyperref 
> and CJK without the mentioned option.
> This is the Chinese translation of "Debian Reference" (homepage: 
> qref.sf.net). You need at least the following Debian packages to compile:
> cjk-latex, (freetype1-tools??), tfm-arphic-bsmi00lp, tfm-arphic-bkai00mp, 
> tfm-arphic-gbsn00lp, tfm-arphic-gkai00mp, hbf-jfs56, hbf-cns40-b5.
> (The build will fail without these Chinese .tfm files).

Very good!

> Without CJKbookmarks option I get the following LaTeX error:
>
> Chapter 1.
> ! Use of \pdfmark@ doesn't match its definition.
> \protected@write ...le@protect \edef \reserved@a {
>                                                   \write #1{#3}}\reserved@a 
> ...
> l.127 \chapter{Ðò}
>
> I know that I filled this bug against tetex-doc, but why isn't CJKbookmarks 
> used by default, whenever CJK.sty is used?
> It should not hard to do perform
> \AtBeginDocument{checkforCJK{CJK isn't used}{add CJKbookmarks to hyperref 
> option}}
> (with proper checkforCJK macro, of course) in hyperref.sty.

Might be a good solution; Heiko should decide.

Bye, Frank
-- 
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie




Reply to: