Hi Ikumni, The result of the evaluation is: 1 (#o1, #x1, ?\C-a)
Yes, I do have a cygwin version TeX distribution. But I just double checked. I didn't put the cygwin path in windows PATH, or in emacs exec-path. Thanks, Liyu On Sun, Apr 8, 2018 at 12:36 AM, Ikumi Keita <[email protected]> wrote: > Hi Liyu, > > Thanks, very helpful. Then the auto detection of kpathsea path > delimiter returns wrong result on your environment. > > I guess that you have two different TeX distribution, texlive for w32 > and texlive for cygwin, and the latter is used for auto detection while > the former is used at actually running (pdf)latex. > > Could you please tell me what string is inserted in the buffer when you > evaluate the following form in the *scratch* buffer? > (call-process "kpsewhich" nil > (list standard-output nil) nil > "--expand-path" "{.,..}") > > Regards, > Ikumi Keita > >>>>>> Liyu Gong <[email protected]> writes: >> Ahha, >> This is it. I customized the variable TeX-kpathsea-path-delimiter to >> ";", then the aa.tex file can be compiled smoothly. > >> Thanks, >> Liyu > >> On Sun, Apr 8, 2018 at 12:09 AM, Liyu Gong <[email protected]> wrote: >>> Hi Ikumi, >>> >>> The value is ":" >>> >>> TeX-kpathsea-path-delimiter is a variable defined in ‘tex.el’. >>> Its value is ":" >>> >>> Documentation: >>> Path delimiter for kpathsea output. >>> t means autodetect, nil means kpathsea is disabled. >>> >>> You can customize this variable. >>> >>> Thanks, >>> Liyu >>> >>> On Sun, Apr 8, 2018 at 12:00 AM, Ikumi Keita <[email protected]> wrote: >>>> Hi Liyu, thanks for your cooperation. >>>> >>>>>>>>> Liyu Gong <[email protected]> writes: >>>>> Hi Joe and David, >>>>> My values is: >>>>> .:d:/.emacs.d/elpa/auctex-12.1.1/latex: >>>> >>>>> on the old version which works for the file, the value is: >>>>> .;d:/.emacs.d/elpa/auctex-11.91.0/latex; >>>> >>>>> Note that the path separator are different, for 12.1.1, it is ":", for >>>>> 11.91.0, it is ";". I'm not sure whether it is important. >>>> >>>> Apparently the change I introduced in >>>> https://lists.gnu.org/archive/html/auctex-devel/2017-12/msg00016.html >>>> interferes with `preview-TeX-style-cooked' and it does not use the right >>>> separator. >>>> I'll look into that from now on. >>>> >>>> Could you provide the value of the elisp variable >>>> `TeX-kpathsea-path-delimiter' ? >>>> >>>> Regards, >>>> Ikumi Keita _______________________________________________ bug-auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-auctex
