Greetings Pedro.

Pedro Andres Aranda Gutierrez <[email protected]> writes:

>> How do I specify an engine to use in an individual latex Babel block?
>>
>> Here is an example of the type of block I am having trouble with:
>>
>> #+begin_src latex :file not-gate.pdf :fit yes :headers
>> '("\\usepackage{tikz,circuitikz}") :results output graphics file :cache yes
>>   \begin{circuitikz}[color=white]
>>     \ctikzset{logic ports origin=center}
>>     \draw (0, 0) node [not port,scale=1.7] (notport) {}
>>     (notport.in) node [anchor=east] {A}
>>     (notport.center) node {\scriptsize NOT};
>>   \end{circuitikz}
>> #+end_src
>>
>> This block used to compile just fine with pdflatex but now complains
>>
>> \msg_fatal:nn {fontspec} {cannot-use-pdftex}
>>
>> and says I have to use either xelatex or lualatex.

> could you please share your settings for org-babel-execute ?

I am not 100% sure what you are asking for, but some file review and
grepping for those kind of words in my setup files indicates that I
don't have anything specified on top of defaults.

Also, I seem to be running the default org on this system, so

Org mode version 9.7.11 (release_9.7.11 @ /usr/share/emacs/30.2/lisp/org/)

All the best,

Jarmo


Reply via email to