Re: Way to change dafault Tex engine for IPE

Otfried Cheong via Ipe-discuss <ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]> Thu, 29 Aug 2019 11:10:09 +0200
Newsgroups gmane.comp.graphics.ipe.general
Message-ID <[email protected]>
On Thu, Aug 29, 2019, at 06:46, sudi via Ipe-discuss wrote:
> I recently need using xetex as Tex-engine frequently. As the default is 
> pdfaltex, is there a way to change the default one to xelatex as a 
> system setting? Is it some sentences should be added into style sheet?

If you want to set it up so that new documents get xelatex as the default, set

prefs.tex_engine = "xetex"

in your prefereces (http://ipe.otfried.org/manual/manual_39.html).

There is no way for a style sheet to switch to xelatex (admittedly one could argue that it should be possible, since a style sheet could contain a latex preamble that uses xelatex packages - but it's not so clear how this should work when several style sheets and the document specify different things).

Cheers,
  Otfried