[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] style hooks and info compilation failures on git auctex
From: |
Sivaram Neelakantan |
Subject: |
Re: [AUCTeX] style hooks and info compilation failures on git auctex |
Date: |
Thu, 28 Nov 2013 09:17:05 +0530 |
User-agent: |
Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (windows-nt) |
On Wed, Nov 27 2013,Tassilo Horn wrote:
[snipped 13 lines]
> export MAKEINFO=/usr/bin/makeinfo
>
> into your shell's init file (e.g., ~/.bashrc, ~/.zshrc).
Yes, that worked. I was able to compile the files.
>> 2. style files are not being picked when I add packages like beamer
>> and listings package to a document.
>
[snipped 7 lines]
> Well, it could mean that auctex doesn't find the style hooks. Did you
> install auctex like stated in the docs?
It works now if I follow your suggestions(I too want to keep it inside
the git cloned folder) on
http://permalink.gmane.org/gmane.emacs.auctex.general/5019
But I promptly ran into another issue.
I did the following
$./autogen.sh
$./configure --prefix=c:/gnu/ --with-emacs=c:/gnu/emacs-24.3/bin/emacs
--with-texmf-dir=c:/MiKTeX2.9/
$ make
It all compiled successfully now but info didn't create the dir index
file.
$cd doc/
$ for x in *.info ; do install-info --test --dir-file=dir $x;done
install-info: No such file or directory for dir
install-info: No such file or directory for dir
Should I do it like this? (ignore the test flag)
$ for x in *.info ; do install-info --test
--dir-file=/cygdrive/c/gnu/emacs-24.3/info/dir $x;done
I now have this in my .Emacs
--8<---------------cut here---------------start------------->8---
;; AUC TeX
(setq TeX-data-directory "C:/gnu/elisp/auctex/")
(add-to-list 'load-path "C:/gnu/elisp/auctex/")
(add-to-list 'load-path "C:/gnu/elisp/auctex/preview/")
(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)
(setq preview-image-type 'png)
;;;;;(require 'tex-site)
(require 'tex-mik)
--8<---------------cut here---------------end--------------->8---
Opening up a tex file, I can see the style files being read and I'm
able to get the package specific commands as part of auctex command list.
I now have a strange issue, that the preview icon is not showing up at
all in the toolbar. The *Message* buffer is filled with lines like
this.
Cannot find image file `c:/gnu/elisp/auctex/preview/auctex/images/prvtex24.xpm'
^^^^^^^
I have no idea why that additional 'auctex' path is getting inserted
after 'preview' when the correct path is
`c:/gnu/elisp/auctex/preview/images/prvtex24.xpm'
Where do I start looking?
sivaram
--