Sure. Attached is an example tex file using the class ctexart. One can freely change ctexart into ctexbook or ctexreport.
For the layout file, just copy article.layout and change the second line into # \DeclareLaTeXClass{ctexart} and make a reconfigure in LyX. One subtle point: for LyX to be able to import the tex file properly, one has to uncomment the line %\usepackage[GBK]{inputenc} However for pdflatex to be able to process directly this tex file, the last line must be commented out. [EMAIL PROTECTED] 2008-06-10 ----- Original Message ----- From: Jürgen_Spitzmüller To: lyx-devel,soft_share Sent: 2008-06-10, 16:23:19 Subject: Re: [patch] support CJK font argument instanton wrote: > Nowadays there are a number of document classes supporting Chinese in > LaTeX. Besides using the standard document classes like article, book, > report etc with the aid of CJK, we sometimes also use documentclasses like > > cctart cctbook ctexart ctexbook ctexreport (for GBK encoding) > > or > > ctexartutf8 ctexbookutf8 ctexreportutf8 (for UTF8 encoding) Could you provide an example document and a layout file for one of these ctex classes so that we can try out some support? Jürgen
test_ctexart.tex
Description: Binary data