emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: FengShu <tumashu@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [patch] Add three "xelatex" config items to "org-latex-to-pdf-process"
Date: Mon, 19 Mar 2012 18:57:02 +0800	[thread overview]
Message-ID: <87vcm0kge9.fsf@gmail.com> (raw)


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"

             reply	other threads:[~2012-03-19 10:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-19 10:57 FengShu [this message]
2012-03-20 11:39 ` [patch] Add three "xelatex" config items to "org-latex-to-pdf-process" Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vcm0kge9.fsf@gmail.com \
    --to=tumashu@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).