Above is a template for writing thesis in Chinese. (Fortunately, there is not very much Chinese content in this template.) It works well on a Windows machine. But when I run it on a Mac OS machine, there are errors. The error information is shown as below.
It says that 'Error: Wrong DVI mode driver option 'dvipdfm', because XeTex is running.' But I was told that this template can support XeTex. Please check it for me if there is anything I should modify or setup.
Update: Above problem is solved by changing the coding environment. But a new problem appear. The error information is as below.
Output written on template.dvi (35 pages, 103108 bytes). SyncTeX written on template.synctex.gz. Transcript written on template.log.
/usr/texbin/dvips -R -Poutline -o /tmp/altpdflatex.5730-1359428424/template.ps template.dvi This is
dvips(k) 5.991 Copyright 2011 Radical Eye Software (www.radicaleye.com) ' TeX output 2013.01.29:1400' -> /tmp/altpdflatex.5730-1359428424/template.ps
kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+123/600 --dpi 723 gbksong41 mktexpk: don't know how to create bitmap font for gbksong41. mktexpk: perhaps gbksong41 is missing from the map file. kpathsea: Appending font creation commands to missfont.log. /usr/texbin/dvips: Font gbksong41 not found; using cmr10
/usr/texbin/dvips: ! invalid char 169 from font gbksong41
FAILED to generate /tmp/altpdflatex.5730-1359428424/template.ps ()