On Wed, Aug 15, 2012 at 10:28 PM, ofey
<shane...@gmail.com> wrote:
I also have this problem. I can't believe that spaces in directory names can't be handled by LaTeX.
Why not? It's standard on all systems, I don't know any command-line program that accepts them in the raw, because spaces are used to delimit arguments.
You do need to understand that there is a big difference between what happens when you click on something in a graphical interface like an editor, and what really happens underneath when the resulting command is passed to a shell for execution.
Is there really no way to deal with this other than changing my directory names?
Put the argument in quotes. Then the shell will see it as a single argument and pass it as such to TeX, eg
$ pdflatex "some long directory name with spaces/My Thesis (revised).tex"
///Peter