Sebastien Vauban <[email protected]> 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 is a variable defined in `tex-buf.el'. > │ Its value is "/bin/sh" > │ > │ Documentation: > │ Name of shell used to parse TeX commands. > └──── > > ┌──── > │ TeX-shell-command-option is a variable defined in `tex-buf.el'. > │ Its value is "-c" > │ > │ Documentation: > │ Shell argument indicating that next argument is the command. > └──── > > But I do indeed have a problem, as you can see on > http://screencast.com/t/jSqkHkRCc. > > 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! >> 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? Bye, Tassilo _______________________________________________ auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex
