auctex
[Top][All Lists]
Advanced

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

Re: Why does a `standalone` document set `TeX-PDF-from-DVI`?


From: Maximilian Wuttke
Subject: Re: Why does a `standalone` document set `TeX-PDF-from-DVI`?
Date: Thu, 14 Jan 2021 00:32:03 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0

Hi,

On 13/01/2021 22:48, Arash Esbati wrote:
> I can't reproduce this either.  AUCTeX doesn't have a style for
> standalone package, hence the problem must be somewhere else.  Can you
> please start Emacs with the minimal config you described in your other
> message, load the .tex file and hit immediately `C-h e'?  Check the
> files AUCTeX loads, maybe that gives you an idea where to look.

AUCTeX immediately loads the file `~/.emacs.d/auctex/standalone.el`,
which apparently was (auto)created on Apr 13 2018. I've attached it to
the mail, for reference. The file just adds some hooks for (presumably)
other packages that the `standalone` style requires. As a result, the
file `/src/to/auctex/styles/pstricks.el` is loaded. In another mail,
I've quoted the part of this file where it sets the variable.

In fact, this old file `~/.emacs.d/auctex/standalone.el` was the
problem! I didn't notice that it was so old until now. I have no idea
how or why it was created though. I had 4280 files in this directory;
all of them were created on the same day in 2018. After moving this
directory away and restoring my .emacs file, the mysterious directory
hasn't been recreated.

So maybe this was just a very weird regression. After all, I didn't even
use the `pstricks` package. However, I still have the same behaviour
when I open the following file:

> \documentclass{article}
> \usepackage{pstricks}
> 
> \begin{document}
> 
> \begin{pspicture}(1,2)
> \end{pspicture}
> 
> \end{document}


Thanks
Maximilian



Below is the complete list of loaded files, mostly the old files from 2018:

> Loading ~/.emacs.d/auctex/standalone.el (source)...done
> Loading ~/.emacs.d/auctex/ifluatex.el (source)...done
> Loading ~/.emacs.d/elpa/auctex-13.0.3/style/ifluatex.el (source)...done
> Loading ~/.emacs.d/auctex/ifxetex.el (source)...done
> Loading ~/.emacs.d/auctex/currfile-abspath.el (source)...done
> Loading ~/.emacs.d/auctex/multido.el (source)...done
> Loading ~/.emacs.d/elpa/auctex-13.0.3/style/multido.el (source)...done
> Loading ~/.emacs.d/auctex/varwidth.el (source)...done
> Loading ~/.emacs.d/auctex/tikz.el (source)...done
> Loading ~/.emacs.d/elpa/auctex-13.0.3/style/tikz.el (source)...done
> Loading ~/.emacs.d/auctex/pgf.el (source)...done
> Loading ~/.emacs.d/auctex/pgfrcs.el (source)...done
> Loading ~/.emacs.d/auctex/pgfcomp-version-0-65.el (source)...done
> Loading ~/.emacs.d/auctex/pgfcomp-version-1-18.el (source)...done
> Loading ~/.emacs.d/auctex/pgfcore.el (source)...done
> Loading ~/.emacs.d/auctex/graphicx.el (source)...done
> Loading ~/.emacs.d/elpa/auctex-13.0.3/style/graphicx.el (source)...done
> Loading ~/.emacs.d/auctex/keyval.el (source)...done
> Loading ~/.emacs.d/auctex/graphics.el (source)...done
> Loading ~/.emacs.d/elpa/auctex-13.0.3/style/graphics.el (source)...done
> Loading ~/.emacs.d/auctex/trig.el (source)...done
> Loading ~/.emacs.d/auctex/pgfsys.el (source)...done
> Loading ~/.emacs.d/elpa/auctex-13.0.3/style/xcolor.el (source)...done
> Loading ~/.emacs.d/auctex/pgffor.el (source)...done
> Loading ~/.emacs.d/auctex/pgfkeys.el (source)...done
> Loading ~/.emacs.d/auctex/pgfmath.el (source)...done
> Loading ~/.emacs.d/auctex/pstricks.el (source)...done
> Loading ~/.emacs.d/elpa/auctex-13.0.3/style/pstricks.el (source)...done
> Loading ~/.emacs.d/auctex/iftex.el (source)...done
> Loading ~/.emacs.d/auctex/shellesc.el (source)...done
> Loading ~/.emacs.d/auctex/preview.el (source)...done
> Loading ~/.emacs.d/elpa/auctex-13.0.3/style/preview.el (source)...done
> Loading ~/.emacs.d/auctex/luatex85.el (source)...done

Attachment: standalone.el
Description: Text Data


reply via email to

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