> I managed to get CJKutf8 to work with beamer after a long struggle, > so I thought I would share my solution in case anyone is interested. > It is probably not the most elegant solution, but it worked for me. > > I read that thread: > http://www.mail-archive.com/cjk@ffii.org/msg00913.html I did not > manage to get it to work with the trick that Werner suggested.
Well, the beamer class handles .nav files differently, thus my educated guess was wrong, sorry. However, after some trial, I've found the really simple solution: Just open and close the CJK environment within \AtBeginDocument and \AtEndDocument, respectively. Example is below. I'll document it. Werner ====================================================================== \documentclass[CJKutf8]{beamer} \usepackage{CJKutf8} \usetheme{Darmstadt} \AtBeginDocument{% \begin{CJK}{UTF8}{gbsn}} \AtEndDocument{% \end{CJK}} \begin{document} \title{标题} \author{作者} \date{\today} \frame{\titlepage} \section[Outline]{} \frame{\tableofcontents} \section{第一节} \frame{% \frametitle{标题} 测试中文} \end{document} _______________________________________________ Cjk maillist - Cjk@ffii.org https://lists.ffii.org/mailman/listinfo/cjk