[pdftex] Re: [Cjk] (About CJKbookmarks)

Werner LEMBERG wl at gnu.org
Sat Mar 25 05:00:41 CET 2006


> I don't know, because I do not see here, how it is used.  It is a
> hook, thus it should not overwrite previous contents.  The new
> additions should be appended or prepended. Also, if it is undefined,
> then just define it, hyperref doesn't overwrite the hook, when it is
> loaded.

Aah, I missed that.  Now I'm doing

  \ifx\pdfstringdefPreHook \undefined
    \def\pdfstringdefPreHook{}
  \fi
  \g at addto@macro\pdfstringdefPreHook{%
    \let\CJK at XX \CJK at XXpdf
    \let\CJK at XXX \CJK at XXXpdf
    \let\CJK at XXXX \CJK at XXXXpdf}

which is what you suggest, I think.


     Werner


More information about the pdftex mailing list