[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] suggestion about "Preview Tex Style Dir"
From: |
Ralf Angeli |
Subject: |
Re: [Bug-AUCTeX] suggestion about "Preview Tex Style Dir" |
Date: |
Mon, 28 May 2007 13:02:18 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) |
Please, David already told you not to reply off-list. If you answer,
include the mailing list!
* 李旭章 (2007-05-28) writes:
>> What does that mean? Are the executables not found?
> I've setted the PATH. It can found the executables.
>
> It's because in emacs+auctex-w32-2007-05-20.zip's default setting
> can't work in cygwin well; I must set something up to make it work.
>
> In "emacs\site-lisp\site-lisp.d\preview-latex.el", has these line:
> (defvar preview-TeX-style-dir (expand-file-name "../auctex/latex"
> (file-name-directory load-file-name)))
>
> If i didn't set the TEXINPUTS, according the preview-latex.el, the tex
> will not use system's style.
>
> So, I suggest the code in "site-list.d\preview-latex.el" come from
> emacs+auctex-w32-2007-05-20.zip should changed to:
> (defvar preview-TeX-style-dir (concat (expand-file-name
> "../auctex/latex" (file-name-directory load-file-name)) ":")
> then that will be OK.
The Emacs/AUCTeX bundle is configured with --without-texmf-dir, so the
setting in preview-latex.el is intentional, i.e. it was configured to
pick up the preview.sty file provided with the bundle.
> And I suggest the auctex should auto detect preview-gs-command which
> to use with, "gs" or "gsw32c".
Currently it is assumed that gswin32c should be used when the system
type is windows-nt. Perhaps the detection could be enhances but I doubt
the use case of using an Emacs natively compiled for Windows with tools
in Cygwin is very common.
> And I hope the "Precompiled Emacs/AUCTeX bundle" can compiled with jpeg
> support.
It is compiled with JPEG support. However, the libraries are not
shipped with the bundle because I am not sure about the patent status of
them. You can get them from the site of the GnuWin32 project.
>> I don't have much experience with Cygwin, but perhaps an Emacs compiled
>> for Cygwin would better suit your environment.
>
> Cygwin's Emacs is a console version, or must use with the X server.
> And the version is so out. So I don't use Cygwin's Emacs.
Angelo Graziosi provides binaries of Emacs pretest versions built for
Cygwin at <URL:http://www.webalice.it/angelo.graziosi/Emacs.html>.
--
Ralf