Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I use XeLaTeX for LaTeX export instead of pdfLaTeX?

export latex pdflatex
0
Posted

How can I use XeLaTeX for LaTeX export instead of pdfLaTeX?

0

XeLaTeX is an alternative to pdfLaTeX for typesetting LaTeX documents. XeTeX can use any fonts installed in the operating system without configuring TeX font metrics, and can make direct use of advanced typographic features of OpenType and other font formats. By default, org-mode exports org files to pdf via pdfLaTeX. Here is one way to smoothly incorporate XeLaTeX into org-mode’s export process. This solution takes advantage of latexmk, a perl script that intelligently and automatically manages latex compilation. It is included with TeXLive, but at present the version included is not quite up-to-date enough for our needs. Version 4.20 and higher includes an option allowing you to specify which program to use when “pdflatex” is called. Install a current version of latexmk as per the instructions on the latexmk site. If necessary, disable the older version that comes with TeXLive. This is likely in /usr/texbin/, and you should rename or remove it.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123