Thank you, Peter. You are right. When I pasted the following .tex file
again, it did not work.

------------------------
%!TEX encoding = UTF-8 Unicode
\documentclass[12pt]{article}
\usepackage{CJKutf8}
\begin{document}
\begin{CJK}{UTF8}{bsmi}
This is a test. 中文字測試。
\end{CJK}
\end{document}
-----------------------


> while the  
> old working one is still running, to check that a new instance really  
> has learned XeTeX by launching it as
>
>         /Applications/Emacs.app/Contents/MacOS/Emacs &

I am sorry that I don't understand this part. Do you want me to open
"Emacs &" by Emacs? If yes, when I opened it, it was blank.

---------------------------------------

> which also allows you launch Emacs with options and arguments,

What options and arguments do you mean here?

---------------------------------------
  
> then XeTeX the Japanese-Chinese-English file ... Another way would be  
> to open your init file, presumingly ~/.emacs, to check whether it has  
> recorded your customisation.
>

The following is the my init file; however, I am not good enough to
read it. I think it is all about what I have in "Tex Command List". I
also found  two more options in my Command(from Emacs menubar), which
are XeLaTex and XeLaTeXx. No XeTeX and/or XeTeXx. Is it the problem?

---------
(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(TeX-command-list (quote (("XeTeX" "%`xetex%(mode)%' %t" TeX-run-TeX
nil (plain-tex-mode context-mode texinfo-mode ams-tex-mode) :help "Run
XeLaTeX with xdvipdfmx driver") ("XeTeXx" "%`xetex -output-
driver=xdv2pdf%(mode)%' %t" TeX-run-TeX nil (plain-tex-mode context-
mode texinfo-mode ams-tex-mode) :help "Run XeTeX with xdv2pdf driver")
("XeLaTeX" "%`xelatex%(mode)%' %t" TeX-run-TeX nil (latex-mode doctex-
mode ams-tex-mode) :help "Run XeLaTeX with xdvipdfmx driver")
("XeLaTeXx" "%`xelatex -output-driver=xdv2pdf%(mode)%' %t" TeX-run-TeX
nil (latex-mode doctex-mode ams-tex-mode) :help "Run XeLaTeX with
xdv2pdf driver") ("TeX" "%(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t" TeX-
run-TeX nil (plain-tex-mode texinfo-mode ams-tex-mode) :help "Run
plain TeX") ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil (latex-mode
doctex-mode) :help "Run LaTeX") ("Makeinfo" "makeinfo %t" TeX-run-
compile nil (texinfo-mode) :help "Run Makeinfo with Info output")
("Makeinfo HTML" "makeinfo --html %t" TeX-run-compile nil (texinfo-
mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "%(PDF)amstex %`
%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (ams-tex-mode) :help "Run
AMSTeX") ("ConTeXt" "texexec --once --texutil %(execopts)%t" TeX-run-
TeX nil (context-mode) :help "Run ConTeXt once") ("ConTeXt Full"
"texexec %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run
ConTeXt until completion") ("BibTeX" "bibtex %s" TeX-run-BibTeX nil
t :help "Run BibTeX") ("View" "%V" TeX-run-discard t t :help "Run
Viewer") ("Print" "%p" TeX-run-command t t :help "Print the file")
("Queue" "%q" TeX-run-background nil t :help "View the printer
queue" :visible TeX-queue-command) ("File" "%(o?)dvips %d -o %f " TeX-
run-command t t :help "Generate PostScript file") ("Index" "makeindex
%s" TeX-run-command nil t :help "Create index file") ("Check" "lacheck
%s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for
correctness") ("Spell" "(TeX-ispell-document \"\")" TeX-run-function
nil t :help "Spell-check the document") ("Clean" "TeX-clean" TeX-run-
function nil t :help "Delete generated intermediate files") ("Clean
All" "(TeX-clean t)" TeX-run-function nil t :help "Delete generated
intermediate and output files") ("Other" "" TeX-run-command t t :help
"Run an arbitrary command")))))

(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 )


--~--~---------~--~----~------------~-------~--~----~
Carbon Emacs User Group
http://groups.google.com/group/carbon-emacs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to