[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] 11.90.2.2017-07-25; TeX-search-files-by-type: No TeX trees
From: |
Sivaram Neelakantan |
Subject: |
Re: [AUCTeX] 11.90.2.2017-07-25; TeX-search-files-by-type: No TeX trees available; configure ‘TeX-tree-roots’ error |
Date: |
Thu, 30 Nov 2017 18:29:19 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (windows-nt) |
On Wed, Nov 29 2017,Ikumi Keita wrote:
> Hi Sivaram, thank you for your reply.
>
>>>>>> Sivaram Neelakantan <address@hidden> writes:
>>> 1. Have you been experiencing that problem since long before? Or did
>>> that begin to occur recently?
>
>> Recently. I use the elpa package system to install and so far had no
>> problems.
>
>>> 2. What are the values of `TeX-kpathsea-path-delimiter',
>>> `TeX-tree-roots', `path-separator' and `system-type' in the buffer
>>> where the error occurs?
>
>> TeX-kpathsea-path-delimiter is :
>> TeX-tree-roots is nil
>> path-separator is ;
>> system-type is 'windows-nt'
>
>>> 3. On cygwin terminal, what does the command
>>> kpsewhich --expand-path='$TEXMF'
>>> output?
>
>> /usr/share/texmf-site:/etc/texmf:/var/lib/texmf:/usr/share/texmf-dist
>
> OK, I see that the primary reason of the error is the incompatibility
> between colon and semicolon.
>
> According to the lines
>> Emacs : GNU Emacs 25.3.1 (x86_64-w64-mingw32)
>> of 2017-09-17
> and
>> system-type is 'windows-nt'
> , you are using Emacs built as native w32 application, so Emacs and
> AUCTeX think that the path separator is semicolon ";" (w32 style).
>
> To the contrary, the TeX distribution you are using is cygwin
> application, which separates the path with colon ":" (unix style)
> according to these lines:
>> And (executable-find "kpsewhich") is "c:/cygwin/bin/kpsewhich.exe"
>
[snipped 23 lines]
In case it was missed, the issue happens *only* while trying to do C-c
C-e to get started with a documentclass skeletal template. Any
existing tex file compiles cleanly within Emacs with Auctex C-c C-c into pdf;
windows-nt Emacs and cygwin texlive.
sivaram
--