From mboxrd@z Thu Jan 1 00:00:00 1970 From: FengShu Subject: [patch] Add three "xelatex" config items to "org-latex-to-pdf-process" Date: Mon, 19 Mar 2012 18:57:02 +0800 Message-ID: <87vcm0kge9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9aGD-0007sp-2S for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 06:56:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9aG8-0001Dd-CS for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 06:56:20 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:55694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9aG8-0001DP-4b for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 06:56:16 -0400 Received: by iajr24 with SMTP id r24so11191419iaj.0 for ; Mon, 19 Mar 2012 03:56:14 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Xelatex should be pdflatex with enhanced font handling capability. and its fonts configure for Chinese is much much more simple than pdflatex, for it can use *ttf* *otf* fonts in the system easily. Add item: 1. 2 runs of xelatex 2. 3 runs of xelatex 3. xelatex,bibtex,xelatex,xelatex diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 6d46501..189e206 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -657,6 +657,18 @@ This function should accept the file name as its single argument." "bibtex %b" "pdflatex -interaction nonstopmode -output-directory %o %f" "pdflatex -interaction nonstopmode -output-directory %o %f")) + (const :tag "2 runs of xelatex" + ("xelatex -interaction nonstopmode -output-directory %o %f" + "xelatex -interaction nonstopmode -output-directory %o %f")) + (const :tag "3 runs of xelatex" + ("xelatex -interaction nonstopmode -output-directory %o %f" + "xelatex -interaction nonstopmode -output-directory %o %f" + "xelatex -interaction nonstopmode -output-directory %o %f")) + (const :tag "xelatex,bibtex,xelatex,xelatex" + ("xelatex -interaction nonstopmode -output-directory %o %f" + "bibtex %b" + "xelatex -interaction nonstopmode -output-directory %o %f" + "xelatex -interaction nonstopmode -output-directory %o %f")) (const :tag "texi2dvi" ("texi2dvi -p -b -c -V %f")) (const :tag "rubber"