Done: https://github.com/yihui/lyx/raw/master/templates/ctex.lyx
Thanks! Regards, Yihui -- Yihui Xie <xieyi...@gmail.com> Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Mon, Nov 28, 2011 at 5:30 PM, Uwe Stöhr <uwesto...@web.de> wrote: > Am 28.11.2011 22:42, schrieb Yihui Xie: > >> I have translated the two notes and put the new version here: >> https://github.com/yihui/lyx/raw/master/templates/ctex.lyx > > Thanks, it is now in trunk and after lyx 2.0.2 was released also in branch. > >> For your question in the preamble, yes it looks suspicious but is >> necessary. XeTeX will run into problems for ctex without >> \DeclareRobustCommand\nobreakspace{\leavevmode\nobreak\ }; the author >> of ctex believes this is an issue with xunicode, and has provided this >> solution. > > Can you then please add a comment in the preamble (just translate mine in > the attached file)? > > thanks and regards > Uwe >