I am using emacs to edit Latex. My work flow is to open the latex file, open a new buffer in a separate window via
C-x 2. Then moving the context into the new windowbuffer via
C-x o, I type
M x shell to open a terminal.
This is all fine but I then need to type in the changing of directories to get to the Latex file, and I do this frequently. So I would like to know if there is a quick way to open the shell in the current directory of the Latex file?