thehogfather / brackets-latex

Support for editing and compiling latex documents in brackets
24 stars 4 forks source link

xelatex error 32512 (driver return code) #19

Closed matthewkidd closed 9 years ago

matthewkidd commented 9 years ago

Hi,

I'm getting a error when trying to compile a tex file with xelatex. Console log below: screenshot 2015-02-08 15 31 49

Hope you can help.

Matt

.tex code:

\documentclass[12pt]{article}
\usepackage{fontspec}

\setmainfont{Times New Roman}

 \title{Sample font document}
 \author{Sample Name}
 \date{this month, 2015}

\begin{document}

 \maketitle

 This an \textit{example} of document compiled 
 with \textbf{xelatex} compiler. LuaLaTeX should 
 work fine also.

\end{document}
Wikunia commented 9 years ago

It works on my machine. Do you have any tex docs which work on your machine?

matthewkidd commented 9 years ago

Yes. The tex doc above works fine when I compile using TeXShop. But I get the screenshot-ed error when I try in Brackets. Problem persists despite a clean install of MacTex. Could I be doing something wrong?

Wikunia commented 9 years ago

No I mean do you ever compiled a tex doc using Brackets? Maybe your settings are wrong.

matthewkidd commented 9 years ago

Ah sorry. I know pdflatex works. I will go download some sample docs for the other compliers and see how they fare.

Wikunia commented 9 years ago

No problem :) I have no other idea at the moment :/

matthewkidd commented 9 years ago

Thanks for the help and quick responses anyway. What were the settings you thought might be wrong? Also, the other compliers work fine – only xelatex is being a troublemaker.

Wikunia commented 9 years ago

You only have one Tex path in your settings were all compilers should exist. But I don't know the error driver return code... so I don't know. Maybe @thehogfather has an idea cause it's his extension :D

matthewkidd commented 9 years ago

Oh wow. I'm such an idiot. Ok, so I've fixed the issue! I was changing the compiler to xelatex here: screenshot 2015-02-08 18 58 56

But I neglected to also changed the settings in LaTeX Settings: screenshot 2015-02-08 18 59 29

Thanks for your help Wikunia! Case closed.