* [patch] Add three "xelatex" config items to "org-latex-to-pdf-process"
@ 2012-03-19 10:57 FengShu
2012-03-20 11:39 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
From: FengShu @ 2012-03-19 10:57 UTC (permalink / raw)
To: emacs-orgmode
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"
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [patch] Add three "xelatex" config items to "org-latex-to-pdf-process"
2012-03-19 10:57 [patch] Add three "xelatex" config items to "org-latex-to-pdf-process" FengShu
@ 2012-03-20 11:39 ` Bastien
0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2012-03-20 11:39 UTC (permalink / raw)
To: FengShu; +Cc: emacs-orgmode
Hi FengShu,
FengShu <tumashu@gmail.com> writes:
> 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.
Applied in master, thanks.
Please use git format-patch for future patches, it saves me a lot
of time.
--
Bastien
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-20 11:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-19 10:57 [patch] Add three "xelatex" config items to "org-latex-to-pdf-process" FengShu
2012-03-20 11:39 ` Bastien
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).