<div class="gmail_quote"><div>Hello Wu,</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><font size="2">I use xelatex to compile the input .tex file below, but the
section isn't showed.</font></div>
<div> </div>
<div>% c.tex file</div>
<div><font size="2">\documentclass{ctexart}<br>\begin{document}<br>\CTEXsetup{section}<br>simple
is beauty.<br>\end{document}<br></font></div></blockquote><div><br></div><div><br></div><div><meta charset="utf-8"><div>\CTEXsetup only sets up the formatting of the sectioning headers (and you haven't specified any formattings, BTW) of an all-Chinese document, not actually outputting a header. You need the \section command for that. Try instead</div>
<div><br></div><div>\documentclass{ctexart}</div><div><br></div><div>\begin{document}</div><div>% Uncomment following line if you want your section headers to read 第一节</div><div>%\CTEXsetup[name={第,节}, number=\chinese{section}]{section}</div>
<div><br></div><div>\section{简介} </div><div>simple is beauty.</div><div>\end{document}</div><div><br></div></div><div> See ctex's manual for more details of the \CTEXsetup command.</div><div><br></div><div><br></div><div>
Best regards,</div><div><br></div><div>- LIM Lian Tze -</div></div>