Tassilo Horn <t...@gnu.org> writes:
> Sebastien Vauban <sva-n...@mygooglest.com> writes:
>
>>> Could you try to run that command from the cygwin bash with the values
>>> you have for TeX-shell and TeX-shell-command-option?
>>
>> TeX-shell: "/bin/sh".
>> TeX-shell-command-option: "-c".
>>
>> While the command
>>
>>   pdflatex  -file-line-error   -interaction=nonstopmode "\input" haie-ecm.tex
>>
>> does work from Cygwin, the following does NOT:
>>
>>   /bin/sh -c "pdflatex  -file-line-error   -interaction=nonstopmode "\input" 
>> haie-ecm.tex"
>>
>> and it outputs what you effectively see in the `C-c C-l' buffer.
>
> Aha, there we have the culprit!

Yes, one step forward.

>>> But anyway, the problem seems to be that the command is executed
>>> from the wrong directory as said above.
>>
>> This does not seem to be the preferred explanation, right?
>
> Well, it seems that a command executed with /bin/sh -c in cygwin isn't
> run from the current working directory.  What does
>
>   $ /bin/sh -c pwd
>
> executed in the directory containing you tex master file return?

Though, I can't interpret the following result with the problem at hand.

--8<---------------cut here---------------start------------->8---
> /bin/sh -c pwd
/cygdrive/d/Users/sva/Personal/Lettres
> /bin/sh -c "pwd"
/cygdrive/d/Users/sva/Personal/Lettres
--8<---------------cut here---------------end--------------->8---

I mean, here, it works...  So, any other good idea?

Best regards,
  Seb

-- 
Sebastien Vauban

_______________________________________________
auctex mailing list
auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to