bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-AUCTeX] 2014-04-16; (extraopts) difficulties


From: Mosè Giordano
Subject: Re: [Bug-AUCTeX] 2014-04-16; (extraopts) difficulties
Date: Thu, 24 Apr 2014 22:24:26 +0200

Hi Benjamin,

2014-04-24 21:05 GMT+02:00 Benjamin Slade <address@hidden>:
> (possibly relevant things) from my .emacs:
>
> [...]

The problem should be
--8<---------------cut here---------------start------------->8---
     (add-to-list 'TeX-expand-list
                  '("%(-PDF)"
                    (lambda ()
                      (cond ((string-match "TeX-engine: pdftex"
(buffer-string)) "-pdf")
                            ((string-match "TeX-engine: luatex"
(buffer-string)) "-pdflatex=lualatex -pdf")
                            ((string-match "TeX-engine: xetex"
(buffer-string)) "-pdflatex=xelatex -pdf")
                            (t "-dvi -pdfps")))))
--8<---------------cut here---------------end--------------->8---
in the `eval-after-load'.  I don't have enough time to understand why
this triggers that bug, but if you think you actually don't need that
snippet of code just remove, or comment, it.

By the way, with git version of AUCTeX you don't need anymore special
tricks to make Okular forward/inverse search work ;-)

Bye,
Mosè



reply via email to

[Prev in Thread] Current Thread [Next in Thread]