instanton wrote: > \RequirePackage{CJK} > \AtBeginDocument{\begin{CJK*}{GBK}{}\CJKtilde\CJKcaption{GB}} > \AtEndDocument{\end{CJK*}} > > in the preamble, rather than having > > \begin{CJK*}{GBK}{} > > at the begining and > > \end{CJK*} > > in the ending.
In the cases I talk about, the CJK string does not necessarily be at the beginning. We need to support documents that start in English, then have a Chinese quote, switch to German, then quote Japanese, have some Greek terms and return to Chinese. In the CJK case, the CJK tags have to be opened and closed every time properly, and furthermore, nesting has to be taken into account. That's why we need this kind of hardcoding. Anyway, I think what you want can be easily implemented on a per-layout basis (with the Provides tag). > Yes, I meant CJK*, as this is preferred than just CJK. We could add an option to switch on the starred version, since some users seem to prefer CJK over CJK*. Jürgen